diff options
author | Mike Turquette <mturquette@ti.com> | 2009-08-05 09:11:10 -0500 |
---|---|---|
committer | Mike Turquette <mturquette@ti.com> | 2009-08-05 09:11:10 -0500 |
commit | 63dffacec4d267d239f789d4812ba390ac1784f5 (patch) | |
tree | 20b540484e4932b44e7b240a9ff93dc8ba7e952f /meta/packages/linux/linux-omap3-pm-git/zoom2/0005-OMAP2-Zoom2-Pass-irqflags-to-8250-driver.patch | |
parent | 5e88a54c71ac4ad701e26886834644c6ade89ae6 (diff) | |
download | openembedded-core-63dffacec4d267d239f789d4812ba390ac1784f5.tar.gz openembedded-core-63dffacec4d267d239f789d4812ba390ac1784f5.tar.bz2 openembedded-core-63dffacec4d267d239f789d4812ba390ac1784f5.tar.xz openembedded-core-63dffacec4d267d239f789d4812ba390ac1784f5.zip |
linux-omap3-pm: OMAP3 kernel recipe to build Kevin Hilman's linux-omap-pm tree
Currently tested on Zoom2 and Beagle board. Please test if you have an OMAP3
board! The source tree for this recipe is the latest and greatest power
management code for OMAP3. You can find it at
http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=summary
Signed-off-by: Mike Turquette <mturquette@ti.com>
Diffstat (limited to 'meta/packages/linux/linux-omap3-pm-git/zoom2/0005-OMAP2-Zoom2-Pass-irqflags-to-8250-driver.patch')
-rw-r--r-- | meta/packages/linux/linux-omap3-pm-git/zoom2/0005-OMAP2-Zoom2-Pass-irqflags-to-8250-driver.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-omap3-pm-git/zoom2/0005-OMAP2-Zoom2-Pass-irqflags-to-8250-driver.patch b/meta/packages/linux/linux-omap3-pm-git/zoom2/0005-OMAP2-Zoom2-Pass-irqflags-to-8250-driver.patch new file mode 100644 index 000000000..a86622bf1 --- /dev/null +++ b/meta/packages/linux/linux-omap3-pm-git/zoom2/0005-OMAP2-Zoom2-Pass-irqflags-to-8250-driver.patch @@ -0,0 +1,41 @@ +From a9551305279caac19d9f7ee121633fd18baa2fab Mon Sep 17 00:00:00 2001 +From: Vikram Pandita <vikram.pandita@ti.com> +Date: Mon, 22 Jun 2009 18:20:04 -0500 +Subject: [PATCH 5/8] OMAP2: Zoom2: Pass irqflags to 8250 driver + +Pass irqflags to 8250 driver from zoom2 board file +Zoom2 has IRQF_TRIGGER_RISING requirement for the 8250 GPIO irq + +This patch is dependent on 8250 driver changes getting accepted upstream: +http://patchwork.kernel.org/patch/31884/ + +Warn: could cause compilation break if above patch is not integrated first + +Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> +--- + arch/arm/mach-omap2/board-zoom-debugboard.c | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c +index bac5c43..f546063 100644 +--- a/arch/arm/mach-omap2/board-zoom-debugboard.c ++++ b/arch/arm/mach-omap2/board-zoom-debugboard.c +@@ -12,6 +12,7 @@ + #include <linux/gpio.h> + #include <linux/serial_8250.h> + #include <linux/smsc911x.h> ++#include <linux/interrupt.h> + + #include <mach/gpmc.h> + +@@ -84,6 +85,7 @@ static struct plat_serial8250_port serial_platform_data[] = { + .mapbase = 0x10000000, + .irq = OMAP_GPIO_IRQ(102), + .flags = UPF_BOOT_AUTOCONF|UPF_IOREMAP|UPF_SHARE_IRQ, ++ .irqflags = IRQF_SHARED | IRQF_TRIGGER_RISING, + .iotype = UPIO_MEM, + .regshift = 1, + .uartclk = QUART_CLK, +-- +1.6.3.2 + |