Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1476959 > unrolled thread
| Started by | David Lechner <david@lechnology.com> |
|---|---|
| First post | 2016-09-05 22:50 +0200 |
| Last post | 2016-09-06 21:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 1/3] i2c: Add class for LEGO MINDSTORMS sensors David Lechner <david@lechnology.com> - 2016-09-05 22:50 +0200
Re: [PATCH 1/3] i2c: Add class for LEGO MINDSTORMS sensors Uwe Kleine-König <u.kleine-koenig@pengutronix.de> - 2016-09-06 21:10 +0200
| From | David Lechner <david@lechnology.com> |
|---|---|
| Date | 2016-09-05 22:50 +0200 |
| Subject | [PATCH 1/3] i2c: Add class for LEGO MINDSTORMS sensors |
| Message-ID | <se905-nd-9@gated-at.bofh.it> |
LEGO MINDSTORMS (robotics system from LEGO) has a number of sensors that use I2C communications. These sensors have a well-know register layout, so they are easily detected. This class is being added so that future drivers for these sensors can be automatically detected. Signed-off-by: David Lechner <david@lechnology.com> --- include/linux/i2c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/i2c.h b/include/linux/i2c.h index fffdc27..3eab858 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -638,6 +638,7 @@ i2c_unlock_adapter(struct i2c_adapter *adapter) #define I2C_CLASS_DDC (1<<3) /* DDC bus on graphics adapters */ #define I2C_CLASS_SPD (1<<7) /* Memory modules */ #define I2C_CLASS_DEPRECATED (1<<8) /* Warn users that adapter will stop using classes */ +#define I2C_CLASS_LEGO (1<<9) /* LEGO MINDSTORMS sensors */ /* Internal numbers to terminate lists */ #define I2C_CLIENT_END 0xfffeU -- 2.7.4
[toc] | [next] | [standalone]
| From | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> |
|---|---|
| Date | 2016-09-06 21:10 +0200 |
| Message-ID | <setUS-61L-41@gated-at.bofh.it> |
| In reply to | #1476959 |
Hello David, On Mon, Sep 05, 2016 at 03:40:12PM -0500, David Lechner wrote: > that use I2C communications. These sensors have a well-know register s/w/wn/ Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web