diff mbox series

[1/4] dt-bindings: power: supply: bq24190: use regulator schema for child node

Message ID 20220601071911.6435-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State Handled Elsewhere, archived
Headers show
Series [1/4] dt-bindings: power: supply: bq24190: use regulator schema for child node | expand

Commit Message

Krzysztof Kozlowski June 1, 2022, 7:19 a.m. UTC
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>
---
 Documentation/devicetree/bindings/power/supply/bq24190.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring (Arm) June 5, 2022, 9:48 p.m. UTC | #1
On Wed, 01 Jun 2022 09:19:08 +0200, Krzysztof Kozlowski wrote:
> 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>
> ---
>  Documentation/devicetree/bindings/power/supply/bq24190.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
Sebastian Reichel June 9, 2022, 7:29 p.m. UTC | #2
Hi,

On Wed, Jun 01, 2022 at 09:19:08AM +0200, Krzysztof Kozlowski wrote:
> 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>
> ---

Thanks, I applied all 4 patches to power-supply's for-next branch.

-- Sebastian

>  Documentation/devicetree/bindings/power/supply/bq24190.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/power/supply/bq24190.yaml b/Documentation/devicetree/bindings/power/supply/bq24190.yaml
> index 0d7cbbdf808b..402d9d2ed2b9 100644
> --- a/Documentation/devicetree/bindings/power/supply/bq24190.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/bq24190.yaml
> @@ -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
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/bq24190.yaml b/Documentation/devicetree/bindings/power/supply/bq24190.yaml
index 0d7cbbdf808b..402d9d2ed2b9 100644
--- a/Documentation/devicetree/bindings/power/supply/bq24190.yaml
+++ b/Documentation/devicetree/bindings/power/supply/bq24190.yaml
@@ -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