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

Commit 599d595e authored by Ke Liu's avatar Ke Liu
Browse files

ARM: dts: msm: configure PMIC GPIOs and MPPs for msmzirc



Include the PMD9635 device tree file within the msmzirc device tree file
since msmzirc boards utilize PMD9635 chips.

Also, in msmzirc, PMIC GPIO 4 is designed to be configured for input with
1.5uA pullup. Hence configure GPIO 4 in both CDP and MTP device tree files
for msmzirc.

Change-Id: I9857c889604c39e4c7867947888a82519f9588fa
Signed-off-by: default avatarKe Liu <keliu@codeaurora.org>
parent cc9ba103
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
@@ -50,3 +50,48 @@
		qcom,charging-disabled;
	};
};

&pmd9635_gpios {
	gpio@c000 { /* GPIO 1 */
	};

	gpio@c100 { /* GPIO 2 */
	};

	gpio@c200 { /* GPIO 3 */
	};

	gpio@c300 { /* GPIO 4 */
		status = "ok";
		qcom,mode = <0>;	/* Digital input */
		qcom,pull = <1>;	/* Pull up 1.5 uA */
		qcom,vin-sel = <2>;	/* PMD9635 LDO 6 = 1.8 V */
		qcom,master-en = <1>;	/* Enable GPIO */
	};

	gpio@c400 { /* GPIO 5 */
	};

	gpio@c500 { /* GPIO 6 */
	};
};

&pmd9635_mpps {
	mpp@a000 { /* MPP 1 */
	};

	mpp@a100 { /* MPP 2 */
	};

	mpp@a200 { /* MPP 3 */
	};

	mpp@a300 { /* MPP 4 */
	};

	mpp@a400 { /* MPP 5 */
	};

	mpp@a500 { /* MPP 6 */
	};
};
+45 −0
Original line number Diff line number Diff line
@@ -49,3 +49,48 @@
		regulator-name = "smb1357_otg_supply";
	};
};

&pmd9635_gpios {
	gpio@c000 { /* GPIO 1 */
	};

	gpio@c100 { /* GPIO 2 */
	};

	gpio@c200 { /* GPIO 3 */
	};

	gpio@c300 { /* GPIO 4 */
		status = "ok";
		qcom,mode = <0>;	/* Digital input */
		qcom,pull = <1>;	/* Pull up 1.5 uA */
		qcom,vin-sel = <2>;	/* PMD9635 LDO 6 = 1.8 V */
		qcom,master-en = <1>;	/* Enable GPIO */
	};

	gpio@c400 { /* GPIO 5 */
	};

	gpio@c500 { /* GPIO 6 */
	};
};

&pmd9635_mpps {
	mpp@a000 { /* MPP 1 */
	};

	mpp@a100 { /* MPP 2 */
	};

	mpp@a200 { /* MPP 3 */
	};

	mpp@a300 { /* MPP 4 */
	};

	mpp@a400 { /* MPP 5 */
	};

	mpp@a500 { /* MPP 6 */
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -766,4 +766,5 @@
};

#include "msm-pmd9635-rpm-regulator.dtsi"
#include "msm-pmd9635.dtsi"
#include "msmzirc-regulator.dtsi"