diff options
author | Beomho Seo <beomho.seo@samsung.com> | 2013-08-12 21:51:45 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-03-20 17:34:44 +0900 |
commit | 40633b3cd4611ecbe08d368bfc2df592f54edd81 (patch) | |
tree | 15e92b9f06c61a1cc80a8e890413b32692b6437a /Documentation | |
parent | b61f5b33184f16e10dc0f1edb4aad422298a4ab9 (diff) | |
download | linux-3.10-40633b3cd4611ecbe08d368bfc2df592f54edd81.tar.gz linux-3.10-40633b3cd4611ecbe08d368bfc2df592f54edd81.tar.bz2 linux-3.10-40633b3cd4611ecbe08d368bfc2df592f54edd81.zip |
TRATS2: dts: exynos4412-m0.dts: Add mcs-touchkey node
Support melfas 2 touchkey device for TRATS2 board
Adds also the binding documentation file
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/input/mcs-touchkey.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/mcs-touchkey.txt b/Documentation/devicetree/bindings/input/mcs-touchkey.txt new file mode 100644 index 00000000000..545454112a4 --- /dev/null +++ b/Documentation/devicetree/bindings/input/mcs-touchkey.txt @@ -0,0 +1,26 @@ +* mcs_touchkey MELFAS MCS5000/5080 controller + +Required properties: +- compatible: must be "mcs5000_touchkey" or "mcs5080_touchkey" +- reg : I2C address of the chip +- interrupts: interrupt to which the chop is connected +- key_maxval: size of keycode table +- interrupts: interrupt to which the chip is connected +- code: key code for this device + +Example: + + i2c_touch_key: i2c-gpio-0 { + /* ... */ + + touch_key@20 { + compatible = "mcs5080_touchkey"; + reg = <0x20>; + interrupt-patrent = <gpj0>; + key_maxval = <2>; + linux, code = <0x0000009e + 0x000000a9>; + }; + + /* ... */ + }; |