[PATCH] powerpc: i2c-mpc: make speed registers configurable via FDT
Wolfgang Grandegger
wg at grandegger.com
Fri Aug 1 06:28:55 EST 2008
Timur Tabi wrote:
> Wolfgang Grandegger wrote:
>
>> I'm a bit confused. The frequency of the I2C source clock and the real
>> I2C clock frequency are two different things.
>
> There are two frequencies:
>
> 1) The frequency of the input clock to the I2C device, after it has gone through
> a divider. This is what I call the "I2C clock frequency" and what I think
> belongs in the clock-frequency property. This is usually the platform clock
> divided by 1, 2, or 3.
OK.
> 2) The speed of the I2C bus, as seen by devices on that bus. This is usually
> 400KHz.
Which should be defined with the property "current-speed", right?
Wolfgang.
More information about the Linuxppc-dev
mailing list