diff mbox series

ARM: dts: stm32: Fix AV96 WLAN regulator gpio property

Message ID 20221021100057.10759-1-marex@denx.de (mailing list archive)
State New, archived
Headers show
Series ARM: dts: stm32: Fix AV96 WLAN regulator gpio property | expand

Commit Message

Marek Vasut Oct. 21, 2022, 10 a.m. UTC
The WLAN regulator uses 'gpios' property instead of 'gpio' to specify
regulator enable GPIO. While the former is also currently handled by
the Linux kernel regulator-fixed driver, the later is the correct one
per DT bindings. Update the DT to use the later.

Fixes: 7dd5cbba42c93 ("ARM: dts: stm32: Enable WiFi on AV96")
Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
---
 arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexandre TORGUE Oct. 24, 2022, 9:27 a.m. UTC | #1
Hi Marek

On 10/21/22 12:00, Marek Vasut wrote:
> The WLAN regulator uses 'gpios' property instead of 'gpio' to specify
> regulator enable GPIO. While the former is also currently handled by
> the Linux kernel regulator-fixed driver, the later is the correct one
> per DT bindings. Update the DT to use the later.
> 
> Fixes: 7dd5cbba42c93 ("ARM: dts: stm32: Enable WiFi on AV96")
> Signed-off-by: Marek Vasut <marex@denx.de>
> ---
> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
> Cc: Patrice Chotard <patrice.chotard@foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
> Cc: linux-stm32@st-md-mailman.stormreply.com
> To: linux-arm-kernel@lists.infradead.org
> ---
>   arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi
> index 305f9ae2fcebf..50af4a27d6be4 100644
> --- a/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi
> +++ b/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi
> @@ -99,7 +99,7 @@ wlan_pwr: regulator-wlan {
>   		regulator-min-microvolt = <3300000>;
>   		regulator-max-microvolt = <3300000>;
>   
> -		gpios = <&gpioz 3 GPIO_ACTIVE_HIGH>;
> +		gpio = <&gpioz 3 GPIO_ACTIVE_HIGH>;
>   		enable-active-high;
>   	};
>   };

Applied on stm32-next.

Alex
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi b/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi
index 305f9ae2fcebf..50af4a27d6be4 100644
--- a/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi
+++ b/arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi
@@ -99,7 +99,7 @@  wlan_pwr: regulator-wlan {
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
 
-		gpios = <&gpioz 3 GPIO_ACTIVE_HIGH>;
+		gpio = <&gpioz 3 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 	};
 };