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

Commit d3880c2e authored by Shuo Yan's avatar Shuo Yan Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add PM8916 GPIO/MPP config tables for QRD SKUI



Add PWM configuration tables in msm8916-qrd-skui.dtsi
and NFC configuration tables in msm8916-qrd.dtsi in order to
fulfill the PM8916 GPIO2 and MPP4 config requirements on SKUI.

Change-Id: Iacab4da7c41c251b972e3d74109e55ac602eed56
Signed-off-by: default avatarShuo Yan <shuoy@codeaurora.org>
parent 3ae6d56f
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -28,6 +28,17 @@
	};
};

&pm8916_mpps {
	mpp@a300 { /* MPP 4 */
		/* Backlight PWM */
		qcom,mode = <1>;		/* Digital output */
		qcom,invert = <8>;		/* DTEST1 */
		qcom,src-sel = <0>;		/* Constant */
		qcom,vin-sel = <0>;		/* VPH_PWR */
		qcom,master-en = <1>;		/* Enable MPP */
	};
};

&mdss_mdp {
	qcom,mdss-pref-prim-intf = "dsi";
};
+11 −0
Original line number Diff line number Diff line
@@ -104,6 +104,17 @@
	};
};

&pm8916_gpios {
	gpio@c100 { /* GPIO 2 */
		/* NFC_CLK_REQ */
		qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
		qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
		qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
		qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
		qcom,master-en = <1>;
	};
};

&sdhc_1 {
	vdd-supply = <&pm8916_l8>;
	qcom,vdd-voltage-level = <2900000 2900000>;