summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorHari Nagalla <hnagalla@ti.com>2009-10-15 07:25:18 -0500
committerMargarita Olaya Cabrera <x0080101@ti.com>2009-11-06 12:21:47 -0600
commit627473f549e30a8457bdd940e8111bc97a0329ce (patch)
tree2aa3302a689d8d3b04bfd183339df26a6c567749 /arch/arm/mach-omap2
parentd6dae93bcc9fbf42abf9088640dae84b8a3d5a2b (diff)
ARM: OMAP4: Phoenix power connection changes on Zebu and SDC wakeup
On Zebu, we do not have Phoenix Power on GPIO and INT2 irq from Phoenix so we need to remove the power on logic for Zebu. Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/board-4430sdp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index edecaf87d058..8bd09be7b945 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -462,8 +462,15 @@ static struct regulator_init_data sdp4430_vusb = {
};
static struct twl_codec_data twl6030_codec = {
+#ifdef CONFIG_OMAP4_SUDO_ROMCODE
.audpwron_gpio = 127,
.naudint_irq = INT_44XX_SYS_NIRQ2,
+#else
+ /* provide GPIO number above the valid value, to mean there is no GPIO connected,
+ likewise do not provide any valid IRQ number */
+ .audpwron_gpio = 1024,
+ .naudint_irq = 0,
+#endif
};
static struct twl_platform_data sdp4430_twldata = {