Re: [PATCH 1/6] regulator: core: Allow simultaneous use of enable op and GPIO

From: Mark Brown
Date: Thu Jun 23 2016 - 06:01:23 EST


On Thu, Jun 23, 2016 at 02:29:39PM +0900, Alexandre Courbot wrote:

> There is also another potential problem with not using the enable GPIO
> in the regulator core: said GPIO can not be shared anymore between
> several regulators, as this was handled by the core.

Yeah, but there's more fun there since you'd need to sync up with the
device specific enable as well - it's not clear that such hardware would
make sense TBH.

> That's not a big issue for our use-case but I just wanted to point it
> out. Maybe we need a more global solution for shared GPIOs, but I can
> see a few challenges on the way (e.g. which policy to adopt and how to
> handle conflicts).

Indeed. I've never seen such hardware though so...

Attachment: signature.asc
Description: PGP signature