Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / net / nfc / st95hf.txt
1 * STMicroelectronics : NFC Transceiver ST95HF
2
3 ST NFC Transceiver is required to attach with SPI bus.
4 ST95HF node should be defined in DT as SPI slave device of SPI
5 master with which ST95HF transceiver is physically connected.
6 The properties defined below are required to be the part of DT
7 to include ST95HF transceiver into the platform.
8
9 Required properties:
10 ===================
11 - reg: Address of SPI slave "ST95HF transceiver" on SPI master bus.
12
13 - compatible: should be "st,st95hf" for ST95HF NFC transceiver
14
15 - spi-max-frequency: Max. operating SPI frequency for ST95HF
16         transceiver.
17
18 - enable-gpio: GPIO line to enable ST95HF transceiver.
19
20 - interrupt-parent : Standard way to specify the controller to which
21         ST95HF transceiver's interrupt is routed.
22
23 - interrupts : Standard way to define ST95HF transceiver's out
24         interrupt.
25
26 Optional property:
27 =================
28 - st95hfvin-supply : This is an optional property. It contains a
29         phandle to ST95HF transceiver's regulator supply node in DT.
30
31 Example:
32 =======
33 spi@9840000 {
34         reg = <0x9840000 0x110>;
35         #address-cells = <1>;
36         #size-cells = <0>;
37         cs-gpios = <&pio0 4>;
38
39         st95hf@0{
40                 reg = <0>;
41                 compatible = "st,st95hf";
42                 spi-max-frequency = <1000000>;
43                 enable-gpio = <&pio4 0>;
44                 interrupt-parent = <&pio0>;
45                 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
46         };
47
48 };