imx6: backport v5.8 imx6qdl-gw dt patches
[openwrt/openwrt.git] / target / linux / imx6 / patches-5.4 / 010-v5.8-ARM-dts-imx6qdl-gw5910-fix-wlan-regulator.patch
1 From 4792ff641cc8993606013d27d84cda59d8cc76c5 Mon Sep 17 00:00:00 2001
2 From: Tim Harvey <tharvey@gateworks.com>
3 Date: Tue, 12 May 2020 15:02:34 -0700
4 Subject: [PATCH 08/20] ARM: dts: imx6qdl-gw5910: fix wlan regulator
5
6 Connect the wl_reg regulator to usdhc2 such that it can be enabled
7 and disabled as needed. There is no need for this to be always-on.
8
9 Signed-off-by: Tim Harvey <tharvey@gateworks.com>
10 Signed-off-by: Shawn Guo <shawnguo@kernel.org>
11 ---
12 arch/arm/boot/dts/imx6qdl-gw5910.dtsi | 3 +--
13 1 file changed, 1 insertion(+), 2 deletions(-)
14
15 diff --git a/arch/arm/boot/dts/imx6qdl-gw5910.dtsi b/arch/arm/boot/dts/imx6qdl-gw5910.dtsi
16 index b850f8f..0857de5 100644
17 --- a/arch/arm/boot/dts/imx6qdl-gw5910.dtsi
18 +++ b/arch/arm/boot/dts/imx6qdl-gw5910.dtsi
19 @@ -81,7 +81,6 @@
20 enable-active-high;
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
23 - regulator-always-on;
24 };
25 };
26
27 @@ -251,7 +250,7 @@
28 &usdhc2 {
29 pinctrl-names = "default";
30 pinctrl-0 = <&pinctrl_usdhc2>;
31 - vmmc-supply = <&reg_3p3v>;
32 + vmmc-supply = <&reg_wl>;
33 non-removable;
34 bus-width = <4>;
35 status = "okay";
36 --
37 2.7.4
38