[PATCH 09/14] i2c: Add Device Tree support to the Nomadik I2C driver

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jun 14 14:36:36 EDT 2012

On Wed, Jun 13, 2012 at 01:28:17PM +0100, Lee Jones wrote:

> Device Tree. However, we have just as much control by keeping them
> in separate structs in the C file and selecting the right one using
> the compatible sting.

You're not understanding Linus' point.  The compatible string isn't
useful here because properties like the maximum clock rate of the bus
depend on the board design, not the silicon.  The controller may be
perfectly happy to run at a given rate but other devices on the bus or
the electrical engineering of the PCB itself may restrict this further.

More information about the linux-arm-kernel mailing list