Messages in this thread | | | Date | Wed, 1 Feb 2012 13:30:54 +0100 | Subject | Re: [PATCH V2] gpio: tps65910: Add sleep control support | From | Linus Walleij <> |
| |
On Wed, Feb 1, 2012 at 7:39 AM, Laxman Dewangan <ldewangan@nvidia.com> wrote:
> The device tps65910/tps65911 supports the sleep > functionality in some of gpios. If gpio is configured > in output mode and sleep is enabled then during device > sleep state, the output of gpio becomes LOW regardless > of non-sleep output value. > Such gpio can be used to control regulator switch such > that output of regulator is off in device sleep state. > > Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> > --- > Changes from V1: > Taken care of review comments from Linus Walleij's > - Remove magic numbers and added macro for defining them. > - Used bool type for the platform's gpio sleep control data.
Thanks, looks good! Acked-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
| |