diff mbox series

[1/2] dt-bindings: power: reset: qcom,pon: use absolute path to other schema

Message ID 20220726120215.101868-2-krzysztof.kozlowski@linaro.org
State Accepted
Commit 99cab201fc634f2cdb1fd2c99be00df99ee04f6c
Headers show
Series power/reset/watchdog: dt-bindings: minor clean and qcom,pm8916-wdt to dtschema | expand

Commit Message

Krzysztof Kozlowski July 26, 2022, 12:02 p.m. UTC
Absolute path to other DT schema is preferred over relative one.

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

Comments

Vinod Koul July 27, 2022, 5:22 a.m. UTC | #1
On 26-07-22, 14:02, Krzysztof Kozlowski wrote:
> Absolute path to other DT schema is preferred over relative one.

Reviewed-by: Vinod Koul <vkoul@kernel.org>

> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/power/reset/qcom,pon.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
> index 353f155df0f4..e8ecb75155db 100644
> --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
> +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
> @@ -30,11 +30,11 @@ properties:
>  
>    pwrkey:
>      type: object
> -    $ref: "../../input/qcom,pm8941-pwrkey.yaml#"
> +    $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
>  
>    resin:
>      type: object
> -    $ref: "../../input/qcom,pm8941-pwrkey.yaml#"
> +    $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
>  
>  required:
>    - compatible
> -- 
> 2.34.1
Rob Herring (Arm) July 27, 2022, 3:13 p.m. UTC | #2
On Tue, 26 Jul 2022 14:02:14 +0200, Krzysztof Kozlowski wrote:
> Absolute path to other DT schema is preferred over relative one.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/power/reset/qcom,pon.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
index 353f155df0f4..e8ecb75155db 100644
--- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
+++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
@@ -30,11 +30,11 @@  properties:
 
   pwrkey:
     type: object
-    $ref: "../../input/qcom,pm8941-pwrkey.yaml#"
+    $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
 
   resin:
     type: object
-    $ref: "../../input/qcom,pm8941-pwrkey.yaml#"
+    $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
 
 required:
   - compatible