diff options
author | Ilkka Koskinen <ilkka.koskinen@nokia.com> | 2009-10-22 07:14:09 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2009-12-13 13:21:33 -0500 |
commit | 38a684963f619eb9117cb898b92bde92cdd09127 (patch) | |
tree | 11165f43948f3406110e5135c0479b244cc662fd /include/linux/i2c | |
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/linux/i2c')
-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 8a4a58ff8dad..0c84cfa059e9 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); | |||
313 | 313 | ||
314 | /*----------------------------------------------------------------------*/ | 314 | /*----------------------------------------------------------------------*/ |
315 | 315 | ||
316 | struct twl4030_clock_init_data { | ||
317 | bool ck32k_lowpwr_enable; | ||
318 | }; | ||
319 | |||
316 | struct twl4030_bci_platform_data { | 320 | struct twl4030_bci_platform_data { |
317 | int *battery_tmp_tbl; | 321 | int *battery_tmp_tbl; |
318 | unsigned int tblsize; | 322 | unsigned int tblsize; |
@@ -425,6 +429,7 @@ struct twl4030_codec_data { | |||
425 | 429 | ||
426 | struct twl4030_platform_data { | 430 | struct twl4030_platform_data { |
427 | unsigned irq_base, irq_end; | 431 | unsigned irq_base, irq_end; |
432 | struct twl4030_clock_init_data *clock; | ||
428 | struct twl4030_bci_platform_data *bci; | 433 | struct twl4030_bci_platform_data *bci; |
429 | struct twl4030_gpio_platform_data *gpio; | 434 | struct twl4030_gpio_platform_data *gpio; |
430 | struct twl4030_madc_platform_data *madc; | 435 | struct twl4030_madc_platform_data *madc; |