BeagleBoard_xm + lcd7 + aptina mt9p031 i2c conflict

Hi all,

I finally succeed in figure out how to do it.

First of all, I did not understand anything: if you want to change the I2C address of the tsc2007 touchscreen on the BBToys LDC7 you need to insert the resistors R76/R77 and remove the shunts R78 and R80. These resistors control the two LSB of the I2C address of the tsc2007 - for default both are at 0 so the resulting address is 0x48.

So I did - I removed the R78 shunt and inserted a 47K resistor in the R76 position - not so easy but so I’ve finally changed the I2C address to 0x49.

Then you have to change the address in the kernel: you can do this by intervening in the initialization routine of Beagleboard - /arch/arm/mach-omap2/board-omap3beagle.c. On the patched source of Robert. C. Nelson Kernel at line 756 you can find the declaration of the TSC2007 address and change it from 0x48 to 0x49:

static struct i2c_board_info __initdata beagle_i2c2_bbtoys_ulcd[] = {
{
I2C_BOARD_INFO(“tlc59108”, 0x40),
},
{
I2C_BOARD_INFO(“tsc2007”, 0x49),
.platform_data = &tsc2007_info,
},
};

Marco