[PATCH v2 4/4] dt-bindings: power: supply: max17042: Allow monitored-battery
From: Vincent Cloutier
Date: Sun Jul 19 2026 - 21:12:26 EST
From: Vincent Cloutier <vincent@xxxxxxxxxxx>
The MAX17042 family binding references the generic power-supply schema,
but its additionalProperties restriction means generic properties must
also be admitted explicitly.
Allow monitored-battery so these fuel gauges can reference the physical
battery whose characteristics they consume.
Assisted-by: OpenCode:gpt-5.6-sol
Signed-off-by: Vincent Cloutier <vincent@xxxxxxxxxxx>
---
.../devicetree/bindings/power/supply/maxim,max17042.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
index 242b33f2bcba..ace684159e0e 100644
--- a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
+++ b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
@@ -67,6 +67,8 @@ properties:
Voltage threshold to report battery as over voltage (in mV).
Default is not to report over-voltage events.
+ monitored-battery: true
+
power-supplies: true
required:
--
2.55.0