lkml.org 
[lkml]   [2008]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [POWERPC] Add i2c pins to dts and board setup
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


\
 
 \ /
  Last update: 2008-05-21 17:13    [W:0.058 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site