[PATCH V3 2/4] mmc: mmci: Use optional sleep pinctrl state

Linus Walleij linus.walleij at linaro.org
Wed Sep 4 01:43:01 EDT 2013


On Tue, Sep 3, 2013 at 11:29 AM, Ulf Hansson <ulf.hansson at linaro.org> wrote:

> By optionally putting the pins into sleep state in the .runtime_suspend
> callback we can accomplish two things. One is to minimize current leakage
> from pins and thus save power, second we can prevent the IP from driving
> pins output in an uncontrolled manner, which may happen if the power domain
> drops the domain regulator.
>
> When returning from idle, entering .runtime_resume callback, the pins
> are restored to default state.
>
> Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
> Acked-by: Rickard Andersson <rickard.andersson at stericsson.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list