[lkml]   [2008]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: qestion about I2C_CLASS_HWMON flag
On Fri, Sep 5, 2008 at 11:20 AM, Jean Delvare <> wrote:
> On Fri, 5 Sep 2008 10:57:56 +0200, Francis Moreau wrote:
ags probably are useful, but they're are hard coded in adapters...
> Nothing prevents you from setting the class flags based on
> platform-specific information if you have a need for that.

Just to be sure, do you mean by hacking the adapter source code ?

> That being said, in cases where you have that level of information
> about which devices are present on the I2C bus,

Isn't the case for most of all embedded platforms ?

> you probably want to
> declare the I2C devices at the platform level, and not rely on probing
> at all (so .class is 0).

do you mean by using I2C_BOARD_INFO ?


 \ /
  Last update: 2008-09-05 14:47    [W:0.051 / U:4.292 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site