diff options
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r-- | include/linux/i2c.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index ddfa04108baf..1d0fe4877b1f 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -425,6 +425,8 @@ void i2c_unlock_adapter(struct i2c_adapter *); | |||
425 | #define I2C_CLIENT_TEN 0x10 /* we have a ten bit chip address */ | 425 | #define I2C_CLIENT_TEN 0x10 /* we have a ten bit chip address */ |
426 | /* Must equal I2C_M_TEN below */ | 426 | /* Must equal I2C_M_TEN below */ |
427 | #define I2C_CLIENT_WAKE 0x80 /* for board_info; true iff can wake */ | 427 | #define I2C_CLIENT_WAKE 0x80 /* for board_info; true iff can wake */ |
428 | #define I2C_CLIENT_SCCB 0x9000 /* Use Omnivision SCCB protocol */ | ||
429 | /* Must match I2C_M_STOP|IGNORE_NAK */ | ||
428 | 430 | ||
429 | /* i2c adapter classes (bitmask) */ | 431 | /* i2c adapter classes (bitmask) */ |
430 | #define I2C_CLASS_HWMON (1<<0) /* lm_sensors, ... */ | 432 | #define I2C_CLASS_HWMON (1<<0) /* lm_sensors, ... */ |
@@ -541,6 +543,7 @@ struct i2c_msg { | |||
541 | __u16 flags; | 543 | __u16 flags; |
542 | #define I2C_M_TEN 0x0010 /* this is a ten bit chip address */ | 544 | #define I2C_M_TEN 0x0010 /* this is a ten bit chip address */ |
543 | #define I2C_M_RD 0x0001 /* read data, from slave to master */ | 545 | #define I2C_M_RD 0x0001 /* read data, from slave to master */ |
546 | #define I2C_M_STOP 0x8000 /* if I2C_FUNC_PROTOCOL_MANGLING */ | ||
544 | #define I2C_M_NOSTART 0x4000 /* if I2C_FUNC_NOSTART */ | 547 | #define I2C_M_NOSTART 0x4000 /* if I2C_FUNC_NOSTART */ |
545 | #define I2C_M_REV_DIR_ADDR 0x2000 /* if I2C_FUNC_PROTOCOL_MANGLING */ | 548 | #define I2C_M_REV_DIR_ADDR 0x2000 /* if I2C_FUNC_PROTOCOL_MANGLING */ |
546 | #define I2C_M_IGNORE_NAK 0x1000 /* if I2C_FUNC_PROTOCOL_MANGLING */ | 549 | #define I2C_M_IGNORE_NAK 0x1000 /* if I2C_FUNC_PROTOCOL_MANGLING */ |