diff options
author | Ilkka Koskinen <ilkka.koskinen@nokia.com> | 2009-10-22 14:14:09 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2009-12-13 19:21:33 +0100 |
commit | 38a684963f619eb9117cb898b92bde92cdd09127 (patch) | |
tree | 11165f43948f3406110e5135c0479b244cc662fd /include | |
parent | 75b75722b4eb1032b3fe2e56b7015f23c6080529 (diff) |
mfd: Enable twl4030 32kHz oscillator low-power mode
Allows TWL's 32kHz oscillator to go in low-power mode when
main battery voltage is running low.
Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i2c/twl4030.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/i2c/twl4030.h b/include/linux/i2c/twl4030.h index 8a4a58ff8da..0c84cfa059e 100644 --- a/include/linux/i2c/twl4030.h +++ b/include/linux/i2c/twl4030.h @@ -313,6 +313,10 @@ int twl4030_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes); /*----------------------------------------------------------------------*/ +struct twl4030_clock_init_data { + bool ck32k_lowpwr_enable; +}; + struct twl4030_bci_platform_data { int *battery_tmp_tbl; unsigned int tblsize; @@ -425,6 +429,7 @@ struct twl4030_codec_data { struct twl4030_platform_data { unsigned irq_base, irq_end; + struct twl4030_clock_init_data *clock; struct twl4030_bci_platform_data *bci; struct twl4030_gpio_platform_data *gpio; struct twl4030_madc_platform_data *madc; |