Skip to contentSkip to conversation

omap3: Add platform data for the twl4030_codec MFD on IGEP v2

PATCH Superseded Enric Balletbo i Serra 2 participants 4 messages Dec 14, 2009 – Feb 5, 2010

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 omap3: Add platform data for the twl4030_codec MFD on IGEP v2

From: Enric Balletbo i Serra <[email protected]>

---
 arch/arm/mach-omap2/board-igep0020.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-igep0020.c +10 -0
index 44239e3..221b497 100644
@@ -173,12 +173,22 @@ static void __init igep2_init_irq(void)
 	omap_gpio_init();
 }
 
+static struct twl4030_codec_audio_data igep2_audio_data = {
+	.audio_mclk = 26000000,
+};
+
+static struct twl4030_codec_data igep2_codec_data = {
+	.audio_mclk = 26000000,
+	.audio = &igep2_audio_data,
+};
+
 static struct twl4030_platform_data igep2_twldata = {
 	.irq_base	= TWL4030_IRQ_BASE,
 	.irq_end	= TWL4030_IRQ_END,
 
 	/* platform_data for children goes here */
 	.usb		= &igep2_usb_data,
+	.codec		= &igep2_codec_data,
 	.gpio		= &igep2_gpio_data,
 	.vmmc1          = &igep2_vmmc1,
 
Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 2/3 omap3: Fix typo on IGEP v2 board

From: Enric Balletbo i Serra <[email protected]>

---
 arch/arm/mach-omap2/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/Kconfig +1 -1
index 10eafa7..8726638 100644
@@ -139,7 +139,7 @@ config MACH_CM_T35
 	select OMAP_MUX
 
 config MACH_IGEP0020
-	bool "IGEP0020"
+	bool "IGEP v2 board"
 	depends on ARCH_OMAP3 && ARCH_OMAP34XX
 	select OMAP_PACKAGE_CBB
 
Signature · 1 line
1.5.4.3
#2 lore raw

PATCH 3/3 omap3: Add platform init code for EHCI driver on IGEP v2

From: Enric Balletbo i Serra <[email protected]>

---
 arch/arm/mach-omap2/board-igep0020.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-igep0020.c +12 -0
index 221b497..76f0208 100644
@@ -213,6 +213,17 @@ static int __init igep2_i2c_init(void)
 	return 0;
 }
 
+static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = {
+	.port_mode[0] = EHCI_HCD_OMAP_MODE_UNKNOWN,
+	.port_mode[1] = EHCI_HCD_OMAP_MODE_PHY,
+	.port_mode[2] = EHCI_HCD_OMAP_MODE_UNKNOWN,
+
+	.phy_reset = true,
+	.reset_gpio_port[0] = -EINVAL,
+	.reset_gpio_port[1] = IGEP2_GPIO_USBH_NRESET,
+	.reset_gpio_port[2] = -EINVAL,
+};
+
 #ifdef CONFIG_OMAP_MUX
 static struct omap_board_mux board_mux[] __initdata = {
 	{ .reg_offset = OMAP_MUX_TERMINATOR },
@@ -227,6 +238,7 @@ static void __init igep2_init(void)
 	igep2_i2c_init();
 	omap_serial_init();
 	usb_musb_init();
+	usb_ehci_init(&ehci_pdata);
 
 	igep2_init_smsc911x();
 
Signature · 1 line
1.5.4.3
maintainer
#3 lore raw

PATCH 1/3 omap3: Add platform data for the twl4030_codec MFD on

In reply to Enric Balletbo i Serra

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: for-next

Initial commit ID (Likely to change): e72cab3cc5a7e2fb9808552bec63c6ebbd0c4809

PatchWorks
http://patchwork.kernel.org/patch/67321/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=e72cab3cc5a7e2fb9808552bec63c6ebbd0c4809