Re: qestion about I2C_CLASS_HWMON flag

Francis Moreau
2008-09-04T08:50:09Z

On Thu, Sep 4, 2008 at 10:37 AM, Jean Delvare <khali@linux-fr.org> wrote:
> Hi Francis,
>
> On Thu, Sep 4, 2008 at 9:43 AM, Francis Moreau <francis.moro@gmail.com> wrote:
>> I'm wondering why does this flag exist ?
>>
>> Why is a hw monitor device so special so that an I2C bus needs
>> a flag to tell the rest of the world that it support it ?
>
> I don't understand your point. We have I2C_CLASS flags for many I2C
> device types (analog TV, digital TV, etc.) I2C_CLASS_HWMON isn't the
> exception you describe. Look at <linux/i2c.h> for a list of these flags.
>

My question (sorry if that silly) is why do we need these flags at all ?

Can't I2C bus address any kinds of I2C devices ?

What make hwmon devices special so that some I2C adapter can't
talk to them ?

Thanks
--
Francis