mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
b98278be7b
Creating multiple entries of "config FOO" often gives us bad experiences. In this case, we should specify "default X86" as platforms that want this keyboard by default. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Marek Vasut <marex@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
26 lines
1,000 B
Text
26 lines
1,000 B
Text
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
|
|
Most ARM Chromebooks use an EC to provide access to the keyboard.
|
|
Messages are used to request key scans from the EC and these are
|
|
then decoded into keys by this driver.
|
|
|
|
config I8042_KEYB
|
|
bool "Enable Intel i8042 keyboard support"
|
|
depends on DM_KEYBOARD
|
|
default X86
|
|
help
|
|
This adds a driver for the i8042 keyboard controller, allowing the
|
|
keyboard to be used on devices which support this controller. The
|
|
driver handles English and German keyboards - set the environment
|
|
variable 'keymap' to "de" to select German. Keyboard repeat is
|
|
handled by the keyboard itself.
|