aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-yocto-3.14/c7x0/corgi-gpio_keys.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2016-01-12 22:34:17 +0100
committerAndrea Adami <andrea.adami@gmail.com>2016-01-19 22:44:01 +0100
commitd9edb47c98812d9617e5132b32202f5463ec0796 (patch)
tree3bb5ca3a94d6d4fc8f10acc6465fa07b2d824c55 /recipes-kernel/linux/linux-yocto-3.14/c7x0/corgi-gpio_keys.patch
parent1dc06f845b2ac531f64d3154ea6280f9243fc865 (diff)
downloadmeta-handheld-krogoth.tar.gz
meta-handheld-krogoth.tar.bz2
meta-handheld-krogoth.zip
linux-yocto_3.14: remove stale recipekrogoth
Kernel 3.14 and 3.19 have been removed from oe-core with commit 6814521d0b88ee66442158ed70e77cbdd35d4782 Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'recipes-kernel/linux/linux-yocto-3.14/c7x0/corgi-gpio_keys.patch')
-rw-r--r--recipes-kernel/linux/linux-yocto-3.14/c7x0/corgi-gpio_keys.patch80
1 files changed, 0 insertions, 80 deletions
diff --git a/recipes-kernel/linux/linux-yocto-3.14/c7x0/corgi-gpio_keys.patch b/recipes-kernel/linux/linux-yocto-3.14/c7x0/corgi-gpio_keys.patch
deleted file mode 100644
index 3f809e1..0000000
--- a/recipes-kernel/linux/linux-yocto-3.14/c7x0/corgi-gpio_keys.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From dc5dfab4ed18f0756f304dc5699b5743ddf56f90 Mon Sep 17 00:00:00 2001
-From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-Date: Tue, 25 Feb 2014 15:59:19 +0400
-Subject: [PATCH] ARM: pxa: add gpio keys information
-
-Switching from corgikbd to matrixkbd corgi has lost support for few switches.
-Readd them through gpio-keys-polled device (-polled, since scoop does
-not provide IRQ for GPIO).
-
-Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
-
-diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c
-index f162f1b..57d6054 100644
---- a/arch/arm/mach-pxa/corgi.c
-+++ b/arch/arm/mach-pxa/corgi.c
-@@ -32,6 +32,7 @@
- #include <linux/spi/pxa2xx_spi.h>
- #include <linux/mtd/sharpsl.h>
- #include <linux/input/matrix_keypad.h>
-+#include <linux/gpio_keys.h>
- #include <linux/module.h>
- #include <video/w100fb.h>
-
-@@ -405,6 +406,44 @@ static struct platform_device corgikbd_device = {
- },
- };
-
-+static struct gpio_keys_button corgi_gpio_keys[] = {
-+ {
-+ .type = EV_SW,
-+ .code = SW_LID,
-+ .gpio = CORGI_GPIO_SWA,
-+ .desc = "Lid close switch",
-+ .debounce_interval = 500,
-+ },
-+ {
-+ .type = EV_SW,
-+ .code = SW_TABLET_MODE,
-+ .gpio = CORGI_GPIO_SWB,
-+ .desc = "Tablet mode switch",
-+ .debounce_interval = 500,
-+ },
-+ {
-+ .type = EV_SW,
-+ .code = SW_HEADPHONE_INSERT,
-+ .gpio = CORGI_GPIO_AK_INT,
-+ .desc = "HeadPhone insert",
-+ .debounce_interval = 500,
-+ },
-+};
-+
-+static struct gpio_keys_platform_data corgi_gpio_keys_platform_data = {
-+ .buttons = corgi_gpio_keys,
-+ .nbuttons = ARRAY_SIZE(corgi_gpio_keys),
-+ .poll_interval = 250,
-+};
-+
-+static struct platform_device corgi_gpio_keys_device = {
-+ .name = "gpio-keys-polled",
-+ .id = -1,
-+ .dev = {
-+ .platform_data = &corgi_gpio_keys_platform_data,
-+ },
-+};
-+
- /*
- * Corgi LEDs
- */
-@@ -646,6 +685,7 @@ static struct platform_device sharpsl_rom_device = {
- static struct platform_device *devices[] __initdata = {
- &corgiscoop_device,
- &corgifb_device,
-+ &corgi_gpio_keys_device,
- &corgikbd_device,
- &corgiled_device,
- &corgi_audio_device,
---
-cgit v0.10.1
-