Re: [PATCH v2 4/5] dt-bindings: mfd: da9062: add regulator gpio enable/disable documentation

From: Linus Walleij
Date: Fri Nov 29 2019 - 03:33:19 EST


On Wed, Nov 27, 2019 at 2:59 PM Marco Felsch <m.felsch@xxxxxxxxxxxxxx> wrote:

> At the gpio-based regulator enable/disable documentation. This property
> can be applied to each subnode within the 'regulators' node so each
> regulator can be configured differently.
>
> Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx>
(...)
> + - dlg,ena-sense-gpios : The GPIO reference which should be used by the
> + regulator to enable/disable the output. If the signal is active the
> + regulator is on else it is off. Attention: Sharing the same gpio for other
> + purposes or across multiple regulators is possible but the gpio settings
> + must be the same. Also the gpio phandle must refer to the mfd root node
> + other gpios are not allowed and make no sense.

- Point out that this concerns references to the GPI general purpose
input on the DA9062 itself, and not just "any" GPIO. The last sentence
tries to say this but it should be stated more clearly.

- Clarify which "gpio settings" must be the same, e.g. polarity I guess.

Yours,
Linus Walleij