Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6d7c8aa authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

ARM: dts: msm: add WLAN GPIO regulator device for APQ8084 CDP



The WLAN chip found on APQ8084 CDP board is powered via an
external regulator controlled by PMA8084 GPIO 20. This external
regulator outputs a constant 3.3 V.

Change-Id: I3c26588a9198ddccff7e84da6b45c3dc25ad28bc
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 2782cfa4
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -258,6 +258,14 @@
	};

	gpio@d300 { /* GPIO 20 */
		/* WLAN_3p3v_vreg regulator enable */
		qcom,mode = <1>;		/* Digital output */
		qcom,output-type = <0>;		/* CMOS logic */
		qcom,invert = <0>;		/* Output low initially */
		qcom,vin-sel = <0>;		/* VPH_PWR */
		qcom,src-sel = <0>;		/* Constant */
		qcom,out-strength = <1>;	/* Low */
		qcom,master-en = <1>;		/* Enable GPIO */
	};

	gpio@d400 { /* GPIO 21 */
+8 −0
Original line number Diff line number Diff line
@@ -507,4 +507,12 @@
			qcom,ldo-disable;
		};
	};

	wlan_vreg: wlan_vreg {
		compatible = "regulator-fixed";
		regulator-name = "wlan_vreg";
		startup-delay-us = <4000>;
		enable-active-high;
		gpio = <&pma8084_gpios 20 0>;
	};
};