[PATCH] dt-bindings: timer: ingenic,tcu: use absolute path to other schema

Krzysztof Kozlowski posted 1 patch 3 years, 8 months ago
There is a newer version of this series
Documentation/devicetree/bindings/timer/ingenic,tcu.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] dt-bindings: timer: ingenic,tcu: use absolute path to other schema
Posted by Krzysztof Kozlowski 3 years, 8 months ago
Absolute path to other DT schema is preferred over relative one.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/timer/ingenic,tcu.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml b/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
index d541cf2067bc..0a01e4f5eddb 100644
--- a/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
+++ b/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
@@ -113,7 +113,7 @@ properties:
 patternProperties:
   "^watchdog@[a-f0-9]+$":
     type: object
-    $ref: ../watchdog/watchdog.yaml#
+    $ref: /schemas/watchdog/watchdog.yaml#
     properties:
       compatible:
         oneOf:
@@ -145,7 +145,7 @@ patternProperties:
 
   "^pwm@[a-f0-9]+$":
     type: object
-    $ref: ../pwm/pwm.yaml#
+    $ref: /schemas/pwm/pwm.yaml#
     properties:
       compatible:
         oneOf:
-- 
2.34.1
Re: [PATCH] dt-bindings: timer: ingenic,tcu: use absolute path to other schema
Posted by Daniel Lezcano 3 years, 8 months ago
On 26/07/2022 13:59, Krzysztof Kozlowski wrote:
> Absolute path to other DT schema is preferred over relative one.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---

Applied, thanks


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Re: [PATCH] dt-bindings: timer: ingenic,tcu: use absolute path to other schema
Posted by Paul Cercueil 3 years, 8 months ago

Le mar., juil. 26 2022 at 13:59:37 +0200, Krzysztof Kozlowski 
<krzysztof.kozlowski@linaro.org> a écrit :
> Absolute path to other DT schema is preferred over relative one.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Acked-by: Paul Cercueil <paul@crapouillou.net>

Cheers,
-Paul

> ---
>  Documentation/devicetree/bindings/timer/ingenic,tcu.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml 
> b/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
> index d541cf2067bc..0a01e4f5eddb 100644
> --- a/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
> +++ b/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
> @@ -113,7 +113,7 @@ properties:
>  patternProperties:
>    "^watchdog@[a-f0-9]+$":
>      type: object
> -    $ref: ../watchdog/watchdog.yaml#
> +    $ref: /schemas/watchdog/watchdog.yaml#
>      properties:
>        compatible:
>          oneOf:
> @@ -145,7 +145,7 @@ patternProperties:
> 
>    "^pwm@[a-f0-9]+$":
>      type: object
> -    $ref: ../pwm/pwm.yaml#
> +    $ref: /schemas/pwm/pwm.yaml#
>      properties:
>        compatible:
>          oneOf:
> --
> 2.34.1
> 
[tip: timers/core] dt-bindings: timer: ingenic,tcu: use absolute path to other schema
Posted by tip-bot2 for Krzysztof Kozlowski 3 years, 8 months ago
The following commit has been merged into the timers/core branch of tip:

Commit-ID:     561a0846182ef6fe87c20426d43fd956a644687a
Gitweb:        https://git.kernel.org/tip/561a0846182ef6fe87c20426d43fd956a644687a
Author:        Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
AuthorDate:    Tue, 26 Jul 2022 13:59:37 +02:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Wed, 27 Jul 2022 17:01:52 +02:00

dt-bindings: timer: ingenic,tcu: use absolute path to other schema

Absolute path to other DT schema is preferred over relative one.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220726115937.101432-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 Documentation/devicetree/bindings/timer/ingenic,tcu.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml b/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
index d541cf2..0a01e4f 100644
--- a/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
+++ b/Documentation/devicetree/bindings/timer/ingenic,tcu.yaml
@@ -113,7 +113,7 @@ properties:
 patternProperties:
   "^watchdog@[a-f0-9]+$":
     type: object
-    $ref: ../watchdog/watchdog.yaml#
+    $ref: /schemas/watchdog/watchdog.yaml#
     properties:
       compatible:
         oneOf:
@@ -145,7 +145,7 @@ patternProperties:
 
   "^pwm@[a-f0-9]+$":
     type: object
-    $ref: ../pwm/pwm.yaml#
+    $ref: /schemas/pwm/pwm.yaml#
     properties:
       compatible:
         oneOf: