diff mbox series

[4/4] dt-bindings: soc: microchip: use absolute path to other schema

Message ID 20220726115841.101249-4-krzysztof.kozlowski@linaro.org (mailing list archive)
State Accepted
Commit e48ef9a9c52972d14c788d59024dcc7f566ed2c9
Headers show
Series [1/4] dt-bindings: soc: bcm: drop quotes when not needed | expand

Commit Message

Krzysztof Kozlowski July 26, 2022, 11:58 a.m. UTC
Absolute path to other DT schema is preferred over relative one.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Claudiu Beznea July 26, 2022, 2:19 p.m. UTC | #1
On 26.07.2022 14:58, Krzysztof Kozlowski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Absolute path to other DT schema is preferred over relative one.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>


> ---
>  .../devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> index 2f8cf6191812..33748a061898 100644
> --- a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> +++ b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> @@ -75,7 +75,7 @@ patternProperties:
> 
>    "^pwm@[0-2]$":
>      description: The timer block channels that are used as PWMs.
> -    $ref: ../../pwm/pwm.yaml#
> +    $ref: /schemas/pwm/pwm.yaml#
>      type: object
>      properties:
>        compatible:
> --
> 2.34.1
>
Claudiu Beznea July 27, 2022, 7:54 a.m. UTC | #2
On 26.07.2022 14:58, Krzysztof Kozlowski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Absolute path to other DT schema is preferred over relative one.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Applied to at91-dt, thanks!

> ---
>  .../devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> index 2f8cf6191812..33748a061898 100644
> --- a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> +++ b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> @@ -75,7 +75,7 @@ patternProperties:
> 
>    "^pwm@[0-2]$":
>      description: The timer block channels that are used as PWMs.
> -    $ref: ../../pwm/pwm.yaml#
> +    $ref: /schemas/pwm/pwm.yaml#
>      type: object
>      properties:
>        compatible:
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
index 2f8cf6191812..33748a061898 100644
--- a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
+++ b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
@@ -75,7 +75,7 @@  patternProperties:
 
   "^pwm@[0-2]$":
     description: The timer block channels that are used as PWMs.
-    $ref: ../../pwm/pwm.yaml#
+    $ref: /schemas/pwm/pwm.yaml#
     type: object
     properties:
       compatible: