[meta-xilinx] [PATCH 02/19 v2] linux/config: Add keyboard gpio cfg and scc
Jason Wu
jason.wu.misc at gmail.com
Wed Apr 27 00:45:56 PDT 2016
Signed-off-by: Jason Wu <jason.wu.misc at gmail.com>
---
V2:
use =y to be clear
---
recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.cfg | 3 +++
recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.scc | 4 ++++
2 files changed, 7 insertions(+)
create mode 100644 recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.cfg
create mode 100644 recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.scc
diff --git a/recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.cfg b/recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.cfg
new file mode 100644
index 0000000..bbe6ec5
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.cfg
@@ -0,0 +1,3 @@
+# Keyboard GPIO support
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_GPIO_POLLED=y
diff --git a/recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.scc b/recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.scc
new file mode 100644
index 0000000..34632d9
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable keyboard GPIO support"
+define KFEATURE_COMPATIBILITY board
+
+kconfig hardware kb-gpio.cfg
\ No newline at end of file
--
1.9.1
More information about the meta-xilinx
mailing list