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

Commit 0d3d0357 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add pmd9650 gpio nodes for SDXNIGHTJAR"

parents fef5600e c1f60989
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
#include<dt-bindings/pinctrl/qcom,pmic-gpio.h>

&soc {
	tlmm_pinmux: pinctrl@1000000 {
		compatible = "qcom,sdxnightjar-pinctrl";
@@ -1333,3 +1335,29 @@
		};
	};
};

&pmd9650_gpios {
	gpio@c100 { /* GPIO 2 - VADC */
		/* GPIO should be left off, and in the high
		 * impedance state when the pin is used with the VADC
		 */
		pins = "gpio2";
		function = "normal";
		bias-high-impedance;   /* DISABLE GPIO */
	};

	gpio@c200 { /* GPIO 3 - LED */
		pins = "gpio3";
		function = "normal";
		bias-high-impedance;   /* DISABLE GPIO */
	};

	gpio@c400 { /* GPIO 5 - USB_ID */
		pins = "gpio5";
		function = "normal";
		input-enable;        /* Digital input */
		bias-pull-up;
		qcom,pull-up-strength = <PMIC_GPIO_PULL_UP_1P5>;	/* Pull up 1.5 uA */
		power-source = <1>;     /* 1.8 V */
	};
};
+3 −0
Original line number Diff line number Diff line
@@ -426,4 +426,7 @@
	};
};

#include "pmd9650.dtsi"
#include "pmd9650-rpm-regulator.dtsi"
#include "sdxnightjar-regulator.dtsi"
#include "sdxnightjar-pinctrl.dtsi"