aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-yocto-3.14/h1940/0010-ARM-s3c24xx-h1940-add-IR-switch.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/h1940/0010-ARM-s3c24xx-h1940-add-IR-switch.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/h1940/0010-ARM-s3c24xx-h1940-add-IR-switch.patch')
-rw-r--r--recipes-kernel/linux/linux-yocto-3.14/h1940/0010-ARM-s3c24xx-h1940-add-IR-switch.patch73
1 files changed, 0 insertions, 73 deletions
diff --git a/recipes-kernel/linux/linux-yocto-3.14/h1940/0010-ARM-s3c24xx-h1940-add-IR-switch.patch b/recipes-kernel/linux/linux-yocto-3.14/h1940/0010-ARM-s3c24xx-h1940-add-IR-switch.patch
deleted file mode 100644
index 851f0f1..0000000
--- a/recipes-kernel/linux/linux-yocto-3.14/h1940/0010-ARM-s3c24xx-h1940-add-IR-switch.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-From 79a09055ff091d60bdedff17150d1ca15233db44 Mon Sep 17 00:00:00 2001
-From: Vasily Khoruzhick <anarsoul@gmail.com>
-Date: Sun, 18 Dec 2011 11:29:30 +0300
-Subject: [PATCH 10/17] ARM: s3c24xx: h1940: add IR switch
-
-Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
----
- arch/arm/mach-s3c24xx/mach-h1940.c | 31 +++++++++++++++++++++++++++++++
- 1 file changed, 31 insertions(+)
-
-diff --git a/arch/arm/mach-s3c24xx/mach-h1940.c b/arch/arm/mach-s3c24xx/mach-h1940.c
-index fb2d5a1..df0e89f 100644
---- a/arch/arm/mach-s3c24xx/mach-h1940.c
-+++ b/arch/arm/mach-s3c24xx/mach-h1940.c
-@@ -718,6 +718,29 @@ static struct gpiod_lookup_table bt_gpio_lookup = {
- },
- };
-
-+static struct rfkill_gpio_platform_data h1940_ir_rfkill_pdata = {
-+ .name = "h1940-ir",
-+ .reset_gpio = -EINVAL,
-+ .shutdown_gpio = S3C2410_GPB(9),
-+ .type = RFKILL_TYPE_IR,
-+};
-+
-+static struct platform_device h1940_irda = {
-+ .name = "rfkill_gpio",
-+ .id = 1,
-+ .dev = {
-+ .platform_data = &h1940_ir_rfkill_pdata,
-+ },
-+};
-+
-+static struct gpiod_lookup_table ir_gpio_lookup = {
-+ .dev_id = "h1940-ir",
-+ .table = {
-+ GPIO_LOOKUP_IDX("GPIOB", 9, NULL, 0, GPIO_ACTIVE_LOW),
-+ { },
-+ },
-+};
-+
- static struct platform_device *h1940_devices[] __initdata = {
- &h1940_dev_buttons,
- &s3c_device_ohci,
-@@ -739,6 +762,7 @@ static struct platform_device *h1940_devices[] __initdata = {
- &power_supply,
- &h1940_battery,
- &h1940_bluetooth,
-+ &h1940_irda,
- };
-
- static void __init h1940_map_io(void)
-@@ -819,10 +843,17 @@ static void __init h1940_init(void)
- s3c_gpio_cfgpin(S3C2410_GPH(3), S3C2410_GPH3_RXD0);
- s3c_gpio_setpull(S3C2410_GPH(3), S3C_GPIO_PULL_NONE);
-
-+ /* Configure IR serial port GPIOs */
-+ s3c_gpio_cfgpin(S3C2410_GPH(6), S3C2410_GPH6_TXD2);
-+ s3c_gpio_setpull(S3C2410_GPH(6), S3C_GPIO_PULL_NONE);
-+ s3c_gpio_cfgpin(S3C2410_GPH(7), S3C2410_GPH7_RXD2);
-+ s3c_gpio_setpull(S3C2410_GPH(7), S3C_GPIO_PULL_NONE);
-+
- gpio_request(S3C2410_GPC(9), "BT reset");
- gpio_direction_output(S3C2410_GPC(9), 1);
-
- gpiod_add_lookup_table(&bt_gpio_lookup);
-+ gpiod_add_lookup_table(&ir_gpio_lookup);
- platform_add_devices(h1940_devices, ARRAY_SIZE(h1940_devices));
-
- gpio_request(S3C2410_GPA(1), "Red LED blink");
---
-1.9.3
-