[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <771cded01001250301q465a9f8ma484f597ae9a292f@mail.gmail.com>
Date: Mon, 25 Jan 2010 06:01:41 -0500
From: Haojian Zhuang <haojian.zhuang@...il.com>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: Liam Girdwood <lrg@...mlogic.co.uk>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 01/01] regulator: support max8649
On Tue, Jan 12, 2010 at 6:51 AM, Mark Brown
<broonie@...nsource.wolfsonmicro.com> wrote:
> On Tue, Jan 12, 2010 at 03:51:09AM -0500, Haojian Zhuang wrote:
>
>> Enable Maxim max8649 regulator driver.
>
> This seems basically fine but there's a few relatively minor issues
> below, mostly coding style rather than anything serious.
>
>
>> + if (pdata->ramp_timing) {
>> + info->ramp_timing = pdata->ramp_timing;
>> + max8649_set_bits(info->i2c, MAX8649_RAMP, MAX8649_RAMP_MASK,
>> + info->ramp_timing << 5);
>> + }
>
> You might want to implement the new enable_time() API for this.
>
This ramp timing is the time interval of each step on adjusting
voltage. I just want to control the timing in initialization.
enable_time() is only called before enabling regulator. And I don't
understand what would be done in enable_time().
Others are updated in this attached patch.
Thanks
Haojian
View attachment "0001-regulator-enable-max8649-regulator-driver.patch" of type "text/x-patch" (13016 bytes)
Powered by blists - more mailing lists