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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 .../bindings/power/supply/richtek,rt5033-battery.yaml           | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
2.39.2




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux