Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Linus Walleij and committed by
Dmitry Torokhov
131b3de7 086cebfa

+194
+21
Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt
··· 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 + };
+6
MAINTAINERS
··· 3786 3786 F: drivers/input/touchscreen/cyttsp* 3787 3787 F: include/linux/input/cyttsp.h 3788 3788 3789 + D-LINK DIR-685 TOUCHKEYS DRIVER 3790 + M: Linus Walleij <linus.walleij@linaro.org> 3791 + L: linux-input@vger.kernel.org 3792 + S: Supported 3793 + F: drivers/input/dlink-dir685-touchkeys.c 3794 + 3789 3795 DALLAS/MAXIM DS1685-FAMILY REAL TIME CLOCK 3790 3796 M: Joshua Kinard <kumba@gentoo.org> 3791 3797 S: Maintained
+11
drivers/input/keyboard/Kconfig
··· 178 178 To compile this driver as a module, choose M here: the 179 179 module will be called clps711x-keypad. 180 180 181 + config KEYBOARD_DLINK_DIR685 182 + tristate "D-Link DIR-685 touchkeys support" 183 + depends on I2C 184 + default ARCH_GEMINI 185 + help 186 + If you say yes here you get support for the D-Link DIR-685 187 + touchkeys. 188 + 189 + To compile this driver as a module, choose M here: the 190 + module will be called dlink-dir685-touchkeys. 191 + 181 192 config KEYBOARD_LKKBD 182 193 tristate "DECstation/VAXstation LK201/LK401 keyboard" 183 194 select SERIO
+1
drivers/input/keyboard/Makefile
··· 17 17 obj-$(CONFIG_KEYBOARD_CLPS711X) += clps711x-keypad.o 18 18 obj-$(CONFIG_KEYBOARD_CROS_EC) += cros_ec_keyb.o 19 19 obj-$(CONFIG_KEYBOARD_DAVINCI) += davinci_keyscan.o 20 + obj-$(CONFIG_KEYBOARD_DLINK_DIR685) += dlink-dir685-touchkeys.o 20 21 obj-$(CONFIG_KEYBOARD_EP93XX) += ep93xx_keypad.o 21 22 obj-$(CONFIG_KEYBOARD_GOLDFISH_EVENTS) += goldfish_events.o 22 23 obj-$(CONFIG_KEYBOARD_GPIO) += gpio_keys.o