Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1549582

[PATCH 1/4] input: Add support for the tm2 touchkey device driver

From Jaechul Lee <jcsing.lee@samsung.com>
Newsgroups linux.kernel
Subject [PATCH 1/4] input: Add support for the tm2 touchkey device driver
Date 2017-01-03 09:00 +0100
Message-ID <sVsaJ-2WV-1@gated-at.bofh.it> (permalink)
References <sVsaJ-2WV-3@gated-at.bofh.it> <sVsaJ-2WV-5@gated-at.bofh.it> <sVsaJ-2WV-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
---
 .../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 0000000..4de1af0
--- /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@20 {
+			compatible = "samsung,tm2-touchkey";
+			reg = <0x20>;
+			interrupt-parent = <&gpa3>;
+			interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
+			vcc-supply=<&ldo32_reg>;
+			vdd-supply=<&ldo33_reg>;
+		};
+	};
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/4] input: Add support for the tm2 touchkey device driver Jaechul Lee <jcsing.lee@samsung.com> - 2017-01-03 09:00 +0100
  Re: [PATCH 1/4] input: Add support for the tm2 touchkey device driver Javier Martinez Canillas <javier@osg.samsung.com> - 2017-01-03 13:30 +0100
  Re: [PATCH 1/4] input: Add support for the tm2 touchkey device driver Rob Herring <robh@kernel.org> - 2017-01-04 15:20 +0100

csiph-web