summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorBalaji T K <balajitk@ti.com>2010-02-19 12:39:38 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2010-03-07 22:17:24 +0100
commitfa0d976298b25d090fafc3460c63fee1c8eea854 (patch)
treefeef3ece7c65834c244617c5d89317b10f6a4698 /include/linux/i2c
parenta29aaf55cd6faa75e35abfe00bd3ffc537490485 (diff)
downloadop-kernel-dev-fa0d976298b25d090fafc3460c63fee1c8eea854.zip
op-kernel-dev-fa0d976298b25d090fafc3460c63fee1c8eea854.tar.gz
mfd: Add twl6030 base addr for ID0, ID1, ID2
Add base address for generic slave ID0, ID1, ID2 and introduced one more entry to align RTC module number between twl4030 and twl6030 Signed-off-by: Balaji T K <balajitk@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r--include/linux/i2c/twl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index e28d4c0..70d4caf 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -80,6 +80,11 @@
#define TWL_MODULE_PM_MASTER TWL4030_MODULE_PM_MASTER
#define TWL_MODULE_PM_RECEIVER TWL4030_MODULE_PM_RECEIVER
#define TWL_MODULE_RTC TWL4030_MODULE_RTC
+#define TWL_MODULE_PWM TWL4030_MODULE_PWM0
+
+#define TWL6030_MODULE_ID0 0x0D
+#define TWL6030_MODULE_ID1 0x0E
+#define TWL6030_MODULE_ID2 0x0F
#define GPIO_INTR_OFFSET 0
#define KEYPAD_INTR_OFFSET 1
OpenPOWER on IntegriCloud