dt-bindings: power: supply: bq24190: use regulator schema for child node
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 1 Jun 2022 07:19:08 +0000 (09:19 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 9 Jun 2022 17:55:37 +0000 (19:55 +0200)
The 'usb-otg-vbus' child node is a regulator so reference the regulator
schema for proper evaluation.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/supply/bq24190.yaml

index 0d7cbbdf808bbd18e676edd22166a7ba604464ce..402d9d2ed2b9fd19c9045649575af34fc5c1a74c 100644 (file)
@@ -28,7 +28,7 @@ properties:
     maxItems: 1
 
   usb-otg-vbus:
-    type: object
+    $ref: /schemas/regulator/regulator.yaml#
     description: |
       Regulator that is used to control the VBUS voltage direction for
       either USB host mode or for charging on the OTG port