Message ID | 20210816082716.21193-3-krzysztof.kozlowski@canonical.com |
---|---|
State | Accepted |
Commit | 9c425fa3f273d63539533b14940d08582edd427c |
Headers | show |
Series | [1/3] power: supply: max17042: handle fails of reading status register | expand |
On Mon, 16 Aug 2021 10:27:16 +0200, Krzysztof Kozlowski wrote: > The Maxim 17042-family of fuel gauges are often embedded in other Maxim > chips, e.g. in Maxim 77693 which is a companion power management IC. > In such designs there might be actually two interrupts: > - INTB signaling change from charger, flash or MUIC, > - ALERT signaling change from fuel gauge. > > Describe the interrupt in bindings to make it clear it is about the fuel > gauge ALERT interrupt, not the INT. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> > --- > .../devicetree/bindings/power/supply/maxim,max17042.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml index c70f05ea6d27..95beae958096 100644 --- a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml +++ b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml @@ -25,6 +25,8 @@ properties: interrupts: maxItems: 1 + description: | + The ALRT pin, an open-drain interrupt. maxim,rsns-microohm: $ref: /schemas/types.yaml#/definitions/uint32
The Maxim 17042-family of fuel gauges are often embedded in other Maxim chips, e.g. in Maxim 77693 which is a companion power management IC. In such designs there might be actually two interrupts: - INTB signaling change from charger, flash or MUIC, - ALERT signaling change from fuel gauge. Describe the interrupt in bindings to make it clear it is about the fuel gauge ALERT interrupt, not the INT. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- .../devicetree/bindings/power/supply/maxim,max17042.yaml | 2 ++ 1 file changed, 2 insertions(+)