Re: [PATCH v2 11/14] regulator: s2mps11: Add opmode for S2MPS14 regulators

Mark Brown
2014-02-13T19:28:44Z

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

On Thu, Feb 13, 2014 at 10:14:04AM +0100, Krzysztof Kozlowski wrote:
> S2MPS11/S2MPS14 regulators support different modes of operation:
> - Always off;
> - On/Off controlled by pin/GPIO (PWREN/LDOEN/EMMCEN);
> - Always on;
> This is very similar to S5M8767 regulator driver which also supports
> opmodes (although S5M8767 have also low-power mode).

What is the difference between always off/on and the normal enable
control? This sounds like a fairly standard register control that can
be overridden by a GPIO. The usual way of specifying that is by keying
off the presence of the GPIO.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]