Re: [RESEND PATCH v5 1/3] pinctrl: Add sleep related state to indicate sleep related configs

From: Linus Walleij
Date: Thu Aug 31 2017 - 03:16:35 EST


On Thu, Aug 17, 2017 at 8:50 AM, Baolin Wang <baolin.wang@xxxxxxxxxxxxxx> wrote:

> In some scenarios, we should set some pins as input/output/pullup/pulldown
> when the specified system goes into deep sleep mode, then when the system
> goes into deep sleep mode, these pins will be set automatically by hardware.
>
> That means some pins are not controlled by any specific driver in the OS, but
> need to be controlled when entering sleep mode. Thus we introduce one sleep
> state config into pinconf-generic for users to configure.
>
> Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxx>
> ---
> Changes since v4:
> - Add sleep-hardware-state config to indicate sleep related configs.

No reactions and I can certainly not think of anything better (I even
suggested this) so patch applied.

Sorry for taking so long to look at this, I've been choked :/

Yours,
Linus Walleij