Hello
i have a custom board based on ARM AM3352; i have an i2c bus to drive EEPROM M24128, and IO expander PCF8575.
1) What must i do to be able to address these chips under linux ?
2) Is there available code example for that ?
3) should i in arch\arm\mach-omap2\board-am335xevm.c make a call to i2c1_init
4) is there procedure in linux to discover automatically i2c device ?
5) are there other ways to drive these device than to use the following functions : open("/dev/i2c-1",O_RDWR)); ioctl(dev_i2c,I2C_SLAVE,eepromAddr); write(dev_i2c, i2c_ptr, 1);...
best regards
Christophe