Skip to content

Commit 02478c9

Browse files
krzkrobherring
authored andcommitted
dt-bindings: arm: drop unneeded quotes and use absolute /schemas path
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> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20230609140754.65158-1-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 7123c05 commit 02478c9

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ properties:
122122
arm,vexpress,position:
123123
description: When daughterboards are stacked on one site, their position
124124
in the stack be be described this attribute.
125-
$ref: '/schemas/types.yaml#/definitions/uint32'
125+
$ref: /schemas/types.yaml#/definitions/uint32
126126
minimum: 0
127127
maximum: 3
128128

129129
arm,vexpress,dcc:
130130
description: When describing tiles consisting of more than one DCC, its
131131
number can be specified with this attribute.
132-
$ref: '/schemas/types.yaml#/definitions/uint32'
132+
$ref: /schemas/types.yaml#/definitions/uint32
133133
minimum: 0
134134
maximum: 3
135135

@@ -180,13 +180,13 @@ patternProperties:
180180
- const: simple-bus
181181
arm,v2m-memory-map:
182182
description: This describes the memory map type.
183-
$ref: '/schemas/types.yaml#/definitions/string'
183+
$ref: /schemas/types.yaml#/definitions/string
184184
enum:
185185
- rs1
186186
- rs2
187187

188188
arm,hbi:
189-
$ref: '/schemas/types.yaml#/definitions/uint32'
189+
$ref: /schemas/types.yaml#/definitions/uint32
190190
description: This indicates the ARM HBI (Hardware Board ID), this is
191191
ARM's unique board model ID, visible on the PCB's silkscreen.
192192

@@ -197,7 +197,7 @@ patternProperties:
197197
property, describing the physical location of the children nodes.
198198
0 means motherboard site, while 1 and 2 are daughterboard sites, and
199199
0xf means "sisterboard" which is the site containing the main CPU tile.
200-
$ref: '/schemas/types.yaml#/definitions/uint32'
200+
$ref: /schemas/types.yaml#/definitions/uint32
201201
minimum: 0
202202
maximum: 15
203203

Documentation/devicetree/bindings/arm/cpus.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ properties:
197197
- qcom,scorpion
198198

199199
enable-method:
200-
$ref: '/schemas/types.yaml#/definitions/string'
200+
$ref: /schemas/types.yaml#/definitions/string
201201
oneOf:
202202
# On ARM v8 64-bit this property is required
203203
- enum:
@@ -246,16 +246,16 @@ properties:
246246

247247
cpu-release-addr:
248248
oneOf:
249-
- $ref: '/schemas/types.yaml#/definitions/uint32'
250-
- $ref: '/schemas/types.yaml#/definitions/uint64'
249+
- $ref: /schemas/types.yaml#/definitions/uint32
250+
- $ref: /schemas/types.yaml#/definitions/uint64
251251
description:
252252
The DT specification defines this as 64-bit always, but some 32-bit Arm
253253
systems have used a 32-bit value which must be supported.
254254
Required for systems that have an "enable-method"
255255
property value of "spin-table".
256256

257257
cpu-idle-states:
258-
$ref: '/schemas/types.yaml#/definitions/phandle-array'
258+
$ref: /schemas/types.yaml#/definitions/phandle-array
259259
items:
260260
maxItems: 1
261261
description: |
@@ -271,7 +271,7 @@ properties:
271271
cci-control-port: true
272272

273273
dynamic-power-coefficient:
274-
$ref: '/schemas/types.yaml#/definitions/uint32'
274+
$ref: /schemas/types.yaml#/definitions/uint32
275275
description:
276276
A u32 value that represents the running time dynamic
277277
power coefficient in units of uW/MHz/V^2. The
@@ -308,7 +308,7 @@ properties:
308308
PM domain provider, must be "psci".
309309

310310
qcom,saw:
311-
$ref: '/schemas/types.yaml#/definitions/phandle'
311+
$ref: /schemas/types.yaml#/definitions/phandle
312312
description: |
313313
Specifies the SAW* node associated with this CPU.
314314
@@ -318,7 +318,7 @@ properties:
318318
* arm/msm/qcom,saw2.txt
319319
320320
qcom,acc:
321-
$ref: '/schemas/types.yaml#/definitions/phandle'
321+
$ref: /schemas/types.yaml#/definitions/phandle
322322
description: |
323323
Specifies the ACC* node associated with this CPU.
324324
@@ -329,7 +329,7 @@ properties:
329329
* arm/msm/qcom,kpss-acc.txt
330330
331331
rockchip,pmu:
332-
$ref: '/schemas/types.yaml#/definitions/phandle'
332+
$ref: /schemas/types.yaml#/definitions/phandle
333333
description: |
334334
Specifies the syscon node controlling the cpu core power domains.
335335
@@ -339,7 +339,7 @@ properties:
339339
the cpu-core power-domains.
340340
341341
secondary-boot-reg:
342-
$ref: '/schemas/types.yaml#/definitions/uint32'
342+
$ref: /schemas/types.yaml#/definitions/uint32
343343
description: |
344344
Required for systems that have an "enable-method" property value of
345345
"brcm,bcm11351-cpu-method", "brcm,bcm23550" or "brcm,bcm-nsp-smp".

Documentation/devicetree/bindings/arm/psci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ properties:
100100
101101
patternProperties:
102102
"^power-domain-":
103-
$ref: "../power/power-domain.yaml#"
103+
$ref: /schemas/power/power-domain.yaml#
104104

105105
type: object
106106
description: |

0 commit comments

Comments
 (0)