Skip to content

Commit a714e00

Browse files
author
Gaurav Singhal
committed
NFC: Add snapshot of NQxxx NFC driver
Add the latest version of NQxxx NFC driver from 'commit c0fe29227d2d ("NFC: Fix interrupt state")' Updating latest NFC driver to avoid known issues. Change-Id: I5325a1309720305232ee0ecd37e127a21b100f50 Signed-off-by: Gaurav Singhal <[email protected]>
1 parent baa7004 commit a714e00

File tree

7 files changed

+528
-121
lines changed

7 files changed

+528
-121
lines changed

Documentation/devicetree/bindings/nfc/nq-nci.txt

+7-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Required properties:
88
- reg: NCI i2c slave address.
99
- qcom,nq-ven: specific gpio for hardware reset.
1010
- qcom,nq-irq: specific gpio for read interrupt.
11+
- qcom,nq-firm: gpio for firmware download.
12+
- qcom,nq-clkreq: gpio for clock.
1113
- interrupt-parent: Should be phandle for the interrupt controller
1214
that services interrupts for this device.
1315
- interrupts: Nfc read interrupt,gpio-clk-req interrupt
@@ -22,22 +24,24 @@ Optional properties:
2224

2325
- pinctrl-names, pinctrl-0, pincntrl-1: references to our pincntrl settings
2426
- clocks, clock-names: must contain the NQxxxx's core clock.
27+
- qcom,nq-esepwr: gpio to control power of secure element.
2528

2629
Example:
2730

2831
nq-nci@2b {
2932
compatible = "qcom,nq-nci";
3033
reg = <0x2b>;
31-
qcom,irq-gpio = <&msm_gpio 29 0x00>;
32-
qcom,en-gpio = <&msm_gpio 30 0x00>;
34+
qcom,nq-irq = <&msm_gpio 29 0x00>;
35+
qcom,nq-ven = <&msm_gpio 30 0x00>;
36+
qcom,nq-clkreq = <&pm8916_gpios 2 0>;
37+
qcom,nq-firm = <&msm_gpio 16 0x00>;
3338
qcom,clk-src = "BBCLK2";
3439
interrupt-parent = <&msm_gpio>;
3540
interrupts = <29 0>;
3641
interrupt-names = "nfc_irq";
3742
pinctrl-names = "nfc_active","nfc_suspend";
3843
pinctrl-0 = <&nfc_int_active &nfc_disable_active>;
3944
pinctrl-1 = <&nfc_int_suspend &nfc_disable_suspend>;
40-
qcom,clk-gpio = <&pm8916_gpios 2 0>;
4145
clocks = <&clock_rpm clk_bb_clk2_pin>;
4246
clock-names = "ref_clk";
4347
};

0 commit comments

Comments
 (0)