diff options
Diffstat (limited to 'zephyr/Kconfig.keyboard')
-rw-r--r-- | zephyr/Kconfig.keyboard | 37 |
1 files changed, 9 insertions, 28 deletions
diff --git a/zephyr/Kconfig.keyboard b/zephyr/Kconfig.keyboard index c425d7af0d..e0f1b2517e 100644 --- a/zephyr/Kconfig.keyboard +++ b/zephyr/Kconfig.keyboard @@ -19,15 +19,6 @@ menuconfig PLATFORM_EC_KEYBOARD if PLATFORM_EC_KEYBOARD -config CROS_EC_KEYSCAN - bool "Devicetree based keyscan map" - default y - depends on DT_HAS_CROS_EC_KEYSCAN_ENABLED - help - Define a keyscan_config data structure based on a the keyscan - configuration found in devicetree. Requires a cros-ec,keyscan node to - be defined. - choice PLATFORM_EC_KEYBOARD_PROTOCOL_MODE prompt "Select the keyboard protocol to use" help @@ -59,8 +50,6 @@ endchoice # PLATFORM_EC_KEYBOARD_PROTOCOL_MODE config PLATFORM_EC_KEYBOARD_DISCRETE bool "Support discrete Keyboard" - default y - depends on $(dt_nodelabel_enabled,kb_discrete) help Enable support for a discrete Keyboard if the platform needs one or the raw Keyboard support is not built-in in the EC. @@ -73,13 +62,6 @@ config PLATFORM_EC_KEYBOARD_DEBUG if the board is currently headless and keyboard functionality is being checked. -config PLATFORM_EC_KEYBOARD_FACTORY_TEST - bool "Support keyboard factory test" - help - Enable support "ectool kbfactorytest" command. - Need to map keyboard connector pins to EC GPIO pins in - keyboard_factory_scan_pins table. - config PLATFORM_EC_KEYBOARD_KEYPAD bool "Support a numeric keypad" help @@ -103,17 +85,17 @@ config PLATFORM_EC_KEYBOARD_VIVALDI config PLATFORM_EC_KEYBOARD_CUSTOMIZATION bool "Support keyboard customization" help - Enable support for customization keyboard, some boards need to custom matrix - because those board keyboard layout doesn't follow a common matrix. + Enable support for customization keyboard, some boards need to custom matrix + because those board keyboard layout doesn't follow a common matrix. - If define, the board layer - needs to implement: - 1. the scancode_set2 and keycap_label array - 2. keyboard_customization.h which is similar to keyboard_config.h + If define, the board layer + needs to implement: + 1. the scancode_set2 and keycap_label array + 2. keyboard_customization.h which is similar to keyboard_config.h - Note that if your board has the standard chromeos keyboard layout other - than the top row, and you are looking only for top row customization, - then you should be looking at overriding board_vivaldi_keybd_config() instead. + Note that if your board has the standard chromeos keyboard layout other + than the top row, and you are looking only for top row customization, + then you should be looking at overriding board_vivaldi_keybd_config() instead. choice PLATFORM_EC_KEYBOARD_PWRBTN_MODE prompt "Select the impact of pressing the power button" @@ -217,7 +199,6 @@ config PLATFORM_EC_PWM_KBLIGHT bool "PWM keyboard backlight" default y depends on DT_HAS_CROS_EC_KBLIGHT_PWM_ENABLED - select PWM select PLATFORM_EC_PWM_HC help Enables a PWM-controlled keyboard backlight controlled by a PWM signal |