diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2017-06-05 17:48:44 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-06-05 18:35:32 -0400 |
| commit | 131b3de7016b73fca1aba8ffb528217ac95b2505 (patch) | |
| tree | c9c6135e399c76c577c2d548443aa639330da398 /Documentation/devicetree/bindings/input | |
| parent | 086cebfa72fa22e1e49f251d33fe1ceaab4af2d4 (diff) | |
Input: add D-Link DIR-685 touchkeys driver
This adds support for the D-Link DIR-685 touchkeys found in the
router with this name.
The vendor code calles this a "touchpad" but we are registering
it here under its real name.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input')
| -rw-r--r-- | Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt b/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt new file mode 100644 index 000000000000..10dec1c57abf --- /dev/null +++ b/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | * D-Link DIR-685 Touchkeys | ||
| 2 | |||
| 3 | This is a I2C one-off touchkey controller based on the Cypress Semiconductor | ||
| 4 | CY8C214 MCU with some firmware in its internal 8KB flash. The circuit | ||
| 5 | board inside the router is named E119921. | ||
| 6 | |||
| 7 | The touchkey device node should be placed inside an I2C bus node. | ||
| 8 | |||
| 9 | Required properties: | ||
| 10 | - compatible: must be "dlink,dir685-touchkeys" | ||
| 11 | - reg: the I2C address of the touchkeys | ||
| 12 | - interrupts: reference to the interrupt number | ||
| 13 | |||
| 14 | Example: | ||
| 15 | |||
| 16 | touchkeys@26 { | ||
| 17 | compatible = "dlink,dir685-touchkeys"; | ||
| 18 | reg = <0x26>; | ||
| 19 | interrupt-parent = <&gpio0>; | ||
| 20 | interrupts = <17 IRQ_TYPE_EDGE_FALLING>; | ||
| 21 | }; | ||
