Hi
I want to reset I2C bus of DM6467 whenever there is timeout during i2c data transfer. in new kernel 3.9 there is support added using
static void i2c_recover_bus(struct davinci_i2c_dev *dev) function. in drivers/i2c/busses/i2c-davinci.c file
But when i am using this function for my DM6467 device at that time it is giving me error of sdl and scl pin number.
Here is some code snippet from kernel 3.9
1 ) arch/arm/mach-davinci/board-dm646x-evm.c
static struct davinci_i2c_platform_data i2c_pdata = {
.bus_freq = 100 /* kHz */,
.bus_delay = 0 /* usec */,
};
2) arch/arm/mach-davinci/board-dm355-evm.c
static struct davinci_i2c_platform_data i2c_pdata = {
.bus_freq = 20 /* kHz */,
.bus_delay = 100 /* usec */,
.sda_pin = 44,
.scl_pin = 43,
};
3) arch/arm/mach-davinci/board-dm355-evm.c
static struct davinci_i2c_platform_data i2c_pdata = {
.bus_freq = 400 /* kHz */,
.bus_delay = 0 /* usec */,
.sda_pin = 15,
.scl_pin = 14,
};
Here can any one give me some idea about sda_pin and scl_pin for DM646x processor , in kernel code there is already sda_pin and scl_pin for dm644x and dm355-evm board .
Please provide me some information about sda_pin and scl_pin.
Thanks in Advanced,
-regards,
Dhvani Patel