[PATCH v2 3/3] dt-bindings: power: supply: maxim,max17042: allow power-supplies
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Wed Nov 2 11:45:01 PDT 2022
MAX17042 Fuel Gauge uses power-supplies supplies:
arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dtb: fuel-gauge at 36: 'power-supplies' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
---
Changes since v1:
1. New patch
---
.../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 aff5d0792e0f..64a0edb7bc47 100644
--- a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
+++ b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
@@ -59,6 +59,8 @@ properties:
Voltage threshold to report battery as over voltage (in mV).
Default is not to report over-voltage events.
+ power-supplies: true
+
required:
- compatible
- reg
--
2.34.1
More information about the Linux-rockchip
mailing list