meta-quanta: gbs: add gpio-keys configs and fix build warning
- fix comments for kernel build warning
- add gpio-keys configs due to the following commit:
https://gerrit.openbmc-project.xyz/40930
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I3129f96a6d2d45f8d72d7cf4be806126c89f3cc0
diff --git a/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg b/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg
index edd009c..73d52f8 100644
--- a/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg
+++ b/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg
@@ -29,8 +29,10 @@
CONFIG_LEDS_CLASS=y
CONFIG_LEDS_GPIO=y
CONFIG_LEDS_TRIGGERS=y
-CONFIG_LEDS_TRIGGER_TIMER=y // Allow userspace to blink LEDs
-CONFIG_LEDS_TRIGGER_PANIC=y // Blink BMC fault when kernel panics
+# Allow userspace to blink LEDs
+CONFIG_LEDS_TRIGGER_TIMER=y
+# Blink BMC fault when kernel panics
+CONFIG_LEDS_TRIGGER_PANIC=y
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
@@ -108,3 +110,7 @@
CONFIG_MUX_MMIO=y
CONFIG_NPCM7XX_LPC_BPC=y
CONFIG_MTD_PARTITIONED_MASTER=y
+
+# Enable phsophor-gpio-keys feature
+CONFIG_INPUT_EVDEV=y
+CONFIG_KEYBOARD_GPIO=y