wlreg_on regulator always on will make WiFi module unable to do reset
during rmmod, then the re-insmod will fail.
In stead of make wlreg_on always on, we make vmmc regulator always on
for BT to work properly.
Then WiFi can still function well on wlreg_on regulator enable/disable.
Fixes: commit
f17b5e5be (dts: mx6ul evk: set regulator wlreg_on always on)
Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com>
(cherry picked from commit
e92b727494b10c7a13e9491f55fc07a7ed7622a3)
regulator-name = "wlreg_on";
gpio = <&gpio6 10 0>;
startup-delay-us = <100>;
- regulator-always-on;
enable-active-high;
};
};
bus-width = <1>;
};
+&vcc_sd3 {
+ regulator-always-on;
+};
+
&usdhc3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wifi>;
regulator-name = "wlreg_on";
gpio = <&gpio5 1 0>;
startup-delay-us = <100>;
- regulator-always-on;
enable-active-high;
};
};
};
};
+®_sd1_vmmc {
+ regulator-always-on;
+};
+
&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_wifi>;