Re: [PATCH] powerpc: i2c-mpc: make speed registers configurable via FDT
From: Timur Tabi <hidden>
Date: 2008-07-31 21:17:24
Also in:
linux-i2c
From: Timur Tabi <hidden>
Date: 2008-07-31 21:17:24
Also in:
linux-i2c
Wolfgang Grandegger wrote:
U-Boot does not (yet) use the FDT and it has therefore to use that ugly code to derive the I2C input clock frequency. I think its completely legal to put that hardware specific information into the FDT and get rid of such code.
Huh? U-Boot initializes several fields and creates several properties in the FDT today, so what's wrong with adding another one? The clock frequencies have always been calculated by U-Boot, because putting them in the device tree is a bad idea. -- Timur Tabi Linux kernel developer at Freescale