On Thu, Mar 12, 2020 at 03:03:26PM +0000, Peter Chen wrote: > On 20-03-12 14:37:23, Mark Brown wrote: > > Surely it's the GPIO controller that needs pinctrl support then? > But the pinctrl register value for this gpio will be cleared after > suspend, we need to restore it, otherwise, the function will be not > gpio. See below patch: I'd expect that this would be handled by the GPIO driver, the user shouldn't need to care.