[PATCH] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers
bshtein at yahoo.com
Wed May 21 02:42:31 EST 2008
I am currently doing port for already working PQ2 board (MPC8270) from "ppc" to "powerpc" architecture.
When initial port took place, the driver i2c-cpm that appeared on linuxppc list in the beginning of 2006 was used,
and it is working perfectly all this time.
However, when I am trying to use the driver in your patch, I encountered the following problem :
Your driver loads and probes perfectly well, however any attempt to read anything from the bus times out.
Receive never takes place. To make things works, If a user-space program is interrupted by ctrl-c while waiting for data, the driver enters an endless loop, that effectively kills the kernel.
can you suggest any solution for this problem?
I, also, suggest moving BRG setup values to the device tree instead of hard-coding them into the driver.
More information about the Linuxppc-dev