summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-kernel/linux
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-04-11 22:42:05 -0400
committerPatrick Williams <patrick@stwcx.xyz>2017-04-27 02:34:45 +0000
commit683ea6d09860fcfabed1030389fb577795b0fdfa (patch)
tree3c9b92cd42b0646addd55e9fd65e382426227db3 /meta-phosphor/common/recipes-kernel/linux
parent6c00e1211ebe3ea9883f468e1ba93bbd2000df2f (diff)
downloadtalos-openbmc-683ea6d09860fcfabed1030389fb577795b0fdfa.tar.gz
talos-openbmc-683ea6d09860fcfabed1030389fb577795b0fdfa.zip
Add gpio-keys kernel feature
Add a gpio-keys feature to be used with KERNEL_FEATURES. Change-Id: I0f96b842a55b38eb573ad894f79ef4621b97e839 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-kernel/linux')
-rw-r--r--meta-phosphor/common/recipes-kernel/linux/linux-obmc.inc2
-rw-r--r--meta-phosphor/common/recipes-kernel/linux/linux-obmc/phosphor-gpio-keys.cfg7
-rw-r--r--meta-phosphor/common/recipes-kernel/linux/linux-obmc/phosphor-gpio-keys.scc2
3 files changed, 11 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-kernel/linux/linux-obmc.inc b/meta-phosphor/common/recipes-kernel/linux/linux-obmc.inc
index fc4a4f9c5..c26f4afb2 100644
--- a/meta-phosphor/common/recipes-kernel/linux/linux-obmc.inc
+++ b/meta-phosphor/common/recipes-kernel/linux/linux-obmc.inc
@@ -8,6 +8,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
KSRC ?= "git://github.com/openbmc/linux;protocol=git;branch=${KBRANCH}"
SRC_URI = "${KSRC}"
+SRC_URI += "file://phosphor-gpio-keys.scc"
+SRC_URI += "file://phosphor-gpio-keys.cfg"
SRC_URI += "file://v3-0001-drivers-fsi-Increase-delay-before-sampling-input-.patch"
LINUX_VERSION_EXTENSION ?= "-${SRCREV}"
diff --git a/meta-phosphor/common/recipes-kernel/linux/linux-obmc/phosphor-gpio-keys.cfg b/meta-phosphor/common/recipes-kernel/linux/linux-obmc/phosphor-gpio-keys.cfg
new file mode 100644
index 000000000..f5c01bed7
--- /dev/null
+++ b/meta-phosphor/common/recipes-kernel/linux/linux-obmc/phosphor-gpio-keys.cfg
@@ -0,0 +1,7 @@
+CONFIG_INPUT_KEYBOARD=y
+# CONFIG_INPUT_LEDS is not set
+# CONFIG_INPUT_MOUSDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_KEYBOARD_ATKBD is not set
+CONFIG_KEYBOARD_GPIO=y
+# CONFIG_INPUT_MOUSE is not set
diff --git a/meta-phosphor/common/recipes-kernel/linux/linux-obmc/phosphor-gpio-keys.scc b/meta-phosphor/common/recipes-kernel/linux/linux-obmc/phosphor-gpio-keys.scc
new file mode 100644
index 000000000..78961af7a
--- /dev/null
+++ b/meta-phosphor/common/recipes-kernel/linux/linux-obmc/phosphor-gpio-keys.scc
@@ -0,0 +1,2 @@
+define KFEATURE_DESCRIPTION "Enable gpio-keys"
+kconf non-hardware phosphor-gpio-keys.cfg
OpenPOWER on IntegriCloud