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 | 326e02a | 2013-11-14 03:16:58 -0800 | [diff] [blame^] | 11 | - qcom,clk-src: nfc clock source ("BBCLK2", "RFCLK3", "GPCLK","GPCLK2" ...) |
Bansidhar Gopalachari | be0e4d9 | 2013-09-19 19:30:36 +0100 | [diff] [blame] | 12 | - qcom,clk-en-gpio: msm gpio clock,used ony if clock source is msm gpio |
Bansidhar Gopalachari | d093f1f | 2013-10-22 20:44:07 -0700 | [diff] [blame] | 13 | - vlogic-supply: LDO for power supply |
Madan Mohan Koyyalamudi | f2e7dcc | 2013-06-18 13:03:26 -0700 | [diff] [blame] | 14 | - interrupt-parent: Should be phandle for the interrupt controller |
| 15 | that services interrupts for this device. |
| 16 | - interrupts: should contain the NFC interrupt. NFC has one read interrupt. |
| 17 | - qcom,clk-gpio: pmic gpio on which bbclk2 signal is coming. |
| 18 | |
Bansidhar Gopalachari | d093f1f | 2013-10-22 20:44:07 -0700 | [diff] [blame] | 19 | LDO example: |
Madan Mohan Koyyalamudi | f2e7dcc | 2013-06-18 13:03:26 -0700 | [diff] [blame] | 20 | |
Bansidhar Gopalachari | d093f1f | 2013-10-22 20:44:07 -0700 | [diff] [blame] | 21 | i2c@f9925000 { /* BLSP-1 QUP-3 */ |
| 22 | nfc-nci@e { |
| 23 | compatible = "qcom,nfc-nci"; |
| 24 | reg = <0x0e>; |
| 25 | qcom,irq-gpio = <&msmgpio 77 0x00>; |
| 26 | qcom,dis-gpio = <&msmgpio 93 0x00>; |
| 27 | qcom,clk-en-gpio = <&msmgpio 78 0x00>; |
| 28 | qcom,clk-src = "GPCLK"; |
| 29 | interrupt-parent = <&msmgpio>; |
| 30 | interrupts = <77 0>; |
| 31 | qcom,clk-gpio = <&msmgpio 75 0x00>; |
| 32 | vlogic-supply = <&pm8110_l14>; |
| 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 | |