[PATCH] dt-bindings: clock: drop unneeded quotes and use absolute /schemas path

Krzysztof Kozlowski posted 1 patch 2 years, 8 months ago
Documentation/devicetree/bindings/clock/ingenic,cgu.yaml      | 4 ++--
.../devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml  | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
[PATCH] dt-bindings: clock: drop unneeded quotes and use absolute /schemas path
Posted by Krzysztof Kozlowski 2 years, 8 months ago
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.  Also absolute path
starting with /schemas is preferred.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/clock/ingenic,cgu.yaml      | 4 ++--
 .../devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml b/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml
index 9e733b10c392..509df06b9c9d 100644
--- a/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml
+++ b/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml
@@ -98,9 +98,9 @@ required:
 
 patternProperties:
   "^usb-phy@[a-f0-9]+$":
-    allOf: [ $ref: "../phy/ingenic,phy-usb.yaml#" ]
+    $ref: /schemas/phy/ingenic,phy-usb.yaml#
   "^mac-phy-ctrl@[a-f0-9]+$":
-    allOf: [ $ref: "../net/ingenic,mac.yaml#" ]
+    $ref: /schemas/net/ingenic,mac.yaml#
 
 additionalProperties: false
 
diff --git a/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml b/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml
index 99686085f751..26d94cedc871 100644
--- a/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml
+++ b/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml
@@ -48,7 +48,7 @@ properties:
 patternProperties:
   "^dma-router@[a-f0-9]+$":
     type: object
-    $ref: "../dma/renesas,rzn1-dmamux.yaml#"
+    $ref: /schemas/dma/renesas,rzn1-dmamux.yaml#
 
 required:
   - compatible
-- 
2.34.1
Re: [PATCH] dt-bindings: clock: drop unneeded quotes and use absolute /schemas path
Posted by Stephen Boyd 2 years, 7 months ago
Quoting Krzysztof Kozlowski (2023-06-09 07:07:51)
> Cleanup bindings dropping unneeded quotes. Once all these are fixed,
> checking for this can be enabled in yamllint.  Also absolute path
> starting with /schemas is preferred.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---

Applied to clk-next
Re: [PATCH] dt-bindings: clock: drop unneeded quotes and use absolute /schemas path
Posted by Stephen Boyd 2 years, 7 months ago
Quoting Krzysztof Kozlowski (2023-06-09 07:07:51)
> Cleanup bindings dropping unneeded quotes. Once all these are fixed,
> checking for this can be enabled in yamllint.  Also absolute path
> starting with /schemas is preferred.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---

It's not clear if I should pick this up. Do you want to take it through
some DT tree?
Re: [PATCH] dt-bindings: clock: drop unneeded quotes and use absolute /schemas path
Posted by Krzysztof Kozlowski 2 years, 7 months ago
On 15/06/2023 02:35, Stephen Boyd wrote:
> Quoting Krzysztof Kozlowski (2023-06-09 07:07:51)
>> Cleanup bindings dropping unneeded quotes. Once all these are fixed,
>> checking for this can be enabled in yamllint.  Also absolute path
>> starting with /schemas is preferred.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
> 
> It's not clear if I should pick this up. Do you want to take it through
> some DT tree?

Please grab it.

Best regards,
Krzysztof