diff mbox series

[v5,09/10] dt-bindings: power: supply: rt5033-battery: Add power-supplies as a property

Message ID 20230514123130.41172-10-jahau@rocketmail.com
State New
Headers show
Series [v5,01/10] mfd: rt5033: Drop rt5033-battery sub-device | expand

Commit Message

Jakob Hauser May 14, 2023, 12:31 p.m. UTC
Additionally to the already available ref "power-supply.yaml", add
"power-supplies" as a property. Otherwise, when referencing rt5033-battery in
an example, message "'power-supplies' does not match any of the regexes:
'pinctrl-[0-9]+'" will be returned.

Signed-off-by: Jakob Hauser <jahau@rocketmail.com>
---
 .../bindings/power/supply/richtek,rt5033-battery.yaml           | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml b/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml
index 756c16d1727d..07e03418a909 100644
--- a/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml
+++ b/Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml
@@ -22,6 +22,8 @@  properties:
   interrupts:
     maxItems: 1
 
+  power-supplies: true
+
 required:
   - compatible
   - reg