diff options
Diffstat (limited to 'zephyr/drivers/cros_kb_raw/Kconfig')
-rw-r--r-- | zephyr/drivers/cros_kb_raw/Kconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/zephyr/drivers/cros_kb_raw/Kconfig b/zephyr/drivers/cros_kb_raw/Kconfig index a037cdd451..e8b0112c0d 100644 --- a/zephyr/drivers/cros_kb_raw/Kconfig +++ b/zephyr/drivers/cros_kb_raw/Kconfig @@ -2,6 +2,8 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +if PLATFORM_EC_KEYBOARD + menuconfig CROS_KB_RAW_NPCX bool "Nuvoton NPCX raw-keyboard-scan driver for the Zephyr shim" depends on SOC_FAMILY_NPCX @@ -23,7 +25,7 @@ config CROS_KB_RAW_NPCX_KSO_HIGH_DRIVE endif # CROS_KB_RAW_NPCX -menuconfig CROS_KB_RAW_ITE +config CROS_KB_RAW_ITE bool "ITE raw-keyboard-scan driver for the Zephyr shim" depends on SOC_FAMILY_RISCV_ITE default y @@ -32,3 +34,5 @@ menuconfig CROS_KB_RAW_ITE keyboard-scan peripheral in the chip. This is used instead of the kscan interface so we can continue to use most of the existing keyboard-scanning code in ECOS. + +endif # PLATFORM_EC_KEYBOARD
\ No newline at end of file |