Re: [PATCH] powerpc: i2c-mpc: make speed registers configurable via FDT
From: Timur Tabi <hidden>
Date: 2008-07-31 20:00:55
Also in:
linux-i2c
From: Timur Tabi <hidden>
Date: 2008-07-31 20:00:55
Also in:
linux-i2c
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