Thread (96 messages) 96 messages, 8 authors, 2008-08-01

Re: [PATCH] powerpc: i2c-mpc: make speed registers configurable via FDT

From: Grant Likely <hidden>
Date: 2008-07-31 18:21:42
Also in: linux-i2c

On Thu, Jul 31, 2008 at 01:10:30PM -0500, Timur Tabi wrote:
Grant Likely wrote:
quoted
On Thu, Jul 31, 2008 at 12:07 PM, Wolfgang Grandegger [off-list ref] wrote:
quoted
We could add a property "source-clock-divider = <2/3>" if it's needed!?
fsl,source-clock-divider

But, yes, this is a good solution (assuming that it is a board or SoC
characteristic, and not just a choice that the driver has the option
of making on it's own).
I was going to suggest the actual clock frequency of the I2C device.  It would
be value of gd->i2c1_clk or gd->i2c2_clk from U-Boot.  The actual divider value
is meaningless.
I'm cool with that too, as long as it gets documented

g.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help