Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: power: supply: max8903: specify flt-gpios as input
@ 2024-04-15 15:16 Herman van Hazendonk
  2024-04-15 16:28 ` Conor Dooley
  2024-04-30 14:44 ` Sebastian Reichel
  0 siblings, 2 replies; 4+ messages in thread
From: Herman van Hazendonk @ 2024-04-15 15:16 UTC (permalink / raw)
  To: sre
  Cc: benwolsieffer, chris.chapuis, Herman van Hazendonk, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-pm, devicetree,
	linux-kernel

The FLT pin was incorrected documented as an output. The MAX8903 uses it to
signal to the processor that a charging fault has occurred.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
---
 .../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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] dt-bindings: power: supply: max8903: specify flt-gpios as input
  2024-04-15 15:16 [PATCH 1/2] dt-bindings: power: supply: max8903: specify flt-gpios as input Herman van Hazendonk
@ 2024-04-15 16:28 ` Conor Dooley
  2024-04-30 14:51   ` Sebastian Reichel
  2024-04-30 14:44 ` Sebastian Reichel
  1 sibling, 1 reply; 4+ messages in thread
From: Conor Dooley @ 2024-04-15 16:28 UTC (permalink / raw)
  To: Herman van Hazendonk
  Cc: sre, benwolsieffer, chris.chapuis, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-pm, devicetree,
	linux-kernel

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

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?

> 
> Signed-off-by: Herman van Hazendonk <github.com@herrie.org>

The SoB email should match the from email fyi.
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] dt-bindings: power: supply: max8903: specify flt-gpios as input
  2024-04-15 15:16 [PATCH 1/2] dt-bindings: power: supply: max8903: specify flt-gpios as input Herman van Hazendonk
  2024-04-15 16:28 ` Conor Dooley
@ 2024-04-30 14:44 ` Sebastian Reichel
  1 sibling, 0 replies; 4+ messages in thread
From: Sebastian Reichel @ 2024-04-30 14:44 UTC (permalink / raw)
  To: sre, Herman van Hazendonk
  Cc: benwolsieffer, chris.chapuis, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-pm, devicetree, linux-kernel


On Mon, 15 Apr 2024 17:16:45 +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.
> 
> 

Applied, thanks!

[1/2] dt-bindings: power: supply: max8903: specify flt-gpios as input
      commit: 55f7073f6f59ef2c9e98b70f74118dba62e1aabc

Best regards,
-- 
Sebastian Reichel <sebastian.reichel@collabora.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] dt-bindings: power: supply: max8903: specify flt-gpios as input
  2024-04-15 16:28 ` Conor Dooley
@ 2024-04-30 14:51   ` Sebastian Reichel
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Reichel @ 2024-04-30 14:51 UTC (permalink / raw)
  To: Conor Dooley
  Cc: Herman van Hazendonk, benwolsieffer, chris.chapuis, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-pm, devicetree,
	linux-kernel

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

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@herrie.org>
> 
> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-30 14:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-15 15:16 [PATCH 1/2] dt-bindings: power: supply: max8903: specify flt-gpios as input Herman van Hazendonk
2024-04-15 16:28 ` Conor Dooley
2024-04-30 14:51   ` Sebastian Reichel
2024-04-30 14:44 ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox