Skip to contentSkip to conversation

omap: pandora: enable twl4030 charger

PATCH In review Grazvydas Ignotas 2 participants 3 messages Oct 1, 2010 – Oct 2, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omap: pandora: enable twl4030 charger

Add platform data to make use of newly added charging driver.

---
Now that the charger driver is in power_supply battery.git, I'd love to have it working in next Linus kernel.

 arch/arm/mach-omap2/board-omap3pandora.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-omap3pandora.c +3 -0
index f24528e..ed1dde3 100644
@@ -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[] = {
Signature · 1 line
1.6.3.3
maintainer
#1 lore raw
Quoted 1 line · Grazvydas Ignotas

Add platform data to make use of newly added charging driver.

Thanks, I'll queue this for the upcoming merge window.

Grazvydas (and others too), can you please always Cc linux-arm-kernel mailing list too on your arch/arm/*omap*/ patches, that way I don't need to repost them before merging?

Regards,

Tony

#2 lore raw
Quoted 8 lines · Tony Lindgren
Quoted 1 line · Grazvydas Ignotas

Add platform data to make use of newly added charging driver.

Thanks, I'll queue this for the upcoming merge window.

Grazvydas (and others too), can you please always Cc linux-arm-kernel mailing list too on your arch/arm/*omap*/ patches, that way I don't need to repost them before merging?

ok, will do from now on.