Re: I2C class bitmask

2015-05-23 Thread York Sun
On 05/23/2015 09:27 AM, Guenter Roeck wrote: > On Thu, May 21, 2015 at 02:07:31PM -0700, York Sun wrote: >> Lee, >> >> Is there any convention regarding I2C class bitmask? I see only three are >> defined for 3.12.19 and four for 4.0 >> >> I2C_CL

Re: I2C class bitmask

2015-05-23 Thread Guenter Roeck
On Thu, May 21, 2015 at 02:07:31PM -0700, York Sun wrote: > Lee, > > Is there any convention regarding I2C class bitmask? I see only three are > defined for 3.12.19 and four for 4.0 > > I2C_CLASS_HWMON, I2C_CLASS_DDC, I2C_CLASS_SPD, I2C_CLASS_DEPRECATED > > I am workin

I2C class bitmask

2015-05-21 Thread York Sun
Lee, Is there any convention regarding I2C class bitmask? I see only three are defined for 3.12.19 and four for 4.0 I2C_CLASS_HWMON, I2C_CLASS_DDC, I2C_CLASS_SPD, I2C_CLASS_DEPRECATED I am working on a clock chip driver (SI5338) and trying to detect them (multiple chips in i2c mux). It would be