Message ID | 20230208172634.404452-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers | show |
Series | [RFT,1/3] ARM: dts: exynos: add "gpios" suffix to wlf,ldo1ena on Midas | expand |
On Wed, 8 Feb 2023 18:26:32 +0100, Krzysztof Kozlowski wrote: > The GPIOs properties should end with "gpios" suffix and Linux gpiolib > already handles both names, so switch to preferred one. > > While touching the lines, replace open-coded GPIO_ACTIVE_HIGH flag. > > Applied, thanks! [1/3] ARM: dts: exynos: add "gpios" suffix to wlf,ldo1ena on Midas https://git.kernel.org/krzk/linux/c/0e06b987d1b7469ff1b4f7a68466859f94e7221a [2/3] ARM: dts: exynos: add "gpios" suffix to wlf,ldo1ena on Arndale https://git.kernel.org/krzk/linux/c/149a903eceb73b8b8af25e12b552c68aa9991802 [3/3] ARM: dts: s5pv210: add "gpios" suffix to wlf,ldo1ena on Aries https://git.kernel.org/krzk/linux/c/a81cc43abd23f2769b044b79f4cf58a9ff6e2201 Best regards,
diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi index d5074fa57142..525f945c4b91 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -653,8 +653,8 @@ wm1811: audio-codec@1a { CPVDD-supply = <&vbatt_reg>; SPKVDD1-supply = <&vbatt_reg>; SPKVDD2-supply = <&vbatt_reg>; - wlf,ldo1ena = <&gpj0 4 0>; - wlf,ldo2ena = <&gpj0 4 0>; + wlf,ldo1ena-gpios = <&gpj0 4 GPIO_ACTIVE_HIGH>; + wlf,ldo2ena-gpios = <&gpj0 4 GPIO_ACTIVE_HIGH>; }; };
The GPIOs properties should end with "gpios" suffix and Linux gpiolib already handles both names, so switch to preferred one. While touching the lines, replace open-coded GPIO_ACTIVE_HIGH flag. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- arch/arm/boot/dts/exynos4412-midas.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)