linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* I2C class bitmask
@ 2015-05-21 21:07 York Sun
  2015-05-23 16:27 ` Guenter Roeck
  0 siblings, 1 reply; 3+ messages in thread
From: York Sun @ 2015-05-21 21:07 UTC (permalink / raw)
  To: Lee Jones; +Cc: linux-kernel, linux-i2c

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 a lot easier to have its own class, like
I2C_CLASS_CLOCK. It is trivial to add a line to i2c.h file. Just checking if
this is a bad idea.

York

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-23 16:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21 21:07 I2C class bitmask York Sun
2015-05-23 16:27 ` Guenter Roeck
     [not found]   ` <20150523162737.GA4981-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2015-05-23 16:50     ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).