Madan Mohan Koyyalamudi | f2e7dcc | 2013-06-18 13:03:26 -0700 | [diff] [blame] | 1 | Qualcomm QCA199x NFC NCI device |
| 2 | |
| 3 | Near Field Communication (NFC) device is based on NFC Controller Interface (NCI) |
| 4 | |
| 5 | Required properties: |
| 6 | |
| 7 | - compatible: "qcom,nfc-nci" |
| 8 | - reg: NCI i2c slave address. |
| 9 | - qcom,dis-gpio: specific gpio for hardware reset. |
| 10 | - qcom,irq-gpio: specific gpio for read interrupt. |
Houston Hoffman | 17f2dc5 | 2014-01-29 08:15:06 -0800 | [diff] [blame] | 11 | - qcom,clk-src: nfc clock source ("BBCLK2", "RFCLK3", "GPCLK", "GPCLK2", ...) |
| 12 | - qcom,clk-src-gpio: msm gpio clock,used ony if clock source is msm gpio |
| 13 | - qcom,clk-req-gpio: clk-req input gpio for MSM based clocks. |
| 14 | not used for pmic implementation |
Madan Mohan Koyyalamudi | f2e7dcc | 2013-06-18 13:03:26 -0700 | [diff] [blame] | 15 | - interrupt-parent: Should be phandle for the interrupt controller |
| 16 | that services interrupts for this device. |
Houston Hoffman | 17f2dc5 | 2014-01-29 08:15:06 -0800 | [diff] [blame] | 17 | - interrupts: Nfc read interrupt,gpio-clk-req interrupt |
| 18 | - qcom,clk-gpio: pmic or msm gpio on which bbclk2 signal is coming. |
Madan Mohan Koyyalamudi | f2e7dcc | 2013-06-18 13:03:26 -0700 | [diff] [blame] | 19 | |
Houston Hoffman | 4fda2ff | 2014-01-31 18:17:37 -0800 | [diff] [blame^] | 20 | Example: |
Madan Mohan Koyyalamudi | f2e7dcc | 2013-06-18 13:03:26 -0700 | [diff] [blame] | 21 | |
Bansidhar Gopalachari | d093f1f | 2013-10-22 20:44:07 -0700 | [diff] [blame] | 22 | i2c@f9925000 { /* BLSP-1 QUP-3 */ |
| 23 | nfc-nci@e { |
| 24 | compatible = "qcom,nfc-nci"; |
| 25 | reg = <0x0e>; |
| 26 | qcom,irq-gpio = <&msmgpio 77 0x00>; |
| 27 | qcom,dis-gpio = <&msmgpio 93 0x00>; |
Houston Hoffman | 17f2dc5 | 2014-01-29 08:15:06 -0800 | [diff] [blame] | 28 | qcom,clk-src-gpio = <&msmgpio 78 0x00>; |
| 29 | qcom,clk-src = "GPCLK2"; |
Bansidhar Gopalachari | d093f1f | 2013-10-22 20:44:07 -0700 | [diff] [blame] | 30 | interrupt-parent = <&msmgpio>; |
| 31 | interrupts = <77 0>; |
| 32 | qcom,clk-gpio = <&msmgpio 75 0x00>; |
Bansidhar Gopalachari | d093f1f | 2013-10-22 20:44:07 -0700 | [diff] [blame] | 33 | }; |
Madan Mohan Koyyalamudi | f2e7dcc | 2013-06-18 13:03:26 -0700 | [diff] [blame] | 34 | }; |
Bansidhar Gopalachari | d093f1f | 2013-10-22 20:44:07 -0700 | [diff] [blame] | 35 | |