@@ -687,10 +687,23 @@ static struct i2c_board_info __initdata cm_t35_i2c_boardinfo[] = {
},
};
+#define DS2786_RSNS 18 /* Constant sense resistor value */
+
+static int cm_t35_ds2786_rsns_val = DS2786_RSNS;
+
+static struct i2c_board_info __initdata cm_t35_i2c3_boardinfo[] = {
+ {
+ I2C_BOARD_INFO("ds2786", 0x36),
+ .platform_data = &cm_t35_ds2786_rsns_val,
+ },
+};
+
static void __init cm_t35_init_i2c(void)
{
omap_register_i2c_bus(1, 2600, cm_t35_i2c_boardinfo,
ARRAY_SIZE(cm_t35_i2c_boardinfo));
+ omap_register_i2c_bus(3, 400, cm_t35_i2c3_boardinfo,
+ ARRAY_SIZE(cm_t35_i2c3_boardinfo));
}
static struct omap_board_config_kernel cm_t35_config[] __initdata = {