diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-08-20 18:26:02 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-08-20 22:23:39 +0300 |
commit | c04c674fadeb4a8e6522fc838d4620f7cfd4c621 (patch) | |
tree | 39a753081f21fd69630a235a228e3eaa47c9f554 /Documentation/devicetree/bindings/net/nfc | |
parent | 025a0cb8380b7100d39fb426db9192b6c59595dc (diff) | |
download | linux-c04c674fadeb4a8e6522fc838d4620f7cfd4c621.tar.xz |
nfc: s3fwrn5: Add driver for Samsung S3FWRN5 NFC Chip
Add driver for Samsung S3FWRN5 NFC controller.
S3FWRN5 is using NCI protocol and I2C communication interface.
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings/net/nfc')
-rw-r--r-- | Documentation/devicetree/bindings/net/nfc/s3fwrn5.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/nfc/s3fwrn5.txt b/Documentation/devicetree/bindings/net/nfc/s3fwrn5.txt new file mode 100644 index 000000000000..fb1e75facf1b --- /dev/null +++ b/Documentation/devicetree/bindings/net/nfc/s3fwrn5.txt @@ -0,0 +1,27 @@ +* Samsung S3FWRN5 NCI NFC Controller + +Required properties: +- compatible: Should be "samsung,s3fwrn5-i2c". +- reg: address on the bus +- interrupt-parent: phandle for the interrupt gpio controller +- interrupts: GPIO interrupt to which the chip is connected +- s3fwrn5,en-gpios: Output GPIO pin used for enabling/disabling the chip +- s3fwrn5,fw-gpios: Output GPIO pin used to enter firmware mode and + sleep/wakeup control + +Example: + +&hsi2c_4 { + status = "okay"; + s3fwrn5@27 { + compatible = "samsung,s3fwrn5-i2c"; + + reg = <0x27>; + + interrupt-parent = <&gpa1>; + interrupts = <3 0 0>; + + s3fwrn5,en-gpios = <&gpf1 4 0>; + s3fwrn5,fw-gpios = <&gpj0 2 0>; + }; +}; |