[meta-xilinx] [PATCH 02/20] linux/config: Add keyboard gpio cfg and scc

Jason Wu jason.wu.misc at gmail.com
Mon Apr 11 06:23:07 PDT 2016


Signed-off-by: Jason Wu <jason.wu.misc at gmail.com>
---
 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..c2a4417
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-common/features/gpio/kb-gpio.cfg
@@ -0,0 +1,3 @@
+# Keyboard GPIO support
+CONFIG_KEYBOARD_GPIO
+CONFIG_KEYBOARD_GPIO_POLLED
\ No newline at end of file
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