aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c/twl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/i2c/twl.h')
-rw-r--r--include/linux/i2c/twl.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index 9733e9e53f2b..e28d4c0e45bd 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -239,6 +239,21 @@ int twl6030_interrupt_mask(u8 bit_mask, u8 offset);
239 239
240/*----------------------------------------------------------------------*/ 240/*----------------------------------------------------------------------*/
241 241
242/*Interface Bit Register (INTBR) offsets
243 *(Use TWL_4030_MODULE_INTBR)
244 */
245
246#define REG_GPPUPDCTR1 0x0F
247
248/*I2C1 and I2C4(SR) SDA/SCL pull-up control bits */
249
250#define I2C_SCL_CTRL_PU BIT(0)
251#define I2C_SDA_CTRL_PU BIT(2)
252#define SR_I2C_SCL_CTRL_PU BIT(4)
253#define SR_I2C_SDA_CTRL_PU BIT(6)
254
255/*----------------------------------------------------------------------*/
256
242/* 257/*
243 * Keypad register offsets (use TWL4030_MODULE_KEYPAD) 258 * Keypad register offsets (use TWL4030_MODULE_KEYPAD)
244 * ... SIH/interrupt only 259 * ... SIH/interrupt only