2023-03-27 17:05:20

by Rob Herring (Arm)

[permalink] [raw]
Subject: [PATCH] dt-bindings: timer: Drop unneeded quotes

Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.

Signed-off-by: Rob Herring <[email protected]>
---
.../devicetree/bindings/timer/arm,arch_timer_mmio.yaml | 2 +-
Documentation/devicetree/bindings/timer/cdns,ttc.yaml | 2 +-
.../devicetree/bindings/timer/intel,ixp4xx-timer.yaml | 4 ++--
.../devicetree/bindings/timer/nvidia,tegra-timer.yaml | 4 ++--
.../devicetree/bindings/timer/nvidia,tegra186-timer.yaml | 4 ++--
Documentation/devicetree/bindings/timer/st,nomadik-mtu.yaml | 4 ++--
6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml b/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml
index f6efa48c4256..7a4a6ab85970 100644
--- a/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml
+++ b/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml
@@ -66,7 +66,7 @@ patternProperties:
description: A timer node has up to 8 frame sub-nodes, each with the following properties.
properties:
frame-number:
- $ref: "/schemas/types.yaml#/definitions/uint32"
+ $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0
maximum: 7

diff --git a/Documentation/devicetree/bindings/timer/cdns,ttc.yaml b/Documentation/devicetree/bindings/timer/cdns,ttc.yaml
index 7d821fd480f6..bc5e6f226295 100644
--- a/Documentation/devicetree/bindings/timer/cdns,ttc.yaml
+++ b/Documentation/devicetree/bindings/timer/cdns,ttc.yaml
@@ -28,7 +28,7 @@ properties:
maxItems: 1

timer-width:
- $ref: "/schemas/types.yaml#/definitions/uint32"
+ $ref: /schemas/types.yaml#/definitions/uint32
description: |
Bit width of the timer, necessary if not 16.

diff --git a/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml b/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml
index f32575d4b5aa..526b8db4d575 100644
--- a/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml
@@ -2,8 +2,8 @@
# Copyright 2018 Linaro Ltd.
%YAML 1.2
---
-$id: "http://devicetree.org/schemas/timer/intel,ixp4xx-timer.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/timer/intel,ixp4xx-timer.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Intel IXP4xx XScale Networking Processors Timers

diff --git a/Documentation/devicetree/bindings/timer/nvidia,tegra-timer.yaml b/Documentation/devicetree/bindings/timer/nvidia,tegra-timer.yaml
index b78209cd0f28..9ea2ea3a7599 100644
--- a/Documentation/devicetree/bindings/timer/nvidia,tegra-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/nvidia,tegra-timer.yaml
@@ -1,8 +1,8 @@
# SPDX-License-Identifier: GPL-2.0-only
%YAML 1.2
---
-$id: "http://devicetree.org/schemas/timer/nvidia,tegra-timer.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/timer/nvidia,tegra-timer.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NVIDIA Tegra timer

diff --git a/Documentation/devicetree/bindings/timer/nvidia,tegra186-timer.yaml b/Documentation/devicetree/bindings/timer/nvidia,tegra186-timer.yaml
index db8b5595540f..76516e18e042 100644
--- a/Documentation/devicetree/bindings/timer/nvidia,tegra186-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/nvidia,tegra186-timer.yaml
@@ -1,8 +1,8 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
-$id: "http://devicetree.org/schemas/timer/nvidia,tegra186-timer.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/timer/nvidia,tegra186-timer.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NVIDIA Tegra186 timer

diff --git a/Documentation/devicetree/bindings/timer/st,nomadik-mtu.yaml b/Documentation/devicetree/bindings/timer/st,nomadik-mtu.yaml
index 901848d298ec..fa65878b3571 100644
--- a/Documentation/devicetree/bindings/timer/st,nomadik-mtu.yaml
+++ b/Documentation/devicetree/bindings/timer/st,nomadik-mtu.yaml
@@ -2,8 +2,8 @@
# Copyright 2022 Linaro Ltd.
%YAML 1.2
---
-$id: "http://devicetree.org/schemas/timer/st,nomadik-mtu.yaml#"
-$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+$id: http://devicetree.org/schemas/timer/st,nomadik-mtu.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ST Microelectronics Nomadik Multi-Timer Unit MTU Timer

--
2.39.2


2023-03-27 21:38:52

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: timer: Drop unneeded quotes

On Mon, Mar 27, 2023 at 7:01 PM Rob Herring <[email protected]> wrote:

> Cleanup bindings dropping unneeded quotes. Once all these are fixed,
> checking for this can be enabled in yamllint.
>
> Signed-off-by: Rob Herring <[email protected]>

Reviewed-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij

2023-03-28 11:11:54

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: timer: Drop unneeded quotes

On Mon, Mar 27, 2023 at 12:01:45PM -0500, Rob Herring wrote:
> Cleanup bindings dropping unneeded quotes. Once all these are fixed,
> checking for this can be enabled in yamllint.
>
> Signed-off-by: Rob Herring <[email protected]>
> ---
> .../devicetree/bindings/timer/arm,arch_timer_mmio.yaml | 2 +-
> Documentation/devicetree/bindings/timer/cdns,ttc.yaml | 2 +-
> .../devicetree/bindings/timer/intel,ixp4xx-timer.yaml | 4 ++--
> .../devicetree/bindings/timer/nvidia,tegra-timer.yaml | 4 ++--
> .../devicetree/bindings/timer/nvidia,tegra186-timer.yaml | 4 ++--
> Documentation/devicetree/bindings/timer/st,nomadik-mtu.yaml | 4 ++--
> 6 files changed, 10 insertions(+), 10 deletions(-)

Reviewed-by: Thierry Reding <[email protected]>


Attachments:
(No filename) (795.00 B)
signature.asc (849.00 B)
Download all attachments

2023-04-18 18:10:51

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: timer: Drop unneeded quotes


On Mon, 27 Mar 2023 12:01:45 -0500, Rob Herring wrote:
> Cleanup bindings dropping unneeded quotes. Once all these are fixed,
> checking for this can be enabled in yamllint.
>
> Signed-off-by: Rob Herring <[email protected]>
> ---
> .../devicetree/bindings/timer/arm,arch_timer_mmio.yaml | 2 +-
> Documentation/devicetree/bindings/timer/cdns,ttc.yaml | 2 +-
> .../devicetree/bindings/timer/intel,ixp4xx-timer.yaml | 4 ++--
> .../devicetree/bindings/timer/nvidia,tegra-timer.yaml | 4 ++--
> .../devicetree/bindings/timer/nvidia,tegra186-timer.yaml | 4 ++--
> Documentation/devicetree/bindings/timer/st,nomadik-mtu.yaml | 4 ++--
> 6 files changed, 10 insertions(+), 10 deletions(-)
>

Applied, thanks!