omap3: pandora: add missing i2c3 board_info
Subsystems (3)
PATCH 1/1 omap3: pandora: add missing i2c3 board_info
This will allow BQ27500 fuel gauge to function.
Signed-off-by Grazvydas Ignotas <[email protected]>
---
BQ27500 support got in during this merge window, so would be nice to see this in some -rc.
arch/arm/mach-omap2/board-omap3pandora.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/board-omap3pandora.c +9 -1
@@ -459,12 +459,20 @@ static struct i2c_board_info __initdata omap3pandora_i2c_boardinfo[] = { }, }; +static struct i2c_board_info __initdata omap3pandora_i2c3_boardinfo[] = { + { +I2C_BOARD_INFO ("bq27500" ,0x55 ), + .flags =I2C_CLIENT_WAKE , + }, +}; +static int __init omap3pandora_i2c_init (void ) {omap_register_i2c_bus (1 ,2600 , omap3pandora_i2c_boardinfo,ARRAY_SIZE (omap3pandora_i2c_boardinfo));/* i2c2 pins are not connected */ -omap_register_i2c_bus (3 ,100 ,NULL ,0 ); +omap_register_i2c_bus (3 ,100 , omap3pandora_i2c3_boardinfo, +ARRAY_SIZE (omap3pandora_i2c3_boardinfo));return 0 ; }
Signature · 1 line
1.6.3.3
Tony Lindgren
maintainerPATCH 1/1 omap3: pandora: add missing i2c3 board_info
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.
Branch in linux-omap: omap-fixes
Initial commit ID (Likely to change): d47a0b100c5386f12bcdef9071bbd5b3f653e755
PatchWorks
http://patchwork.kernel.org/patch/84535/
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=d47a0b100c5386f12bcdef9071bbd5b3f653e755