[PATCH] Input: add switch event(SW_EXT_PEN_ATTACHED)

2020-10-29 Thread HyungJae Im
: Hyungjae Im --- drivers/input/Kconfig | 12 ++ drivers/input/Makefile | 1 + drivers/input/ext_pen_detect.c | 237 + include/linux/mod_devicetable.h| 2 +- include/uapi/linux/input-event-codes.h | 3 +- 5 files changed

[PATCH] Input: add switch event(SW_COVER_ATTACHED)

2020-10-29 Thread HyungJae Im
We need support to various accessories on the device, some requiring switch does not exist in switch list. So added switch for the following purpose. SW_COVER_ATTACHED is for the checking the cover attached or not on the device. We also added driver that uses such event. Signed-off-by: Hyungjae

RE:(2) [PATCH v2] input: add 2 kind of switch

2020-10-29 Thread HyungJae Im
Hello, This is Hyungjae Im from Samsung Electronics. Let me answer your questions inline. >On Thu, Oct 29, 2020 at 10:27:47PM +0900, HyungJae Im wrote: >> From: "hj2.im"  >> Date: Thu, 29 Oct 2020 22:11:24 +0900 >> Subject: [PATCH v2] input: add 2 kind of switch

[PATCH v2] input: add 2 kind of switch

2020-10-29 Thread HyungJae Im
the cover attached or not on the device. SW_EXT_PEN_ATTACHED is for the checking the external pen attached or not on the device Signed-off-by: Hyungjae Im --- drivers/input/Kconfig | 20 ++ drivers/input/Makefile | 3 + drivers/input/cover_detect.c

[PATCH] FROMLIST: input: add 2 kind of switch

2020-10-20 Thread HyungJae Im
>From ec9859ee01b7bc0e04255971e0fe97348847dab7 Mon Sep 17 00:00:00 2001 From: "hj2.im" Date: Tue, 20 Oct 2020 16:57:04 +0900 Subject: [PATCH] FROMLIST: input: add 2 kind of switch We need support to various accessories on the device, some switch does not exist in switch list. So added switch for

[PATCH] FROMLIST: input: add 2 kind of switch

2020-10-20 Thread HyungJae Im
From ec9859ee01b7bc0e04255971e0fe97348847dab7 Mon Sep 17 00:00:00 2001 From: "hj2.im"  Date: Tue, 20 Oct 2020 16:57:04 +0900 Subject: [PATCH] FROMLIST: input: add 2 kind of switch   We need support to various accessories on the device, some switch does not exist in switch list. So added switch for