aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-handheld-4.4/locomo/0036-ARM-sa1100-populate-codec-platform-data-with-irq.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-handheld-4.4/locomo/0036-ARM-sa1100-populate-codec-platform-data-with-irq.patch')
-rw-r--r--recipes-kernel/linux/linux-handheld-4.4/locomo/0036-ARM-sa1100-populate-codec-platform-data-with-irq.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-handheld-4.4/locomo/0036-ARM-sa1100-populate-codec-platform-data-with-irq.patch b/recipes-kernel/linux/linux-handheld-4.4/locomo/0036-ARM-sa1100-populate-codec-platform-data-with-irq.patch
new file mode 100644
index 0000000..f5fe55a
--- /dev/null
+++ b/recipes-kernel/linux/linux-handheld-4.4/locomo/0036-ARM-sa1100-populate-codec-platform-data-with-irq.patch
@@ -0,0 +1,54 @@
+From 4043423830676e2ad2ebc1f7966a10096293f71b Mon Sep 17 00:00:00 2001
+From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+Date: Sat, 15 Nov 2014 14:19:04 +0300
+Subject: [PATCH 36/44] ARM: sa1100: populate codec platform data with irq
+
+For the sa11x0 boards that provide ucb1x00 codec platform data, provide
+the irq data.
+
+Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+---
+ arch/arm/mach-sa1100/assabet.c | 1 +
+ arch/arm/mach-sa1100/collie.c | 1 +
+ arch/arm/mach-sa1100/simpad.c | 1 +
+ 3 files changed, 3 insertions(+)
+
+diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c
+index d28ecb9..28bb7ca 100644
+--- a/arch/arm/mach-sa1100/assabet.c
++++ b/arch/arm/mach-sa1100/assabet.c
+@@ -309,6 +309,7 @@ static struct ucb1x00_plat_data assabet_ucb1x00_data = {
+ .reset = assabet_ucb1x00_reset,
+ .gpio_base = -1,
+ .can_wakeup = 1,
++ .irq = IRQ_GPIO23,
+ };
+
+ static struct mcp_plat_data assabet_mcp_data = {
+diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c
+index ec6537f..9609be6 100644
+--- a/arch/arm/mach-sa1100/collie.c
++++ b/arch/arm/mach-sa1100/collie.c
+@@ -97,6 +97,7 @@ static struct scoop_pcmcia_config collie_pcmcia_config = {
+
+ static struct ucb1x00_plat_data collie_ucb1x00_data = {
+ .gpio_base = COLLIE_TC35143_GPIO_BASE,
++ .irq = COLLIE_IRQ_GPIO_UCB1x00_IRQ,
+ };
+
+ static struct mcp_plat_data collie_mcp_data = {
+diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c
+index 41e476e..117281c 100644
+--- a/arch/arm/mach-sa1100/simpad.c
++++ b/arch/arm/mach-sa1100/simpad.c
+@@ -184,6 +184,7 @@ static struct resource simpad_flash_resources [] = {
+
+ static struct ucb1x00_plat_data simpad_ucb1x00_data = {
+ .gpio_base = SIMPAD_UCB1X00_GPIO_BASE,
++ .irq = IRQ_GPIO_UCB1300_IRQ,
+ };
+
+ static struct mcp_plat_data simpad_mcp_data = {
+--
+1.9.1
+