From 33978c4cc438bf4007e09a795ad4ac52ba46b934 Mon Sep 17 00:00:00 2001 From: Yue Ma Date: Tue, 18 Jul 2017 12:38:15 -0700 Subject: [PATCH] ARM: dts: msm: Add fixed regulator for WLAN_EN pin in MSM8996 Since the PMIC GPIO runtime configuration is not feasible using pinctrl framework, add it as fixed regulator for WLAN_EN pin. Signed-off-by: Yue Ma CRs-fixed: 2071634 Change-Id: Ifd08bac34388389c6aced7e450cbf5c6ae37b36d --- arch/arm/boot/dts/qcom/msm8996-regulator.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/qcom/msm8996-regulator.dtsi b/arch/arm/boot/dts/qcom/msm8996-regulator.dtsi index e1921c3baeb3..936dfd4d1cb2 100644 --- a/arch/arm/boot/dts/qcom/msm8996-regulator.dtsi +++ b/arch/arm/boot/dts/qcom/msm8996-regulator.dtsi @@ -1918,6 +1918,13 @@ gpio = <&pm8994_gpios 9 0>; }; + wlan_en_vreg: wlan_en_vreg { + compatible = "regulator-fixed"; + regulator-name = "wlan_en_vreg"; + enable-active-high; + gpio = <&pm8994_gpios 8 0>; + }; + hl7509_en_vreg: hl7509_en_vreg { compatible = "regulator-fixed"; regulator-name = "hl7509_en_vreg";