[PATCH v2 09/14] arm64: dts: rockchip: Remove 'enable-active-low' from two boards
Dragan Simic
dsimic at manjaro.org
Wed Oct 9 00:26:30 PDT 2024
Hello Heiko,
On 2024-10-08 22:39, Heiko Stuebner wrote:
> The 'enable-active-low' property is not a valid, because it is the
s/is not a valid/is not valid/
> default behaviour of the fixed regulator.
>
> Only 'enable-active-high' is valid, and when this property is absent
> the fixed regulator will act as active low by default.
>
> Both the rk3588-orange-pi-5 and the Wolfvision pf5 io expander overlay
> smuggled those enable-active-low properties in, so remove them to
> make dtbscheck happier.
>
> Fixes: 28799a7734a0 ("arm64: dts: rockchip: add wolfvision pf5 io
> expander board")
> Cc: Michael Riesch <michael.riesch at wolfvision.net>
> Fixes: b6bc755d806e ("arm64: dts: rockchip: Add Orange Pi 5")
> Cc: Muhammed Efe Cetin <efectn at 6tel.net>
>
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
Looking good to me, thanks for the patch. According to the bindings
in Documentation/devicetree/bindings/regulator/fixed-regulator.yaml,
only "enable-active-high" is supported.
Reviewed-by: Dragan Simic <dsimic at manjaro.org>
> ---
> .../boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso | 1 -
> arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git
> a/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso
> b/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso
> index ebcaeafc3800..fa61633aea15 100644
> ---
> a/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso
> +++
> b/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso
> @@ -49,7 +49,6 @@ vcc1v8_eth: vcc1v8-eth-regulator {
>
> vcc3v3_eth: vcc3v3-eth-regulator {
> compatible = "regulator-fixed";
> - enable-active-low;
> gpio = <&gpio0 RK_PC0 GPIO_ACTIVE_LOW>;
> pinctrl-names = "default";
> pinctrl-0 = <&vcc3v3_eth_enn>;
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts
> b/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts
> index feea6b20a6bf..6b77be643249 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts
> @@ -71,7 +71,6 @@ vcc5v0_sys: vcc5v0-sys-regulator {
>
> vcc_3v3_sd_s0: vcc-3v3-sd-s0-regulator {
> compatible = "regulator-fixed";
> - enable-active-low;
> gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_LOW>;
> regulator-name = "vcc_3v3_sd_s0";
> regulator-boot-on;
More information about the Linux-rockchip
mailing list