diff options
| -rw-r--r-- | arch/arm/mach-omap2/board-omap3h1.c | 4 | ||||
| -rw-r--r-- | drivers/power/bq27x00_battery.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-omap3h1.c b/arch/arm/mach-omap2/board-omap3h1.c index 5505b893ddc..6270437b4d2 100644 --- a/arch/arm/mach-omap2/board-omap3h1.c +++ b/arch/arm/mach-omap2/board-omap3h1.c @@ -536,9 +536,13 @@ static int __init omap3_h1_i2c_init(void) omap_register_i2c_bus(1, 400, omap3h1_i2c1_board_info, ARRAY_SIZE(omap3h1_i2c1_board_info)); #ifdef CONFIG_MACH_OMAP3_H1_DVT2 omap_register_i2c_bus(2, 400, omap3h1_i2c2_board_info, ARRAY_SIZE(omap3h1_i2c2_board_info)); +#else + omap_register_i2c_bus(2, 400, NULL, 0); #endif #ifdef CONFIG_MACH_OMAP3_H1_EVT1 omap_register_i2c_bus(3, 400, omap3h1_i2c3_board_info, ARRAY_SIZE(omap3h1_i2c3_board_info)); +#else + omap_register_i2c_bus(3, 400, NULL, 0); #endif return 0; } diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index 98fa8abcae7..7bed61e6229 100644 --- a/drivers/power/bq27x00_battery.c +++ b/drivers/power/bq27x00_battery.c @@ -391,12 +391,12 @@ static __initdata enum power_supply_property bq276xx_battery_props[] = { * Customize these values and, if necessary, add more based on system needs. */ static struct dm_reg bq274xx_dm_regs[] = { - {82, 0, 2, 1000}, /* Qmax */ + {82, 0, 2, 16384}, /* Qmax */ {82, 5, 1, 0x81}, /* Load Select */ - {82, 10, 2, 1340}, /* Design Capacity */ - {82, 12, 2, 3700}, /* Design Energy */ - {82, 16, 2, 3250}, /* Terminate Voltage */ - {82, 27, 2, 110}, /* Taper rate */ + {82, 10, 2, 300}, /* Design Capacity */ + {82, 12, 2, 1140}, /* Design Energy */ + {82, 16, 2, 3090}, /* Terminate Voltage */ + {82, 27, 2, 40}, /* Taper rate */ }; static struct dm_reg bq276xx_dm_regs[] = { |