diff options
| author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-05-23 17:21:32 +0530 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:43:01 -0800 |
| commit | facb5b00caf9ceb034772b8ab5f04799d2daa053 (patch) | |
| tree | a9b71bd2683e185e774e5bb10897597be5bb4ddb /include/linux/i2c | |
| parent | a2941d326b4394ce8aae454c27cb43258f6a58b1 (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
Original-Change-Id: Icac2b0913fb680a472ebbcdc2ec3a54d1df0ebf1
Reviewed-on: http://git-master/r/32595
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Rebase-Id: R8069d39f004ea2223b8ccddc8188b263421e0053
Diffstat (limited to 'include/linux/i2c')
| -rw-r--r-- | include/linux/i2c/twl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index bd126405f10f..bb92f0b13288 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h @@ -177,6 +177,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); @@ -570,6 +571,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 { |
