diff options
author | Simon Glass <sjg@chromium.org> | 2015-10-19 06:17:10 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-11-20 06:13:39 +0300 |
commit | e84421d8f3fe4f4b6956c9045b22729383620442 (patch) | |
tree | 81d2d363b1b9e72e05987bcd673e53e38c43d327 /drivers/input/Kconfig | |
parent | 34ab37eef5a5f8023abc657ab38f7b9fe11c38b3 (diff) | |
download | u-boot-e84421d8f3fe4f4b6956c9045b22729383620442.tar.xz |
dm: input: Create a keyboard uclass
Add a uclass for keyboard input, mirroring the existing stdio methods.
This is enabled by a new CONFIG_DM_KEYBOARD option.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/input/Kconfig')
-rw-r--r-- | drivers/input/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index bb00de7c57..447c4c3d38 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -1,3 +1,12 @@ +config DM_KEYBOARD + bool "Enable driver model keyboard support" + depends on DM + help + This adds a uclass for keyboards and implements keyboard support + using driver model. The API is implemented by keyboard.h and + includes methods to start/stop the device, check for available + input and update LEDs if the keyboard has them. + config CROS_EC_KEYB bool "Enable Chrome OS EC keyboard support" help |