summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-05-23 17:21:32 +0530
committerNiket Sirsi <nsirsi@nvidia.com>2011-05-25 15:18:28 -0700
commitceb2e2c8b6a7d41c8917fcd49c7b0da745767931 (patch)
tree2713e413dbe06ae2f28cf60b6bcf28a1374d592d /include
parent2b3ef48bd997faa588588de43607a69a60ea61ac (diff)
mfd: twl-core: Supporting mpu80031 clock 32K generation
The mpu80031 is having the register compatibility with twl6030 and so the mpu80031 driver is based on twl6030 register programming. But mpu80031 has capability of generating 32KHz which is not there in twl6030. Adding subclass for mpu80031 to identify this feature and adding support for 32KHz clock generation. bug 829520 Change-Id: Icac2b0913fb680a472ebbcdc2ec3a54d1df0ebf1 Reviewed-on: http://git-master/r/32595 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c/twl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index 01ba2c9e630f..abec39d2411e 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -172,6 +172,7 @@ TWL_CLASS_IS(4030, TWL4030_CLASS_ID)
TWL_CLASS_IS(6030, TWL6030_CLASS_ID)
#define TWL6025_SUBCLASS BIT(4) /* TWL6025 has changed registers */
+#define MPU80031_SUBCLASS BIT(5) /* MPU80031 has changed registers */
/* So we can recover the features in other parts of twl stack */
unsigned int twl_features(void);
@@ -555,6 +556,7 @@ int twl6030_set_usb_in_current(int currentmA);
struct twl4030_clock_init_data {
bool ck32k_lowpwr_enable;
+ bool clk32_active_state_on;
};
struct twl4030_bci_platform_data {