summaryrefslogtreecommitdiff
path: root/recipes/kexecboot/linux-kexecboot-2.6.32/madc/0011-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-01-11 20:40:48 +0100
committerKoen Kooi <koen@openembedded.org>2010-01-11 20:41:39 +0100
commit8de6a61d4c0492b9b06b75f0ded80156105b3699 (patch)
tree7af1f682ea4c82b9e836d258c4d74fe8821bf8bf /recipes/kexecboot/linux-kexecboot-2.6.32/madc/0011-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch
parente6dd3f754d6bd130ce5a0dbbaad3dc0d06718746 (diff)
linux-kexecboot 2.6.32: add omap3 support
Diffstat (limited to 'recipes/kexecboot/linux-kexecboot-2.6.32/madc/0011-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch')
-rw-r--r--recipes/kexecboot/linux-kexecboot-2.6.32/madc/0011-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes/kexecboot/linux-kexecboot-2.6.32/madc/0011-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch b/recipes/kexecboot/linux-kexecboot-2.6.32/madc/0011-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch
new file mode 100644
index 0000000000..cba908fb3c
--- /dev/null
+++ b/recipes/kexecboot/linux-kexecboot-2.6.32/madc/0011-ARM-OMAP-Add-twl4030-madc-support-to-Beagle.patch
@@ -0,0 +1,35 @@
+From 1a123bfff816abb027985923799c3e448e5cb7b7 Mon Sep 17 00:00:00 2001
+From: Steve Sakoman <steve@sakoman.com>
+Date: Thu, 17 Dec 2009 14:32:36 -0800
+Subject: [PATCH 11/16] ARM: OMAP: Add twl4030 madc support to Beagle
+
+---
+ arch/arm/mach-omap2/board-omap3beagle.c | 5 +++++
+ 1 files changed, 5 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
+index d00b089..955da5b 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle.c
++++ b/arch/arm/mach-omap2/board-omap3beagle.c
+@@ -314,6 +314,10 @@ static struct twl4030_codec_data beagle_codec_data = {
+ .audio = &beagle_audio_data,
+ };
+
++static struct twl4030_madc_platform_data beagle_madc_data = {
++ .irq_line = 1,
++};
++
+ static struct twl4030_platform_data beagle_twldata = {
+ .irq_base = TWL4030_IRQ_BASE,
+ .irq_end = TWL4030_IRQ_END,
+@@ -322,6 +326,7 @@ static struct twl4030_platform_data beagle_twldata = {
+ .usb = &beagle_usb_data,
+ .gpio = &beagle_gpio_data,
+ .codec = &beagle_codec_data,
++ .madc = &beagle_madc_data,
+ .vmmc1 = &beagle_vmmc1,
+ .vsim = &beagle_vsim,
+ .vdac = &beagle_vdac,
+--
+1.6.2.4
+