Re: [PATCH 1/2] dt-bindings: power: supply: max8903: specify flt-gpios as input

From: Sebastian Reichel
Date: Tue Apr 30 2024 - 10:51:55 EST


Hi,

On Mon, Apr 15, 2024 at 05:28:22PM +0100, Conor Dooley wrote:
> On Mon, Apr 15, 2024 at 05:16:45PM +0200, Herman van Hazendonk wrote:
> > The FLT pin was incorrected documented as an output. The MAX8903 uses it to
> > signal to the processor that a charging fault has occurred.
>
> I guess this is just a matter of framing? Input to the hardware running
> the OS but an output from the max8903?
>
> I'm okay with whatever wording causing less confusion, which may mean
> something that specifics what this is relative to?

well, this definitely improves things, since the other GPIOs
from the same file are all described with the hardware running
the OS being the reference. So this makes things at least
uniform.

> >
> > Signed-off-by: Herman van Hazendonk <github.com@xxxxxxxxxx>
>
> The SoB email should match the from email fyi.

It does for this patch, so I took it.

Greetings,

-- Sebastian

> Cheers,
> Conor.
>
> > ---
> > .../devicetree/bindings/power/supply/maxim,max8903.yaml | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max8903.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max8903.yaml
> > index a8d625f285f1..86af38378999 100644
> > --- a/Documentation/devicetree/bindings/power/supply/maxim,max8903.yaml
> > +++ b/Documentation/devicetree/bindings/power/supply/maxim,max8903.yaml
> > @@ -34,7 +34,7 @@ properties:
> >
> > flt-gpios:
> > maxItems: 1
> > - description: Fault pin (active low, output)
> > + description: Fault pin (active low, input)
> >
> > dcm-gpios:
> > maxItems: 1


Attachment: signature.asc
Description: PGP signature