treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / nfc / st95hf.txt
blob3f373a1e20ff3c03152ec914920a447dec18238f
1 * STMicroelectronics : NFC Transceiver ST95HF
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.
9 Required properties:
10 ===================
11 - reg: Address of SPI slave "ST95HF transceiver" on SPI master bus.
13 - compatible: should be "st,st95hf" for ST95HF NFC transceiver
15 - spi-max-frequency: Max. operating SPI frequency for ST95HF
16         transceiver.
18 - enable-gpio: GPIO line to enable ST95HF transceiver.
20 - interrupts : Standard way to define ST95HF transceiver's out
21         interrupt.
23 Optional property:
24 =================
25 - st95hfvin-supply : This is an optional property. It contains a
26         phandle to ST95HF transceiver's regulator supply node in DT.
28 Example:
29 =======
30 spi@9840000 {
31         reg = <0x9840000 0x110>;
32         #address-cells = <1>;
33         #size-cells = <0>;
34         cs-gpios = <&pio0 4>;
36         st95hf@0{
37                 reg = <0>;
38                 compatible = "st,st95hf";
39                 spi-max-frequency = <1000000>;
40                 enable-gpio = <&pio4 0>;
41                 interrupt-parent = <&pio0>;
42                 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
43         };