diff options
author | Samuel Jiang <chyishian.jiang@gmail.com> | 2019-08-16 04:35:25 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-08-28 15:07:55 +0300 |
commit | 2e155a0ef168be64b656dd90fd6c5188b75c3e72 (patch) | |
tree | f281caa97b9b13eb9a010ec93d878d6582320661 /meta-phosphor | |
parent | 173965e73ed4d3712aa5eec2c688d2b8e25a98c5 (diff) | |
download | openbmc-2e155a0ef168be64b656dd90fd6c5188b75c3e72.tar.xz |
meta-phosphor: add raspberrypi folder: add linux-kernel gpio-key patch
Add raspberrypi folder in meta-phosphor match phosphor related
package.
Add phosphor-gpio-keys cfg for build phosphor related kernel.
(From meta-phosphor rev: c9cf073a884e3f13622e986b74eb6c295f119d00)
Change-Id: Idd40ba2fdaa79b004b44c043e99373ca3397131c
Signed-off-by: Samuel Jiang <chyishian.jiang@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor')
3 files changed, 13 insertions, 0 deletions
diff --git a/meta-phosphor/raspberrypi/recipes-kernel/linux/linux-raspberrypi/phosphor-gpio-keys.cfg b/meta-phosphor/raspberrypi/recipes-kernel/linux/linux-raspberrypi/phosphor-gpio-keys.cfg new file mode 100644 index 0000000000..f5c01bed72 --- /dev/null +++ b/meta-phosphor/raspberrypi/recipes-kernel/linux/linux-raspberrypi/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/raspberrypi/recipes-kernel/linux/linux-raspberrypi/phosphor-gpio-keys.scc b/meta-phosphor/raspberrypi/recipes-kernel/linux/linux-raspberrypi/phosphor-gpio-keys.scc new file mode 100644 index 0000000000..78961af7a2 --- /dev/null +++ b/meta-phosphor/raspberrypi/recipes-kernel/linux/linux-raspberrypi/phosphor-gpio-keys.scc @@ -0,0 +1,2 @@ +define KFEATURE_DESCRIPTION "Enable gpio-keys" +kconf non-hardware phosphor-gpio-keys.cfg diff --git a/meta-phosphor/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/meta-phosphor/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend new file mode 100644 index 0000000000..71e208cd4a --- /dev/null +++ b/meta-phosphor/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend @@ -0,0 +1,4 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://phosphor-gpio-keys.scc" +SRC_URI += "file://phosphor-gpio-keys.cfg" |