diff mbox series

[4/4] dt-bindings: power: supply: summit,smb347: use absolute path to schema

Message ID 20220601071911.6435-4-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
Reference regulator schema by absolute path, as expected by DT schema
coding style.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/power/supply/summit,smb347-charger.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Heidelberg June 2, 2022, 3:47 p.m. UTC | #1
Reviewed-by: David Heidelberg <david@ixit.cz>

On 01/06/2022 09:19, Krzysztof Kozlowski wrote:
> Reference regulator schema by absolute path, as expected by DT schema
> coding style.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>   .../devicetree/bindings/power/supply/summit,smb347-charger.yaml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml b/Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml
> index 20862cdfc116..ce0bca4689f6 100644
> --- a/Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml
> @@ -82,7 +82,7 @@ properties:
>         - 1 # SMB3XX_SYSOK_INOK_ACTIVE_HIGH
>   
>     usb-vbus:
> -    $ref: "../../regulator/regulator.yaml#"
> +    $ref: /schemas/regulator/regulator.yaml#
>       type: object
>   
>       properties:
Rob Herring (Arm) June 5, 2022, 10:26 p.m. UTC | #2
On Wed, 01 Jun 2022 09:19:11 +0200, Krzysztof Kozlowski wrote:
> Reference regulator schema by absolute path, as expected by DT schema
> coding style.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/power/supply/summit,smb347-charger.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml b/Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml
index 20862cdfc116..ce0bca4689f6 100644
--- a/Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml
+++ b/Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml
@@ -82,7 +82,7 @@  properties:
       - 1 # SMB3XX_SYSOK_INOK_ACTIVE_HIGH
 
   usb-vbus:
-    $ref: "../../regulator/regulator.yaml#"
+    $ref: /schemas/regulator/regulator.yaml#
     type: object
 
     properties: