Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: ifc6410: Add pwrseq support for WLAN

This patch adds pwrseq for WLAN which resets the WLAN just before the
SDIO bus is up.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>

authored by

Srinivas Kandagatla and committed by
Andy Gross
03f00be5 be87cd0e

+28
+28
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
··· 1 1 #include "qcom-apq8064-v2.0.dtsi" 2 2 #include <dt-bindings/gpio/gpio.h> 3 + #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 3 4 4 5 / { 5 6 model = "Qualcomm APQ8064/IFC6410"; ··· 13 12 14 13 chosen { 15 14 stdout-path = "serial0:115200n8"; 15 + }; 16 + 17 + pwrseq { 18 + compatible = "simple-bus"; 19 + 20 + sdcc4_pwrseq: sdcc4_pwrseq { 21 + pinctrl-names = "default"; 22 + pinctrl-0 = <&wlan_default_gpios>; 23 + compatible = "mmc-pwrseq-simple"; 24 + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; 25 + }; 16 26 }; 17 27 18 28 soc { ··· 219 207 status = "okay"; 220 208 }; 221 209 210 + qcom,ssbi@500000 { 211 + pmic@0 { 212 + gpio@150 { 213 + wlan_default_gpios: wlan-gpios { 214 + pios { 215 + pins = "gpio43"; 216 + function = "normal"; 217 + bias-disable; 218 + power-source = <PM8921_GPIO_S4>; 219 + }; 220 + }; 221 + }; 222 + }; 223 + }; 224 + 222 225 amba { 223 226 /* eMMC */ 224 227 sdcc1: sdcc@12400000 { ··· 255 228 status = "okay"; 256 229 vmmc-supply = <&ext_3p3v>; 257 230 vqmmc-supply = <&pm8921_lvs1>; 231 + mmc-pwrseq = <&sdcc4_pwrseq>; 258 232 }; 259 233 }; 260 234 };