[PATCH v4 4/5] input: tm2-touchkey: Add touchkey driver support for TM2

Krzysztof Kozlowski krzk at kernel.org
Fri Jan 6 04:16:05 PST 2017


On Fri, Jan 06, 2017 at 08:41:13PM +0900, Andi Shyti wrote:
> From: Jaechul Lee <jcsing.lee at samsung.com>
> 
> This patch adds support for the TM2 touch key and led
> functionality.
> 
> The driver interfaces with userspace through an input device and
> reports KEY_PHONE and KEY_BACK event types. LED brightness can be
> controlled by "/sys/class/leds/tm2-touchkey/brightness".
> 
> Signed-off-by: Beomho Seo <beomho.seo at samsung.com>
> Signed-off-by: Jaechul Lee <jcsing.lee at samsung.com>
> Reviewed-by: Javier Martinez Canillas <javier at osg.samsung.com>
> Reviewed-by: Andi Shyti <andi.shyti at samsung.com>
> Signed-off-by: Andi Shyti <andi.shyti at samsung.com>
> ---
>  drivers/input/keyboard/Kconfig        |  11 ++
>  drivers/input/keyboard/Makefile       |   1 +
>  drivers/input/keyboard/tm2-touchkey.c | 280 ++++++++++++++++++++++++++++++++++
>  3 files changed, 292 insertions(+)
>  create mode 100644 drivers/input/keyboard/tm2-touchkey.c
> 

Acked-by: Krzysztof Kozlowski <krzk at kernel.org>

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list