diff options
author | Sangwon Jee <jeesw@melfas.com> | 2016-10-07 19:19:33 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-10-07 19:30:13 -0400 |
commit | e687abfe9dc1ea7fc7a51258e3da76d06851b64d (patch) | |
tree | 3ebbda8c99db6a9cde5ca6a583a941167071506c /Documentation/devicetree | |
parent | 62837b3c1a95535d1a287c9c8c6563bbd8d37033 (diff) |
Input: melfas_mip4 - add devicetree binding documentations
Add devicetree binding documentations.
Signed-off-by: Sangwon Jee <jeesw@melfas.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt | 21 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/vendor-prefixes.txt | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt b/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt new file mode 100644 index 000000000000..7b8944c2cb31 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | * MELFAS MIP4 Touchscreen | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: must be "melfas,mip4_ts" | ||
5 | - reg: I2C slave address of the chip (0x48 or 0x34) | ||
6 | - interrupt-parent: interrupt controller to which the chip is connected | ||
7 | - interrupts: interrupt to which the chip is connected | ||
8 | |||
9 | Optional properties: | ||
10 | - ce-gpios: GPIO connected to the CE (chip enable) pin of the chip | ||
11 | |||
12 | Example: | ||
13 | i2c@00000000 { | ||
14 | touchscreen: melfas_mip4@48 { | ||
15 | compatible = "melfas,mip4_ts"; | ||
16 | reg = <0x48>; | ||
17 | interrupt-parent = <&gpio>; | ||
18 | interrupts = <0 IRQ_TYPE_EDGE_FALLING>; | ||
19 | ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; | ||
20 | }; | ||
21 | }; | ||
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 99029cfed459..1457fd4d035f 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt | |||
@@ -143,6 +143,7 @@ marvell Marvell Technology Group Ltd. | |||
143 | maxim Maxim Integrated Products | 143 | maxim Maxim Integrated Products |
144 | mediatek MediaTek Inc. | 144 | mediatek MediaTek Inc. |
145 | melexis Melexis N.V. | 145 | melexis Melexis N.V. |
146 | melfas MELFAS Inc. | ||
146 | merrii Merrii Technology Co., Ltd. | 147 | merrii Merrii Technology Co., Ltd. |
147 | micrel Micrel Inc. | 148 | micrel Micrel Inc. |
148 | microchip Microchip Technology Inc. | 149 | microchip Microchip Technology Inc. |