Messages in this thread | | | Date | Mon, 14 Jan 2013 01:42:40 +0000 | From | Mark Brown <> | Subject | Re: [PATCH 2/3] regulator-core: update all enable GPIO state in _enable/disable |
| |
On Sun, Jan 13, 2013 at 11:35:03PM +0000, Kim, Milo wrote:
> Thanks for your opinion. > My understanding is 'shared' enable pin means regulators are enabled/disabled > at the same time. > Any other case is possible?
So, clearly that's going to be the behaviour at the system level but the consumers aren't going to know that. If the consumer supports some of the supplies being enabled and disabled separately then it will rely on the regulator core reference counting to keep the supply enabled if there are other reasons to do so. This is how things would work if both supplies came from the same regulator so I'd expect us to preserve the same behaviour.
| |