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

Commit 37553131 authored by Bansidhar Gopalachari's avatar Bansidhar Gopalachari Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add NFC device for 8974 fluid



Add nfc nci device to the device tree for 8974 fluid and nfcc is
dependant on i2c BLSP1 QUP6. The data is represented in
device tree format and pass by the driver using of framework API

Change-Id: Ib03a7dbb550729d1810f7a070a49c8e1a9619971
Acked-by: default avatarUmesh Jagga <ujagga@qti.qualcomm.com>
Signed-off-by: default avatarBansidhar Gopalachari <bansid@codeaurora.org>
parent 60e6ad84
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -133,6 +133,20 @@
		};
	};

	i2c@f9928000 { /* BLSP1 QUP6 */
		nfc-nci@e {
			compatible = "qcom,nfc-nci";
			reg = <0x0e>;
			qcom,irq-gpio = <&msmgpio 59 0x00>;
			qcom,dis-gpio = <&msmgpio 13 0x00>;
			qcom,clk-src = "BBCLK2";
			qcom,clk-en-gpio = <&msmgpio 0 0x00>;
			interrupt-parent = <&msmgpio>;
			interrupts = <59 0>;
			qcom,clk-gpio = <&pm8941_gpios 32 0>;
		};
	};

	i2c@f9967000 {
		sii8334@72 {
			compatible = "qcom,mhl-sii8334";
@@ -607,6 +621,11 @@
	};

	gpio@df00 { /* GPIO 32 */
		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@e000 { /* GPIO 33 */
+16 −0
Original line number Diff line number Diff line
@@ -2334,6 +2334,22 @@
		compatible = "qcom,bcl";
	};

	i2c@f9928000 { /* BLSP-1 QUP-6 */
		cell-index = <3>;
		compatible = "qcom,i2c-qup";
		reg = <0xf9928000 0x1000>;
		#address-cells = <1>;
		#size-cells = <0>;
		reg-names = "qup_phys_addr";
		interrupts = <0 100 0>;
		interrupt-names = "qup_err_intr";
		qcom,i2c-bus-freq = <400000>;
		qcom,i2c-src-freq = <19200000>;
		qcom,scl-gpio = <&msmgpio 30 0>;
		qcom,sda-gpio = <&msmgpio 29 0>;
		qcom,master-id = <86>;
	};

	qcom,ssm {
		compatible = "qcom,ssm";
		qcom,channel-name = "SSM_RTR";