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

Commit 55914710 authored by Bansidhar Gopalachari's avatar Bansidhar Gopalachari
Browse files

ARM: dts: msm: Add NFC device for msm8610



Add nfc device for 8610 based msm. currently sensor and nfc share
same i2c.

Change-Id: Ib696fbcd122583c241fb195fb83a36c892c92799
Acked-by: default avatarUmesh Jagga <ujagga@qti.qualcomm.com>
Signed-off-by: default avatarBansidhar Gopalachari <bansid@codeaurora.org>
parent 4f55d4d7
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -146,6 +146,17 @@
			capella,ps_conf1_val = <0x0006>;
			capella,ps_conf3_val = <0x3010>;
		};
		nfc-nci@0e {
			compatible = "qcom,nfc-nci";
			reg = <0x0e>;
			qcom,irq-gpio = <&msmgpio 77 0x00>;
			qcom,dis-gpio = <&msmgpio 93 0x00>;
			qcom,clk-en-gpio = <&msmgpio 78 0x00>;
			qcom,clk-src = "GPCLK";
			interrupt-parent = <&msmgpio>;
			interrupts = <77 0>;
			qcom,clk-gpio = <&pm8110_gpios 1 0>;
		};
	};

	gen-vkeys {
@@ -387,6 +398,11 @@

&pm8110_gpios {
	gpio@c000 { /* GPIO 1 */
		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>;
	};

	gpio@c100 { /* GPIO 2 */