We currently have three keyboard scanning drivers in the code base (npcx, it8xxx2 and mchp_xec, last two yet to be converted to input). These have been largely copy pasted from each other and share a lot of the same structure and code. This PR lays a foundation to start decoupling feature from those drivers into a common code base, and it is heavily inspired by the current regulator common data/config one. Feature wise this only moves the thread struct, stack and initialization to the common code and declares the thread callback as the only API, but the intent is to move as much code as possible in there an only abstract device specific callbacks in the api structures. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
23 lines
566 B
Plaintext
23 lines
566 B
Plaintext
# Copyright 2023 Google LLC
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if INPUT
|
|
|
|
menu "Input drivers"
|
|
|
|
source "drivers/input/Kconfig.cap1203"
|
|
source "drivers/input/Kconfig.cst816s"
|
|
source "drivers/input/Kconfig.ft5336"
|
|
source "drivers/input/Kconfig.gpio_keys"
|
|
source "drivers/input/Kconfig.gpio_qdec"
|
|
source "drivers/input/Kconfig.gt911"
|
|
source "drivers/input/Kconfig.kbd_matrix"
|
|
source "drivers/input/Kconfig.npcx"
|
|
source "drivers/input/Kconfig.sdl"
|
|
source "drivers/input/Kconfig.stmpe811"
|
|
source "drivers/input/Kconfig.xpt2046"
|
|
|
|
endmenu # Input Drivers
|
|
|
|
endif # INPUT
|