[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1221071968.17091.245.camel@odin>
Date: Wed, 10 Sep 2008 19:39:28 +0100
From: Liam Girdwood <lrg@...nel.org>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: Samuel Ortiz <sameo@...nedhand.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] regulator: Add WM8400 regulator support
On Wed, 2008-09-10 at 19:28 +0100, Mark Brown wrote:
> The WM8400 provides two programmable DCDC step-down (buck) convertors
> and four low-dropout (LDO) regulators. This driver provides support for
> runtime managment of these in the standard regulator API.
>
> Support for configuration of the suspend and hibernate mode behaviour
> of the regulators is not yet included.
>
> Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
> ---
snip
> +
> +static unsigned int wm8400_dcdc_get_optimum_mode(struct regulator_dev *dev,
> + int input_uV, int output_uV,
> + int load_uA)
> +{
> + return REGULATOR_MODE_IDLE;
> +}
> +
This should return NORMAL by default. Probably best to add a lookup
table for IDLE & STANDBY if supported.
Cheers
Liam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists