Skip to content

Commit 15be4f7

Browse files
committed
dt-bindings: Drop unnecessary quotes on keys
The yamllint quoted-strings check wasn't checking keys for quotes, but support for checking keys was added in 1.34 release. Fix all the errors found when enabling the check. Clean-up the xilinx-versal-cpm formatting while we're here. Acked-by: Mark Brown <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Acked-by: Thierry Reding <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 27db752 commit 15be4f7

File tree

7 files changed

+22
-19
lines changed

7 files changed

+22
-19
lines changed

Documentation/devicetree/bindings/net/sff,sfp.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,39 +29,39 @@ properties:
2929
allowable by a module in the slot, in milli-Watts. Presently, modules can
3030
be up to 1W, 1.5W or 2W.
3131

32-
"mod-def0-gpios":
32+
mod-def0-gpios:
3333
maxItems: 1
3434
description:
3535
GPIO phandle and a specifier of the MOD-DEF0 (AKA Mod_ABS) module
3636
presence input gpio signal, active (module absent) high. Must not be
3737
present for SFF modules
3838

39-
"los-gpios":
39+
los-gpios:
4040
maxItems: 1
4141
description:
4242
GPIO phandle and a specifier of the Receiver Loss of Signal Indication
4343
input gpio signal, active (signal lost) high
4444

45-
"tx-fault-gpios":
45+
tx-fault-gpios:
4646
maxItems: 1
4747
description:
4848
GPIO phandle and a specifier of the Module Transmitter Fault input gpio
4949
signal, active (fault condition) high
5050

51-
"tx-disable-gpios":
51+
tx-disable-gpios:
5252
maxItems: 1
5353
description:
5454
GPIO phandle and a specifier of the Transmitter Disable output gpio
5555
signal, active (Tx disable) high
5656

57-
"rate-select0-gpios":
57+
rate-select0-gpios:
5858
maxItems: 1
5959
description:
6060
GPIO phandle and a specifier of the Rx Signaling Rate Select (AKA RS0)
6161
output gpio signal, low - low Rx rate, high - high Rx rate Must not be
6262
present for SFF modules
6363

64-
"rate-select1-gpios":
64+
rate-select1-gpios:
6565
maxItems: 1
6666
description:
6767
GPIO phandle and a specifier of the Tx Signaling Rate Select (AKA RS1)

Documentation/devicetree/bindings/pci/xilinx-versal-cpm.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,16 @@ properties:
4848
interrupt-controller:
4949
description: Interrupt controller node for handling legacy PCI interrupts.
5050
type: object
51+
additionalProperties: false
52+
5153
properties:
5254
"#address-cells":
5355
const: 0
56+
5457
"#interrupt-cells":
5558
const: 1
56-
"interrupt-controller": true
57-
additionalProperties: false
59+
60+
interrupt-controller: true
5861

5962
required:
6063
- reg

Documentation/devicetree/bindings/pci/xlnx,nwl-pcie.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ properties:
8484
"#interrupt-cells":
8585
const: 1
8686

87-
"interrupt-controller": true
87+
interrupt-controller: true
8888

8989
required:
9090
- "#address-cells"

Documentation/devicetree/bindings/phy/brcm,sata-phy.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ patternProperties:
5959
"#phy-cells":
6060
const: 0
6161

62-
"brcm,enable-ssc":
62+
brcm,enable-ssc:
6363
$ref: /schemas/types.yaml#/definitions/flag
6464
description: |
6565
Use spread spectrum clocking (SSC) on this port
6666
This property is not applicable for "brcm,iproc-ns2-sata-phy",
6767
"brcm,iproc-nsp-sata-phy" and "brcm,iproc-sr-sata-phy".
6868
69-
"brcm,rxaeq-mode":
69+
brcm,rxaeq-mode:
7070
$ref: /schemas/types.yaml#/definitions/string
7171
description:
7272
String that indicates the desired RX equalizer mode.
@@ -75,15 +75,15 @@ patternProperties:
7575
- auto
7676
- manual
7777

78-
"brcm,rxaeq-value":
78+
brcm,rxaeq-value:
7979
$ref: /schemas/types.yaml#/definitions/uint32
8080
description: |
8181
When 'brcm,rxaeq-mode' is set to "manual", provides the RX
8282
equalizer value that should be used.
8383
minimum: 0
8484
maximum: 63
8585

86-
"brcm,tx-amplitude-millivolt":
86+
brcm,tx-amplitude-millivolt:
8787
description: |
8888
Transmit amplitude voltage in millivolt.
8989
$ref: /schemas/types.yaml#/definitions/uint32

Documentation/devicetree/bindings/regulator/ti,tps62864.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ properties:
2424
type: object
2525

2626
properties:
27-
"SW":
27+
SW:
2828
type: object
2929
$ref: regulator.yaml#
3030
unevaluatedProperties: false

Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,9 @@ allOf:
365365
additionalProperties: false
366366

367367
dependencies:
368-
"nvidia,suspend-mode": ["nvidia,core-pwr-off-time", "nvidia,cpu-pwr-off-time"]
369-
"nvidia,core-pwr-off-time": ["nvidia,core-pwr-good-time"]
370-
"nvidia,cpu-pwr-off-time": ["nvidia,cpu-pwr-good-time"]
368+
nvidia,suspend-mode: ["nvidia,core-pwr-off-time", "nvidia,cpu-pwr-off-time"]
369+
nvidia,core-pwr-off-time: ["nvidia,core-pwr-good-time"]
370+
nvidia,cpu-pwr-off-time: ["nvidia,cpu-pwr-good-time"]
371371

372372
examples:
373373
- |

Documentation/devicetree/bindings/tpm/ibm,vtpm.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ properties:
3333
reg:
3434
maxItems: 1
3535

36-
'ibm,#dma-address-cells':
36+
ibm,#dma-address-cells:
3737
description:
3838
number of cells that are used to encode the physical address field of
3939
dma-window properties
4040
$ref: /schemas/types.yaml#/definitions/uint32-array
4141

42-
'ibm,#dma-size-cells':
42+
ibm,#dma-size-cells:
4343
description:
4444
number of cells that are used to encode the size field of
4545
dma-window properties

0 commit comments

Comments
 (0)