summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/Kconfig.keyboard2
-rw-r--r--zephyr/program/intelrvp/mtlrvp/prj.conf1
2 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/Kconfig.keyboard b/zephyr/Kconfig.keyboard
index 505f292e8b..444c20950c 100644
--- a/zephyr/Kconfig.keyboard
+++ b/zephyr/Kconfig.keyboard
@@ -50,6 +50,8 @@ 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.
diff --git a/zephyr/program/intelrvp/mtlrvp/prj.conf b/zephyr/program/intelrvp/mtlrvp/prj.conf
index de1b8e71a5..3b0b0fa32e 100644
--- a/zephyr/program/intelrvp/mtlrvp/prj.conf
+++ b/zephyr/program/intelrvp/mtlrvp/prj.conf
@@ -33,7 +33,6 @@ CONFIG_PLATFORM_EC_IOEX_CCGXXF=y
CONFIG_PLATFORM_EC_IOEX_IT8801=y
#Keyboard from I/O expander
-CONFIG_PLATFORM_EC_KEYBOARD_DISCRETE=y
CONFIG_CROS_KB_RAW_NPCX=n
# Temperature sensors