Re: [Resend PATCH 2/2] twl4030: Enable low-power mode to 32kHz oscillator

2009-10-22 Thread Ilkka Koskinen
Hi Samuel, On Thu, 22 Oct 2009, ext Samuel Ortiz wrote: On Tue, Oct 20, 2009 at 04:22:53PM +0300, Ilkka Koskinen wrote: +struct twl4030_clock_init_data { + int ck32k_lowpwr_enable; I guess you could use a bool here ? Good point. I'll change it. Cheers, Ilkka +}; + struct twl4030_bci

Re: [Resend PATCH 2/2] twl4030: Enable low-power mode to 32kHz oscillator

2009-10-21 Thread Samuel Ortiz
Hi Ilkka, On Tue, Oct 20, 2009 at 04:22:53PM +0300, Ilkka Koskinen wrote: > +struct twl4030_clock_init_data { > + int ck32k_lowpwr_enable; I guess you could use a bool here ? Cheers, Samuel. > +}; > + > struct twl4030_bci_platform_data { > int *battery_tmp_tbl; > unsigned int t

[Resend PATCH 2/2] twl4030: Enable low-power mode to 32kHz oscillator

2009-10-20 Thread Ilkka Koskinen
Allows TWL's 32kHz oscillator to go in low-power mode when main battery voltage is running low. Signed-off-by: Ilkka Koskinen --- drivers/mfd/twl4030-core.c |9 +++-- include/linux/i2c/twl4030.h |5 + 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/tw