Re: [PATCH] [POWERPC] Add i2c pins to dts and board setup

From: Scott Wood
Date: Wed May 21 2008 - 11:10:49 EST


On Wed, May 21, 2008 at 12:31:40PM +0200, Jochen Friedrich wrote:
> + - linux,i2c-index : Can be used to hard code an i2c bus nummer.

s/nummer/number/

Why do we need this?

> + - linux,i2c-class : Can be used to override the i2c class. The class is used
> + by old style i2c device drivers to find a bus in a specific context like
> + system management, video or sound. By default, I2C_CLASS_HWMON (1) is
> + being used. The definition of the classes can be found in
> + include/i2c/i2c.h

It'd be better to just convert any needed old-style drivers than add this
to the device tree.

> + - bus-frequency : Can be used to set the i2c bus frequency. If unspecified,
> + a default frequency of 60kHz is being used.

clock-frequency is the standard name for such things.

-Scott
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/