Thread (23 messages) 23 messages, 6 authors, 2017-01-08

[PATCH v5 3/5] input: Add support for the tm2 touchkey device driver

From: Chanwoo Choi <hidden>
Date: 2017-01-06 21:35:07
Also in: linux-devicetree, linux-input, linux-samsung-soc, lkml

Hi,

2017-01-06 22:43 GMT+09:00 Andi Shyti [off-list ref]:
quoted hunk ↗ jump to hunk
From: Jaechul Lee <redacted>

This patch adds the binding description of the tm2 touchkey
device driver.

Signed-off-by: Jaechul Lee <redacted>
Reviewed-by: Javier Martinez Canillas <redacted>
Reviewed-by: Andi Shyti <redacted>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Andi Shyti <redacted>
---
 .../bindings/input/samsung,tm2-touchkey.txt        | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt
diff --git a/Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt b/Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt
new file mode 100644
index 000000000000..4de1af0f0a37
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt
@@ -0,0 +1,27 @@
+Samsung tm2-touchkey
+
+Required properties:
+- compatible: must be "samsung,tm2-touchkey"
+- reg: I2C address of the chip.
+- interrupt-parent: a phandle for the interrupt controller (see interrupt
+       binding[0]).
+- interrupts: interrupt to which the chip is connected (see interrupt
+       binding[0]).
+- vcc-supply : internal regulator output. 1.8V
+- vdd-supply : power supply for IC 3.3V
+
+[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
+
+Example:
+       &i2c0 {
+               /* ... */
+
+               touchkey at 20 {
+                       compatible = "samsung,tm2-touchkey";
+                       reg = <0x20>;
+                       interrupt-parent = <&gpa3>;
+                       interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
+                       vcc-supply=<&ldo32_reg>;
+                       vdd-supply=<&ldo33_reg>;
+               };
+       };
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>

-- 
Best Regards,
Chanwoo Choi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help