diff mbox series

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

Message ID 20220318001048.20922-4-sebastian.krzyszkowiak@puri.sm
State New
Headers show
Series MAX17055 model configuration via DT | expand

Commit Message

Sebastian Krzyszkowiak March 18, 2022, 12:10 a.m. UTC
In order to let the driver know about the characteristics of the monitored
battery, allow a standard "monitored-battery" property to be specified.

Cc: devicetree@vger.kernel.org
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
---
 .../devicetree/bindings/power/supply/maxim,max17042.yaml      | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Krzysztof Kozlowski March 18, 2022, 8:23 a.m. UTC | #1
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: devicetree@vger.kernel.org
> Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
> ---
>  .../devicetree/bindings/power/supply/maxim,max17042.yaml      | 4 ++++
>  1 file changed, 4 insertions(+)
> 


Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>


Best regards,
Krzysztof
diff mbox series

Patch

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