Commit 02478c98 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230609140754.65158-1-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 7123c05c
...@@ -122,14 +122,14 @@ properties: ...@@ -122,14 +122,14 @@ properties:
arm,vexpress,position: arm,vexpress,position:
description: When daughterboards are stacked on one site, their position description: When daughterboards are stacked on one site, their position
in the stack be be described this attribute. in the stack be be described this attribute.
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3 maximum: 3
arm,vexpress,dcc: arm,vexpress,dcc:
description: When describing tiles consisting of more than one DCC, its description: When describing tiles consisting of more than one DCC, its
number can be specified with this attribute. number can be specified with this attribute.
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3 maximum: 3
...@@ -180,13 +180,13 @@ patternProperties: ...@@ -180,13 +180,13 @@ patternProperties:
- const: simple-bus - const: simple-bus
arm,v2m-memory-map: arm,v2m-memory-map:
description: This describes the memory map type. description: This describes the memory map type.
$ref: '/schemas/types.yaml#/definitions/string' $ref: /schemas/types.yaml#/definitions/string
enum: enum:
- rs1 - rs1
- rs2 - rs2
arm,hbi: arm,hbi:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: This indicates the ARM HBI (Hardware Board ID), this is description: This indicates the ARM HBI (Hardware Board ID), this is
ARM's unique board model ID, visible on the PCB's silkscreen. ARM's unique board model ID, visible on the PCB's silkscreen.
...@@ -197,7 +197,7 @@ patternProperties: ...@@ -197,7 +197,7 @@ patternProperties:
property, describing the physical location of the children nodes. property, describing the physical location of the children nodes.
0 means motherboard site, while 1 and 2 are daughterboard sites, and 0 means motherboard site, while 1 and 2 are daughterboard sites, and
0xf means "sisterboard" which is the site containing the main CPU tile. 0xf means "sisterboard" which is the site containing the main CPU tile.
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 15 maximum: 15
......
...@@ -197,7 +197,7 @@ properties: ...@@ -197,7 +197,7 @@ properties:
- qcom,scorpion - qcom,scorpion
enable-method: enable-method:
$ref: '/schemas/types.yaml#/definitions/string' $ref: /schemas/types.yaml#/definitions/string
oneOf: oneOf:
# On ARM v8 64-bit this property is required # On ARM v8 64-bit this property is required
- enum: - enum:
...@@ -246,8 +246,8 @@ properties: ...@@ -246,8 +246,8 @@ properties:
cpu-release-addr: cpu-release-addr:
oneOf: oneOf:
- $ref: '/schemas/types.yaml#/definitions/uint32' - $ref: /schemas/types.yaml#/definitions/uint32
- $ref: '/schemas/types.yaml#/definitions/uint64' - $ref: /schemas/types.yaml#/definitions/uint64
description: description:
The DT specification defines this as 64-bit always, but some 32-bit Arm The DT specification defines this as 64-bit always, but some 32-bit Arm
systems have used a 32-bit value which must be supported. systems have used a 32-bit value which must be supported.
...@@ -255,7 +255,7 @@ properties: ...@@ -255,7 +255,7 @@ properties:
property value of "spin-table". property value of "spin-table".
cpu-idle-states: cpu-idle-states:
$ref: '/schemas/types.yaml#/definitions/phandle-array' $ref: /schemas/types.yaml#/definitions/phandle-array
items: items:
maxItems: 1 maxItems: 1
description: | description: |
...@@ -271,7 +271,7 @@ properties: ...@@ -271,7 +271,7 @@ properties:
cci-control-port: true cci-control-port: true
dynamic-power-coefficient: dynamic-power-coefficient:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: description:
A u32 value that represents the running time dynamic A u32 value that represents the running time dynamic
power coefficient in units of uW/MHz/V^2. The power coefficient in units of uW/MHz/V^2. The
...@@ -308,7 +308,7 @@ properties: ...@@ -308,7 +308,7 @@ properties:
PM domain provider, must be "psci". PM domain provider, must be "psci".
qcom,saw: qcom,saw:
$ref: '/schemas/types.yaml#/definitions/phandle' $ref: /schemas/types.yaml#/definitions/phandle
description: | description: |
Specifies the SAW* node associated with this CPU. Specifies the SAW* node associated with this CPU.
...@@ -318,7 +318,7 @@ properties: ...@@ -318,7 +318,7 @@ properties:
* arm/msm/qcom,saw2.txt * arm/msm/qcom,saw2.txt
qcom,acc: qcom,acc:
$ref: '/schemas/types.yaml#/definitions/phandle' $ref: /schemas/types.yaml#/definitions/phandle
description: | description: |
Specifies the ACC* node associated with this CPU. Specifies the ACC* node associated with this CPU.
...@@ -329,7 +329,7 @@ properties: ...@@ -329,7 +329,7 @@ properties:
* arm/msm/qcom,kpss-acc.txt * arm/msm/qcom,kpss-acc.txt
rockchip,pmu: rockchip,pmu:
$ref: '/schemas/types.yaml#/definitions/phandle' $ref: /schemas/types.yaml#/definitions/phandle
description: | description: |
Specifies the syscon node controlling the cpu core power domains. Specifies the syscon node controlling the cpu core power domains.
...@@ -339,7 +339,7 @@ properties: ...@@ -339,7 +339,7 @@ properties:
the cpu-core power-domains. the cpu-core power-domains.
secondary-boot-reg: secondary-boot-reg:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
Required for systems that have an "enable-method" property value of Required for systems that have an "enable-method" property value of
"brcm,bcm11351-cpu-method", "brcm,bcm23550" or "brcm,bcm-nsp-smp". "brcm,bcm11351-cpu-method", "brcm,bcm23550" or "brcm,bcm-nsp-smp".
......
...@@ -100,7 +100,7 @@ properties: ...@@ -100,7 +100,7 @@ properties:
patternProperties: patternProperties:
"^power-domain-": "^power-domain-":
$ref: "../power/power-domain.yaml#" $ref: /schemas/power/power-domain.yaml#
type: object type: object
description: | description: |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment