[PATCH] powerpc: i2c-mpc: make speed registers configurable via FDT
Timur Tabi
timur at freescale.com
Fri Aug 1 06:00:55 EST 2008
Grant Likely wrote:
> Ugh. This is specifically related to the i2c device, so please place
> the property in the i2c device. Remember, device tree design is not
> about what will make the implementation simplest, but rather about what
> describes the hardware in the best way.
His proposal would make the implementation less simple, not more simple.
> Now, if you can argue that i2c-clock-frequency is actually a separate
> clock domain defined at the SoC level, not the i2c device level, then I
> will change my opinion.
It isn't. I don't have the Verilog for the I2C device, but I'm pretty sure the
divider is a very simple circuit that's located just outside the I2C circuitry,
but it still unique to the I2C device. There is no "I2C clock" running through
the SOC.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the Linuxppc-dev
mailing list