Messages in this thread | | | From | Peter Chen <> | Subject | Re: [PATCH 1/1] regulator: fixed: add system pm routines for pinctrl | Date | Fri, 13 Mar 2020 03:08:48 +0000 |
| |
On 20-03-12 15:07:10, Mark Brown wrote: > 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.
GPIO function is just our case for this fixed regulator, other users for this fixed regulator may set pinctrl as other functions.
Here, it is just save and restore pinctrl value for fixed regulator driver, not related to GPIO.
--
Thanks, Peter Chen
| |