arm64: dts: rockchip: fix rk3399-puma vcc5v0-host gpio
Subsystems (2)
Heiko Stuebner
maintainerPATCH 1/1 arm64: dts: rockchip: fix rk3399-puma vcc5v0-host gpio
From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>
The puma vcc5v0_host regulator node currently uses opposite active-values for the enable pin. The gpio-declaration uses active-high while the separate enable-active-low property marks the pin as active low.
While on the kernel side this works ok, other DT users may get confused - as seen with uboot right now.
So bring this in line and make both properties match, similar to the gmac fix.
--- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +1 -1
@@ -101,7 +101,7 @@ vcc3v3_sys: vcc3v3-sys { vcc5v0_host: vcc5v0-host-regulator { compatible = "regulator-fixed"; - gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>; + gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_LOW>; enable-active-low; pinctrl-names = "default"; pinctrl-0 = <&vcc5v0_host_en>;
Signature · 1 line
2.25.1
Quoted 8 lines · Heiko Stuebner
The puma
vcc5v0_hostregulator node currently uses opposite active-values for the enable pin. The gpio-declaration uses active-high while the separate enable-active-low property marks the pin as active low.While on the kernel side this works ok, other DT users may get confused - as seen with uboot right now.
[...]
Applied, thanks!
[1/1] arm64: dts: rockchip: fix rk3399-puma vcc5v0-host gpio
commit: 7a7184f6cfa9279f1a1c10a1845d247d7fad54ff
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>