Skip to content

Commit

Permalink
Add drivers/input/ modifications
Browse files Browse the repository at this point in the history
Signed-off-by: ShivamKumarJha <[email protected]>
  • Loading branch information
ShivamKumarJha committed Mar 30, 2021
1 parent 8b32b65 commit c2ac887
Show file tree
Hide file tree
Showing 43 changed files with 16,439 additions and 4 deletions.
16 changes: 16 additions & 0 deletions drivers/input/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,20 @@ config INPUT_KEYCOMBO
---help---
Say Y here if you want to take action when some keys are pressed;

config LAST_TOUCH_EVENTS
bool "Last touch events"
default n
depends on INPUT
---help---
Say Y here if you want to get last touch events.

config TOUCH_COUNT_DUMP
bool "Touch cout dump"
default n
depends on LAST_TOUCH_EVENTS
---help---
Say Y here if you want to get last touch events.

comment "Input Device Drivers"

source "drivers/input/keyboard/Kconfig"
Expand All @@ -215,6 +229,8 @@ source "drivers/input/sensors/smi130/Kconfig"

source "drivers/input/rmi4/Kconfig"

source "drivers/input/fingerprint/Kconfig"

endif

menu "Hardware I/O ports"
Expand Down
1 change: 1 addition & 0 deletions drivers/input/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ obj-$(CONFIG_INPUT_MOUSE) += mouse/
obj-$(CONFIG_INPUT_JOYSTICK) += joystick/
obj-$(CONFIG_INPUT_TABLET) += tablet/
obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/
obj-$(CONFIG_INPUT_FINGERPRINT) += fingerprint/
obj-$(CONFIG_INPUT_MISC) += misc/

obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o
Expand Down
20 changes: 20 additions & 0 deletions drivers/input/fingerprint/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Fingerprint driver configuration
#
menuconfig INPUT_FINGERPRINT
bool "Fingerprints"
help
Say Y here, and a list of supported fingerprints will be displayed.
This option doesn't affect the kernel.

If unsure, say Y.

if INPUT_FINGERPRINT

source "drivers/input/fingerprint/fpc_tee/Kconfig"
source "drivers/input/fingerprint/fpc_fod/Kconfig"
source "drivers/input/fingerprint/goodix_ta/Kconfig"
source "drivers/input/fingerprint/goodix_fod/Kconfig"
source "drivers/input/fingerprint/fs_tee/Kconfig"

endif
11 changes: 11 additions & 0 deletions drivers/input/fingerprint/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# Makefile for the fingerprint drivers.
#

# Each configuration option enables a list of files.

obj-$(CONFIG_FINGERPRINT_GOODIX_TA) += goodix_ta/
obj-$(CONFIG_FINGERPRINT_FPC_FOD) += fpc_fod/
obj-$(CONFIG_FINGERPRINT_FPC_TEE) += fpc_tee/
obj-$(CONFIG_FINGERPRINT_GOODIX_FOD) += goodix_fod/
obj-$(CONFIG_FINGERPRINT_FS_TEE) += fs_tee/
11 changes: 11 additions & 0 deletions drivers/input/fingerprint/fpc_fod/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# FPC sensors
#

config FINGERPRINT_FPC_FOD
tristate "FPC1020 fingerprint sensor IRQ support"
depends on INPUT_FINGERPRINT
help
If you say yes here you get IRQ support for the FPC1020 family
of fingerprint sensors from Fingerprint Cards (FPC).

1 change: 1 addition & 0 deletions drivers/input/fingerprint/fpc_fod/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_FINGERPRINT_FPC_FOD) += fpc1020_platform_tee.o
Loading

0 comments on commit c2ac887

Please sign in to comment.