Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Fix inconsistent quoting

yamllint has gained a new check which checks for inconsistent quoting
(mixed " and ' quotes within a file). Fix all the cases yamllint found
so we can enable the check (once the check is in a release). As single
quotes are (slightly) preferred, use them throughout the modified files
even if double quotes are mostly used.

Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Acked-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Lee Jones <lee@kernel.org>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://patch.msgid.link/20251015232015.846282-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+96 -95
+10 -10
Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml
··· 27 27 additionalProperties: false 28 28 29 29 properties: 30 - "#address-cells": 30 + '#address-cells': 31 31 const: 1 32 32 33 - "#size-cells": 33 + '#size-cells': 34 34 const: 0 35 35 36 36 patternProperties: 37 - "^osc[0-9]$": 37 + '^osc[0-9]$': 38 38 type: object 39 39 40 - "^[a-z0-9,_]+(clk|pll|clk_gate|clk_divided)(@[a-f0-9]+)?$": 40 + '^[a-z0-9,_]+(clk|pll|clk_gate|clk_divided)(@[a-f0-9]+)?$': 41 41 type: object 42 42 $ref: '#/$defs/clock-props' 43 43 unevaluatedProperties: false ··· 58 58 minItems: 1 59 59 maxItems: 5 60 60 61 - "#address-cells": 61 + '#address-cells': 62 62 const: 1 63 63 64 - "#size-cells": 64 + '#size-cells': 65 65 const: 0 66 66 67 67 patternProperties: 68 - "^[a-z0-9,_]+(clk|pll)(@[a-f0-9]+)?$": 68 + '^[a-z0-9,_]+(clk|pll)(@[a-f0-9]+)?$': 69 69 type: object 70 70 $ref: '#/$defs/clock-props' 71 71 unevaluatedProperties: false ··· 86 86 required: 87 87 - compatible 88 88 - clocks 89 - - "#clock-cells" 89 + - '#clock-cells' 90 90 91 91 required: 92 92 - compatible 93 - - "#clock-cells" 93 + - '#clock-cells' 94 94 95 95 required: 96 96 - compatible ··· 104 104 reg: 105 105 maxItems: 1 106 106 107 - "#clock-cells": 107 + '#clock-cells': 108 108 const: 0 109 109 110 110 clk-gate:
+4 -4
Documentation/devicetree/bindings/clock/nvidia,tegra124-car.yaml
··· 37 37 '#clock-cells': 38 38 const: 1 39 39 40 - "#reset-cells": 40 + '#reset-cells': 41 41 const: 1 42 42 43 43 nvidia,external-memory-controller: ··· 46 46 phandle of the external memory controller node 47 47 48 48 patternProperties: 49 - "^emc-timings-[0-9]+$": 49 + '^emc-timings-[0-9]+$': 50 50 type: object 51 51 properties: 52 52 nvidia,ram-code: ··· 56 56 this timing set is used for 57 57 58 58 patternProperties: 59 - "^timing-[0-9]+$": 59 + '^timing-[0-9]+$': 60 60 type: object 61 61 properties: 62 62 clock-frequency: ··· 94 94 - compatible 95 95 - reg 96 96 - '#clock-cells' 97 - - "#reset-cells" 97 + - '#reset-cells' 98 98 99 99 additionalProperties: false 100 100
+3 -3
Documentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml
··· 39 39 '#clock-cells': 40 40 const: 1 41 41 42 - "#reset-cells": 42 + '#reset-cells': 43 43 const: 1 44 44 45 45 patternProperties: 46 - "^(sclk)|(pll-[cem])$": 46 + '^(sclk)|(pll-[cem])$': 47 47 type: object 48 48 properties: 49 49 compatible: ··· 76 76 - compatible 77 77 - reg 78 78 - '#clock-cells' 79 - - "#reset-cells" 79 + - '#reset-cells' 80 80 81 81 additionalProperties: false 82 82
+7 -6
Documentation/devicetree/bindings/gpio/gpio-mxs.yaml
··· 28 28 29 29 '#address-cells': 30 30 const: 1 31 + 31 32 '#size-cells': 32 33 const: 0 33 34 ··· 36 35 maxItems: 1 37 36 38 37 patternProperties: 39 - "^(?!gpio@)[^@]+@[0-9]+$": 38 + '^(?!gpio@)[^@]+@[0-9]+$': 40 39 type: object 41 40 properties: 42 41 fsl,pinmux-ids: ··· 94 93 95 94 additionalProperties: false 96 95 97 - "^gpio@[0-9]+$": 96 + '^gpio@[0-9]+$': 98 97 type: object 99 98 properties: 100 99 compatible: ··· 111 110 112 111 interrupt-controller: true 113 112 114 - "#interrupt-cells": 113 + '#interrupt-cells': 115 114 const: 2 116 115 117 - "#gpio-cells": 116 + '#gpio-cells': 118 117 const: 2 119 118 120 119 gpio-controller: true ··· 124 123 - reg 125 124 - interrupts 126 125 - interrupt-controller 127 - - "#interrupt-cells" 128 - - "#gpio-cells" 126 + - '#interrupt-cells' 127 + - '#gpio-cells' 129 128 - gpio-controller 130 129 131 130 additionalProperties: false
+2 -2
Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
··· 111 111 required: 112 112 - compatible 113 113 - reg 114 - - "#address-cells" 115 - - "#size-cells" 114 + - '#address-cells' 115 + - '#size-cells' 116 116 117 117 examples: 118 118 - |
+10 -10
Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml
··· 88 88 const: 0 89 89 90 90 patternProperties: 91 - "^thermocouple@": 91 + '^thermocouple@': 92 92 $ref: '#/$defs/sensor-node' 93 93 unevaluatedProperties: false 94 94 ··· 146 146 required: 147 147 - adi,custom-thermocouple 148 148 149 - "^diode@": 149 + '^diode@': 150 150 $ref: '#/$defs/sensor-node' 151 151 unevaluatedProperties: false 152 152 ··· 191 191 $ref: /schemas/types.yaml#/definitions/uint32 192 192 default: 0 193 193 194 - "^rtd@": 194 + '^rtd@': 195 195 $ref: '#/$defs/sensor-node' 196 196 unevaluatedProperties: false 197 197 description: RTD sensor. ··· 280 280 type: boolean 281 281 282 282 dependencies: 283 - adi,current-rotate: [ "adi,rsense-share" ] 283 + adi,current-rotate: [ 'adi,rsense-share' ] 284 284 285 285 - if: 286 286 properties: ··· 290 290 required: 291 291 - adi,custom-rtd 292 292 293 - "^thermistor@": 293 + '^thermistor@': 294 294 $ref: '#/$defs/sensor-node' 295 295 unevaluatedProperties: false 296 296 description: Thermistor sensor. ··· 364 364 - adi,rsense-handle 365 365 366 366 dependencies: 367 - adi,current-rotate: [ "adi,rsense-share" ] 367 + adi,current-rotate: [ 'adi,rsense-share' ] 368 368 369 369 allOf: 370 370 - if: ··· 392 392 required: 393 393 - adi,custom-thermistor 394 394 395 - "^adc@": 395 + '^adc@': 396 396 $ref: '#/$defs/sensor-node' 397 397 unevaluatedProperties: false 398 398 description: Direct ADC sensor. ··· 407 407 description: Whether the sensor is single-ended. 408 408 type: boolean 409 409 410 - "^temp@": 410 + '^temp@': 411 411 $ref: '#/$defs/sensor-node' 412 412 unevaluatedProperties: false 413 413 description: Active analog temperature sensor. ··· 437 437 required: 438 438 - adi,custom-temp 439 439 440 - "^rsense@": 440 + '^rsense@': 441 441 $ref: '#/$defs/sensor-node' 442 442 unevaluatedProperties: false 443 443 description: Sense resistor sensor. ··· 476 476 - adi,ltc2984 477 477 then: 478 478 patternProperties: 479 - "^temp@": false 479 + '^temp@': false 480 480 481 481 examples: 482 482 - |
+8 -8
Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
··· 187 187 enum: 188 188 - qcom,msm8916-apcs-kpss-global 189 189 then: 190 - $ref: "#/$defs/msm8916-apcs-clock-controller" 190 + $ref: '#/$defs/msm8916-apcs-clock-controller' 191 191 properties: 192 192 clock-controller: 193 - $ref: "#/$defs/msm8916-apcs-clock-controller" 193 + $ref: '#/$defs/msm8916-apcs-clock-controller' 194 194 195 195 - if: 196 196 properties: ··· 199 199 enum: 200 200 - qcom,msm8939-apcs-kpss-global 201 201 then: 202 - $ref: "#/$defs/msm8939-apcs-clock-controller" 202 + $ref: '#/$defs/msm8939-apcs-clock-controller' 203 203 properties: 204 204 clock-controller: 205 - $ref: "#/$defs/msm8939-apcs-clock-controller" 205 + $ref: '#/$defs/msm8939-apcs-clock-controller' 206 206 207 207 - if: 208 208 properties: ··· 211 211 enum: 212 212 - qcom,sdx55-apcs-gcc 213 213 then: 214 - $ref: "#/$defs/sdx55-apcs-clock-controller" 214 + $ref: '#/$defs/sdx55-apcs-clock-controller' 215 215 properties: 216 216 clock-controller: 217 - $ref: "#/$defs/sdx55-apcs-clock-controller" 217 + $ref: '#/$defs/sdx55-apcs-clock-controller' 218 218 219 219 - if: 220 220 properties: ··· 223 223 enum: 224 224 - qcom,ipq6018-apcs-apps-global 225 225 then: 226 - $ref: "#/$defs/ipq6018-apcs-clock-controller" 226 + $ref: '#/$defs/ipq6018-apcs-clock-controller' 227 227 properties: 228 228 clock-controller: 229 - $ref: "#/$defs/ipq6018-apcs-clock-controller" 229 + $ref: '#/$defs/ipq6018-apcs-clock-controller' 230 230 231 231 - if: 232 232 properties:
+1 -1
Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml
··· 142 142 - compatible 143 143 - reg 144 144 - reg-names 145 - - "#mbox-cells" 145 + - '#mbox-cells' 146 146 - xlnx,ipi-id 147 147 148 148 required:
+8 -8
Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml
··· 48 48 reg: 49 49 maxItems: 1 50 50 51 - "#address-cells": 51 + '#address-cells': 52 52 const: 1 53 53 54 - "#size-cells": 54 + '#size-cells': 55 55 const: 1 56 56 57 57 ranges: true 58 58 59 59 patternProperties: 60 - "^lpc-ctrl@[0-9a-f]+$": 60 + '^lpc-ctrl@[0-9a-f]+$': 61 61 type: object 62 62 additionalProperties: false 63 63 ··· 92 92 - compatible 93 93 - clocks 94 94 95 - "^reset-controller@[0-9a-f]+$": 95 + '^reset-controller@[0-9a-f]+$': 96 96 type: object 97 97 additionalProperties: false 98 98 ··· 118 118 - compatible 119 119 - '#reset-cells' 120 120 121 - "^lpc-snoop@[0-9a-f]+$": 121 + '^lpc-snoop@[0-9a-f]+$': 122 122 type: object 123 123 additionalProperties: false 124 124 ··· 152 152 - interrupts 153 153 - snoop-ports 154 154 155 - "^uart-routing@[0-9a-f]+$": 155 + '^uart-routing@[0-9a-f]+$': 156 156 $ref: /schemas/soc/aspeed/uart-routing.yaml# 157 157 description: The UART routing control under LPC register space 158 158 159 159 required: 160 160 - compatible 161 161 - reg 162 - - "#address-cells" 163 - - "#size-cells" 162 + - '#address-cells' 163 + - '#size-cells' 164 164 - ranges 165 165 166 166 additionalProperties:
+2 -2
Documentation/devicetree/bindings/mfd/ti,twl.yaml
··· 400 400 - '#pwm-cells' 401 401 402 402 patternProperties: 403 - "^regulator-": 403 + '^regulator-': 404 404 type: object 405 405 unevaluatedProperties: false 406 406 $ref: /schemas/regulator/regulator.yaml ··· 429 429 - reg 430 430 - interrupts 431 431 - interrupt-controller 432 - - "#interrupt-cells" 432 + - '#interrupt-cells' 433 433 434 434 examples: 435 435 - |
+8 -8
Documentation/devicetree/bindings/net/ethernet-switch.yaml
··· 35 35 then: 36 36 properties: 37 37 $nodename: 38 - pattern: "switch[0-3]@[0-3]+$" 38 + pattern: 'switch[0-3]@[0-3]+$' 39 39 else: 40 40 properties: 41 41 $nodename: 42 - pattern: "^(ethernet-)?switch(@.*)?$" 42 + pattern: '^(ethernet-)?switch(@.*)?$' 43 43 44 44 patternProperties: 45 - "^(ethernet-)?ports$": 45 + '^(ethernet-)?ports$': 46 46 type: object 47 47 unevaluatedProperties: false 48 48 ··· 53 53 const: 0 54 54 55 55 patternProperties: 56 - "^(ethernet-)?port@[0-9a-f]+$": 56 + '^(ethernet-)?port@[0-9a-f]+$': 57 57 type: object 58 58 description: Ethernet switch ports 59 59 60 60 required: 61 - - "#address-cells" 62 - - "#size-cells" 61 + - '#address-cells' 62 + - '#size-cells' 63 63 64 64 oneOf: 65 65 - required: ··· 75 75 $ref: '#' 76 76 77 77 patternProperties: 78 - "^(ethernet-)?ports$": 78 + '^(ethernet-)?ports$': 79 79 patternProperties: 80 - "^(ethernet-)?port@[0-9a-f]+$": 80 + '^(ethernet-)?port@[0-9a-f]+$': 81 81 description: Ethernet switch ports 82 82 $ref: ethernet-switch-port.yaml# 83 83 unevaluatedProperties: false
+1 -1
Documentation/devicetree/bindings/pci/plda,xpressrich3-axi-common.yaml
··· 72 72 - reg-names 73 73 - interrupts 74 74 - msi-controller 75 - - "#interrupt-cells" 75 + - '#interrupt-cells' 76 76 - interrupt-map-mask 77 77 - interrupt-map 78 78
+2 -2
Documentation/devicetree/bindings/phy/motorola,cpcap-usb-phy.yaml
··· 67 67 mode-gpios: 68 68 description: Optional GPIOs for configuring alternate modes 69 69 items: 70 - - description: "mode selection GPIO #0" 71 - - description: "mode selection GPIO #1" 70 + - description: mode selection GPIO#0 71 + - description: mode selection GPIO#1 72 72 73 73 required: 74 74 - compatible
+6 -6
Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml
··· 18 18 19 19 properties: 20 20 $nodename: 21 - pattern: "^gpio@[0-9a-f]+$" 21 + pattern: '^gpio@[0-9a-f]+$' 22 22 23 23 compatible: 24 24 enum: ··· 26 26 - mscc,ocelot-sgpio 27 27 - mscc,luton-sgpio 28 28 29 - "#address-cells": 29 + '#address-cells': 30 30 const: 1 31 31 32 - "#size-cells": 32 + '#size-cells': 33 33 const: 0 34 34 35 35 reg: ··· 76 76 - const: switch 77 77 78 78 patternProperties: 79 - "^gpio@[0-1]$": 79 + '^gpio@[0-1]$': 80 80 type: object 81 81 properties: 82 82 compatible: ··· 132 132 - reg 133 133 - clocks 134 134 - microchip,sgpio-port-ranges 135 - - "#address-cells" 136 - - "#size-cells" 135 + - '#address-cells' 136 + - '#size-cells' 137 137 138 138 examples: 139 139 - |
+5 -5
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
··· 424 424 patternProperties: 425 425 '-state$': 426 426 oneOf: 427 - - $ref: "#/$defs/qcom-pmic-gpio-state" 427 + - $ref: '#/$defs/qcom-pmic-gpio-state' 428 428 - patternProperties: 429 - "(pinconf|-pins)$": 430 - $ref: "#/$defs/qcom-pmic-gpio-state" 429 + '(pinconf|-pins)$': 430 + $ref: '#/$defs/qcom-pmic-gpio-state' 431 431 additionalProperties: false 432 432 433 - "-hog(-[0-9]+)?$": 433 + '-hog(-[0-9]+)?$': 434 434 type: object 435 435 required: 436 436 - gpio-hog ··· 503 503 - gpio1-gpio12 for pmxr2230 504 504 505 505 items: 506 - pattern: "^gpio([0-9]+)$" 506 + pattern: '^gpio([0-9]+)$' 507 507 508 508 function: 509 509 items:
+3 -3
Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml
··· 74 74 patternProperties: 75 75 '-state$': 76 76 oneOf: 77 - - $ref: "#/$defs/qcom-pmic-mpp-state" 77 + - $ref: '#/$defs/qcom-pmic-mpp-state' 78 78 - patternProperties: 79 79 '-pins$': 80 - $ref: "#/$defs/qcom-pmic-mpp-state" 80 + $ref: '#/$defs/qcom-pmic-mpp-state' 81 81 additionalProperties: false 82 82 83 83 $defs: ··· 100 100 - mpp1-mpp4 for pma8084 101 101 102 102 items: 103 - pattern: "^mpp([0-9]+)$" 103 + pattern: '^mpp([0-9]+)$' 104 104 105 105 function: 106 106 items:
+1 -1
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml
··· 129 129 130 130 - type: object 131 131 additionalProperties: 132 - $ref: "#/additionalProperties/anyOf/0" 132 + $ref: '#/additionalProperties/anyOf/0' 133 133 134 134 examples: 135 135 - |
+1 -1
Documentation/devicetree/bindings/pinctrl/renesas,rza1-ports.yaml
··· 118 118 119 119 - type: object 120 120 additionalProperties: 121 - $ref: "#/additionalProperties/anyOf/0" 121 + $ref: '#/additionalProperties/anyOf/0' 122 122 123 123 examples: 124 124 - |
+1 -1
Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml
··· 135 135 136 136 - type: object 137 137 additionalProperties: 138 - $ref: "#/additionalProperties/anyOf/0" 138 + $ref: '#/additionalProperties/anyOf/0' 139 139 140 140 allOf: 141 141 - $ref: pinctrl.yaml#
+1 -1
Documentation/devicetree/bindings/pinctrl/renesas,rzv2m-pinctrl.yaml
··· 88 88 89 89 - type: object 90 90 additionalProperties: 91 - $ref: "#/additionalProperties/anyOf/0" 91 + $ref: '#/additionalProperties/anyOf/0' 92 92 93 93 allOf: 94 94 - $ref: pinctrl.yaml#
+2 -2
Documentation/devicetree/bindings/power/renesas,sysc-rmobile.yaml
··· 45 45 const: 0 46 46 47 47 additionalProperties: 48 - $ref: "#/$defs/pd-node" 48 + $ref: '#/$defs/pd-node' 49 49 50 50 required: 51 51 - compatible ··· 83 83 - '#power-domain-cells' 84 84 85 85 additionalProperties: 86 - $ref: "#/$defs/pd-node" 86 + $ref: '#/$defs/pd-node' 87 87 88 88 examples: 89 89 - |
+4 -4
Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
··· 57 57 const: 0 58 58 59 59 patternProperties: 60 - "^timer@[0-2]$": 60 + '^timer@[0-2]$': 61 61 description: The timer block channels that are used as timers or counters. 62 62 type: object 63 63 additionalProperties: false ··· 80 80 - compatible 81 81 - reg 82 82 83 - "^pwm@[0-2]$": 83 + '^pwm@[0-2]$': 84 84 description: The timer block channels that are used as PWMs. 85 85 $ref: /schemas/pwm/pwm.yaml# 86 86 type: object ··· 92 92 TCB channel to use for this PWM. 93 93 enum: [ 0, 1, 2 ] 94 94 95 - "#pwm-cells": 95 + '#pwm-cells': 96 96 description: 97 97 The only third cell flag supported by this binding is 98 98 PWM_POLARITY_INVERTED. ··· 101 101 required: 102 102 - compatible 103 103 - reg 104 - - "#pwm-cells" 104 + - '#pwm-cells' 105 105 106 106 additionalProperties: false 107 107
+6 -6
Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml
··· 133 133 property. The supported-hw is a bitfield indicating SoC speedo or 134 134 process ID mask. 135 135 136 - "#power-domain-cells": 136 + '#power-domain-cells': 137 137 const: 0 138 138 139 139 required: 140 140 - operating-points-v2 141 - - "#power-domain-cells" 141 + - '#power-domain-cells' 142 142 143 143 i2c-thermtrip: 144 144 type: object ··· 220 220 xusbc USB Partition C Tegra114/124/210 221 221 222 222 patternProperties: 223 - "^[a-z0-9]+$": 223 + '^[a-z0-9]+$': 224 224 type: object 225 225 additionalProperties: false 226 226 properties: ··· 365 365 additionalProperties: false 366 366 367 367 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'] 371 371 372 372 examples: 373 373 - |