summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2010-10-02 01:35:25 +0200
committerTony Lindgren <tony@atomide.com>2010-10-02 01:35:25 +0200
commite13bb34bd9bbc01dcab9ed1b8adaa6a199ce059c (patch)
treec9ed2517abe9b9e9852459b5362bebcdbe9aa9b6 /arch/arm
parentomap: pandora: add fixed regulator for wlan (diff)
downloadlinux-e13bb34bd9bbc01dcab9ed1b8adaa6a199ce059c.tar.xz
linux-e13bb34bd9bbc01dcab9ed1b8adaa6a199ce059c.zip
omap: pandora: enable twl4030 charger
Add platform data to make use of newly added charging driver. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/board-omap3pandora.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c
index 7c222ba17dea..7192635161c1 100644
--- a/arch/arm/mach-omap2/board-omap3pandora.c
+++ b/arch/arm/mach-omap2/board-omap3pandora.c
@@ -533,6 +533,8 @@ static struct twl4030_codec_data omap3pandora_codec_data = {
.audio = &omap3pandora_audio_data,
};
+static struct twl4030_bci_platform_data pandora_bci_data;
+
static struct twl4030_platform_data omap3pandora_twldata = {
.irq_base = TWL4030_IRQ_BASE,
.irq_end = TWL4030_IRQ_END,
@@ -548,6 +550,7 @@ static struct twl4030_platform_data omap3pandora_twldata = {
.vaux4 = &pandora_vaux4,
.vsim = &pandora_vsim,
.keypad = &pandora_kp_data,
+ .bci = &pandora_bci_data,
};
static struct i2c_board_info __initdata omap3pandora_i2c_boardinfo[] = {