2022-03-18 02:01:17

by Sebastian Krzyszkowiak

[permalink] [raw]
Subject: [PATCH 3/4] dt-bindings: power: supply: max17042: Add monitored-battery phandle

In order to let the driver know about the characteristics of the monitored
battery, allow a standard "monitored-battery" property to be specified.

Cc: [email protected]
Signed-off-by: Sebastian Krzyszkowiak <[email protected]>
---
.../devicetree/bindings/power/supply/maxim,max17042.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
index 971b53c58cc6..88c9f466f2c5 100644
--- a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
+++ b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
@@ -59,6 +59,10 @@ properties:
Voltage threshold to report battery as over voltage (in mV).
Default is not to report over-voltage events.

+ monitored-battery:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description: phandle to the battery node being monitored
+
required:
- compatible
- reg
--
2.35.1


2022-03-18 09:14:59

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 3/4] dt-bindings: power: supply: max17042: Add monitored-battery phandle

On 18/03/2022 01:10, Sebastian Krzyszkowiak wrote:
> In order to let the driver know about the characteristics of the monitored
> battery, allow a standard "monitored-battery" property to be specified.
>
> Cc: [email protected]
> Signed-off-by: Sebastian Krzyszkowiak <[email protected]>
> ---
> .../devicetree/bindings/power/supply/maxim,max17042.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>


Reviewed-by: Krzysztof Kozlowski <[email protected]>


Best regards,
Krzysztof