Messages in this thread | | | Date | Sun, 30 Jul 2023 20:08:35 +0200 | Subject | Re: [PATCH v2 1/3] dt-bindings: power: supply: maxim,max17040: update properties | From | Krzysztof Kozlowski <> |
| |
On 30/07/2023 19:26, Svyatoslav Ryhel wrote: > Add status and temperature properties. > > Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> > --- > .../bindings/power/supply/maxim,max17040.yaml | 31 +++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max17040.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max17040.yaml > index 2627cd3eed83..4bccf25a111c 100644 > --- a/Documentation/devicetree/bindings/power/supply/maxim,max17040.yaml > +++ b/Documentation/devicetree/bindings/power/supply/maxim,max17040.yaml > @@ -55,6 +55,14 @@ properties: > interrupts: > maxItems: 1 > > + io-channels: > + items: > + - description: battery temperature > + > + io-channel-names: > + items: > + - const: temp > + > wakeup-source: > type: boolean > description: | > @@ -95,3 +103,26 @@ examples: > wakeup-source; > }; > }; > + - | > + #include <dt-bindings/interrupt-controller/irq.h> > + i2c0 {
Just i2c
With above:
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards, Krzysztof
| |