dt-bindings: Fix inconsistent quoting
Subsystems (29)
Rob Herring (Arm)
maintainerPATCH 1/1 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). Use whichever quoting is dominate in the file.
--- .../arm/altera/socfpga-clk-manager.yaml | 4 ++-- .../bindings/clock/nvidia,tegra124-car.yaml | 8 ++++---- .../bindings/clock/nvidia,tegra20-car.yaml | 6 +++--- .../devicetree/bindings/gpio/gpio-mxs.yaml | 9 +++++---- .../bindings/gpio/snps,dw-apb-gpio.yaml | 4 ++-- .../bindings/iio/temperature/adi,ltc2983.yaml | 20 +++++++++---------- .../mailbox/qcom,apcs-kpss-global.yaml | 16 +++++++-------- .../mailbox/xlnx,zynqmp-ipi-mailbox.yaml | 2 +- .../bindings/media/fsl,imx6q-vdoa.yaml | 2 +- .../devicetree/bindings/mfd/aspeed-lpc.yaml | 4 ++-- .../devicetree/bindings/mfd/ti,twl.yaml | 4 ++-- .../bindings/net/ethernet-switch.yaml | 2 +- .../pci/plda,xpressrich3-axi-common.yaml | 2 +- .../bindings/phy/motorola,cpcap-usb-phy.yaml | 4 ++-- .../pinctrl/microchip,sparx5-sgpio.yaml | 12 +++++------ .../bindings/pinctrl/qcom,pmic-gpio.yaml | 10 +++++----- .../bindings/pinctrl/qcom,pmic-mpp.yaml | 6 +++--- .../bindings/pinctrl/renesas,pfc.yaml | 4 ++-- .../bindings/pinctrl/renesas,rza1-ports.yaml | 2 +- .../pinctrl/renesas,rzg2l-pinctrl.yaml | 2 +- .../pinctrl/renesas,rzv2m-pinctrl.yaml | 2 +- .../bindings/power/renesas,sysc-rmobile.yaml | 4 ++-- .../soc/microchip/atmel,at91rm9200-tcb.yaml | 8 ++++---- .../soc/tegra/nvidia,tegra20-pmc.yaml | 12 +++++------ 24 files changed, 75 insertions(+), 74 deletions(-)
Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml +2 -2
@@ -39,7 +39,7 @@ properties: "^[a-z0-9,_]+(clk|pll|clk_gate|clk_divided)(@[a-f0-9]+)?$": type: object - $ref: '#/$defs/clock-props' + $ref: "#/$defs/clock-props" unevaluatedProperties: false properties:
@@ -67,7 +67,7 @@ properties: patternProperties: "^[a-z0-9,_]+(clk|pll)(@[a-f0-9]+)?$": type: object - $ref: '#/$defs/clock-props' + $ref: "#/$defs/clock-props" unevaluatedProperties: false properties:
Documentation/devicetree/bindings/clock/nvidia,tegra124-car.yaml +4 -4
@@ -37,7 +37,7 @@ properties: '#clock-cells': const: 1 - "#reset-cells": + '#reset-cells': const: 1 nvidia,external-memory-controller:
@@ -46,7 +46,7 @@ properties: phandle of the external memory controller node patternProperties: - "^emc-timings-[0-9]+$": + '^emc-timings-[0-9]+$': type: object properties: nvidia,ram-code:
@@ -56,7 +56,7 @@ patternProperties: this timing set is used for patternProperties: - "^timing-[0-9]+$": + '^timing-[0-9]+$': type: object properties: clock-frequency:
@@ -94,7 +94,7 @@ required: - compatible - reg - '#clock-cells' - - "#reset-cells" + - '#reset-cells' additionalProperties: false
Documentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml +3 -3
@@ -39,11 +39,11 @@ properties: '#clock-cells': const: 1 - "#reset-cells": + '#reset-cells': const: 1 patternProperties: - "^(sclk)|(pll-[cem])$": + '^(sclk)|(pll-[cem])$': type: object properties: compatible:
@@ -76,7 +76,7 @@ required: - compatible - reg - '#clock-cells' - - "#reset-cells" + - '#reset-cells' additionalProperties: false
Documentation/devicetree/bindings/gpio/gpio-mxs.yaml +5 -4
@@ -26,9 +26,10 @@ properties: # Devices. Keep it as it to be compatible existed dts files. - const: simple-bus - '#address-cells': + "#address-cells": const: 1 - '#size-cells': + + "#size-cells": const: 0 reg:
@@ -132,8 +133,8 @@ patternProperties: required: - compatible - reg - - '#address-cells' - - '#size-cells' + - "#address-cells" + - "#size-cells" additionalProperties: false
Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml +2 -2
@@ -111,8 +111,8 @@ additionalProperties: false required: - compatible - reg - - "#address-cells" - - "#size-cells" + - '#address-cells' + - '#size-cells' examples: - |
Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml +10 -10
@@ -88,7 +88,7 @@ properties: const: 0 patternProperties: - "^thermocouple@": + '^thermocouple@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false
@@ -146,7 +146,7 @@ patternProperties: required: - adi,custom-thermocouple - "^diode@": + '^diode@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false
@@ -191,7 +191,7 @@ patternProperties: $ref: /schemas/types.yaml#/definitions/uint32 default: 0 - "^rtd@": + '^rtd@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: RTD sensor.
@@ -280,7 +280,7 @@ patternProperties: type: boolean dependencies: - adi,current-rotate: [ "adi,rsense-share" ] + adi,current-rotate: [ 'adi,rsense-share' ] - if: properties:
@@ -290,7 +290,7 @@ patternProperties: required: - adi,custom-rtd - "^thermistor@": + '^thermistor@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Thermistor sensor.
@@ -364,7 +364,7 @@ patternProperties: - adi,rsense-handle dependencies: - adi,current-rotate: [ "adi,rsense-share" ] + adi,current-rotate: [ 'adi,rsense-share' ] allOf: - if:
@@ -392,7 +392,7 @@ patternProperties: required: - adi,custom-thermistor - "^adc@": + '^adc@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Direct ADC sensor.
@@ -407,7 +407,7 @@ patternProperties: description: Whether the sensor is single-ended. type: boolean - "^temp@": + '^temp@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Active analog temperature sensor.
@@ -437,7 +437,7 @@ patternProperties: required: - adi,custom-temp - "^rsense@": + '^rsense@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Sense resistor sensor.
@@ -476,7 +476,7 @@ allOf: - adi,ltc2984 then: patternProperties: - "^temp@": false + '^temp@': false examples: - |
Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml +8 -8
@@ -187,10 +187,10 @@ allOf: enum: - qcom,msm8916-apcs-kpss-global then: - $ref: "#/$defs/msm8916-apcs-clock-controller" + $ref: '#/$defs/msm8916-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/msm8916-apcs-clock-controller" + $ref: '#/$defs/msm8916-apcs-clock-controller' - if: properties:
@@ -199,10 +199,10 @@ allOf: enum: - qcom,msm8939-apcs-kpss-global then: - $ref: "#/$defs/msm8939-apcs-clock-controller" + $ref: '#/$defs/msm8939-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/msm8939-apcs-clock-controller" + $ref: '#/$defs/msm8939-apcs-clock-controller' - if: properties:
@@ -211,10 +211,10 @@ allOf: enum: - qcom,sdx55-apcs-gcc then: - $ref: "#/$defs/sdx55-apcs-clock-controller" + $ref: '#/$defs/sdx55-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/sdx55-apcs-clock-controller" + $ref: '#/$defs/sdx55-apcs-clock-controller' - if: properties:
@@ -223,10 +223,10 @@ allOf: enum: - qcom,ipq6018-apcs-apps-global then: - $ref: "#/$defs/ipq6018-apcs-clock-controller" + $ref: '#/$defs/ipq6018-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/ipq6018-apcs-clock-controller" + $ref: '#/$defs/ipq6018-apcs-clock-controller' - if: properties:
Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +1 -1
@@ -142,7 +142,7 @@ patternProperties: - compatible - reg - reg-names - - "#mbox-cells" + - '#mbox-cells' - xlnx,ipi-id required:
Documentation/devicetree/bindings/media/fsl,imx6q-vdoa.yaml +1 -1
@@ -16,7 +16,7 @@ maintainers: properties: compatible: - const: "fsl,imx6q-vdoa" + const: fsl,imx6q-vdoa reg: maxItems: 1
Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml +2 -2
@@ -111,12 +111,12 @@ patternProperties: reg: maxItems: 1 - '#reset-cells': + "#reset-cells": const: 1 required: - compatible - - '#reset-cells' + - "#reset-cells" "^lpc-snoop@[0-9a-f]+$": type: object
Documentation/devicetree/bindings/mfd/ti,twl.yaml +2 -2
@@ -400,7 +400,7 @@ properties: - '#pwm-cells' patternProperties: - "^regulator-": + '^regulator-': type: object unevaluatedProperties: false $ref: /schemas/regulator/regulator.yaml
@@ -429,7 +429,7 @@ required: - reg - interrupts - interrupt-controller - - "#interrupt-cells" + - '#interrupt-cells' examples: - |
Documentation/devicetree/bindings/net/ethernet-switch.yaml +1 -1
@@ -72,7 +72,7 @@ additionalProperties: true $defs: ethernet-ports: description: An ethernet switch without any extra port properties - $ref: '#' + $ref: "#" patternProperties: "^(ethernet-)?ports$":
Documentation/devicetree/bindings/pci/plda,xpressrich3-axi-common.yaml +1 -1
@@ -72,7 +72,7 @@ required: - reg-names - interrupts - msi-controller - - "#interrupt-cells" + - '#interrupt-cells' - interrupt-map-mask - interrupt-map
Documentation/devicetree/bindings/phy/motorola,cpcap-usb-phy.yaml +2 -2
@@ -67,8 +67,8 @@ properties: mode-gpios: description: Optional GPIOs for configuring alternate modes items: - - description: "mode selection GPIO #0" - - description: "mode selection GPIO #1" + - description: mode selection GPIO#0 + - description: mode selection GPIO#1 required: - compatible
Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml +6 -6
@@ -18,7 +18,7 @@ description: | properties: $nodename: - pattern: "^gpio@[0-9a-f]+$" + pattern: '^gpio@[0-9a-f]+$' compatible: enum:
@@ -26,10 +26,10 @@ properties: - mscc,ocelot-sgpio - mscc,luton-sgpio - "#address-cells": + '#address-cells': const: 1 - "#size-cells": + '#size-cells': const: 0 reg:
@@ -76,7 +76,7 @@ properties: - const: switch patternProperties: - "^gpio@[0-1]$": + '^gpio@[0-1]$': type: object properties: compatible:
@@ -132,8 +132,8 @@ required: - reg - clocks - microchip,sgpio-port-ranges - - "#address-cells" - - "#size-cells" + - '#address-cells' + - '#size-cells' examples: - |
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml +5 -5
@@ -424,13 +424,13 @@ allOf: patternProperties: '-state$': oneOf: - - $ref: "#/$defs/qcom-pmic-gpio-state" + - $ref: '#/$defs/qcom-pmic-gpio-state' - patternProperties: - "(pinconf|-pins)$": - $ref: "#/$defs/qcom-pmic-gpio-state" + '(pinconf|-pins)$': + $ref: '#/$defs/qcom-pmic-gpio-state' additionalProperties: false - "-hog(-[0-9]+)?$": + '-hog(-[0-9]+)?$': type: object required: - gpio-hog
@@ -503,7 +503,7 @@ $defs: - gpio1-gpio12 for pmxr2230 items: - pattern: "^gpio([0-9]+)$" + pattern: '^gpio([0-9]+)$' function: items:
Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml +3 -3
@@ -74,10 +74,10 @@ required: patternProperties: '-state$': oneOf: - - $ref: "#/$defs/qcom-pmic-mpp-state" + - $ref: '#/$defs/qcom-pmic-mpp-state' - patternProperties: '-pins$': - $ref: "#/$defs/qcom-pmic-mpp-state" + $ref: '#/$defs/qcom-pmic-mpp-state' additionalProperties: false $defs:
@@ -100,7 +100,7 @@ $defs: - mpp1-mpp4 for pma8084 items: - pattern: "^mpp([0-9]+)$" + pattern: '^mpp([0-9]+)$' function: items:
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml +2 -2
@@ -129,7 +129,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' examples: - |
@@ -190,7 +190,7 @@ examples: sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; - function = "sdhi0"; + function = "sdhi0'; power-source = <3300>; }; };
Documentation/devicetree/bindings/pinctrl/renesas,rza1-ports.yaml +1 -1
@@ -118,7 +118,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' examples: - |
Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml +1 -1
@@ -135,7 +135,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' allOf: - $ref: pinctrl.yaml#
Documentation/devicetree/bindings/pinctrl/renesas,rzv2m-pinctrl.yaml +1 -1
@@ -88,7 +88,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' allOf: - $ref: pinctrl.yaml#
Documentation/devicetree/bindings/power/renesas,sysc-rmobile.yaml +2 -2
@@ -45,7 +45,7 @@ properties: const: 0 additionalProperties: - $ref: "#/$defs/pd-node" + $ref: '#/$defs/pd-node' required: - compatible
@@ -83,7 +83,7 @@ $defs: - '#power-domain-cells' additionalProperties: - $ref: "#/$defs/pd-node" + $ref: '#/$defs/pd-node' examples: - |
Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml +4 -4
@@ -57,7 +57,7 @@ properties: const: 0 patternProperties: - "^timer@[0-2]$": + '^timer@[0-2]$': description: The timer block channels that are used as timers or counters. type: object additionalProperties: false
@@ -80,7 +80,7 @@ patternProperties: - compatible - reg - "^pwm@[0-2]$": + '^pwm@[0-2]$': description: The timer block channels that are used as PWMs. $ref: /schemas/pwm/pwm.yaml# type: object
@@ -92,7 +92,7 @@ patternProperties: TCB channel to use for this PWM. enum: [ 0, 1, 2 ] - "#pwm-cells": + '#pwm-cells': description: The only third cell flag supported by this binding is PWM_POLARITY_INVERTED.
@@ -101,7 +101,7 @@ patternProperties: required: - compatible - reg - - "#pwm-cells" + - '#pwm-cells' additionalProperties: false
Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml +6 -6
@@ -133,12 +133,12 @@ properties: property. The supported-hw is a bitfield indicating SoC speedo or process ID mask. - "#power-domain-cells": + '#power-domain-cells': const: 0 required: - operating-points-v2 - - "#power-domain-cells" + - '#power-domain-cells' i2c-thermtrip: type: object
@@ -220,7 +220,7 @@ properties: xusbc USB Partition C Tegra114/124/210 patternProperties: - "^[a-z0-9]+$": + '^[a-z0-9]+$': type: object additionalProperties: false properties:
@@ -365,9 +365,9 @@ allOf: additionalProperties: false dependencies: - nvidia,suspend-mode: ["nvidia,core-pwr-off-time", "nvidia,cpu-pwr-off-time"] - nvidia,core-pwr-off-time: ["nvidia,core-pwr-good-time"] - nvidia,cpu-pwr-off-time: ["nvidia,cpu-pwr-good-time"] + nvidia,suspend-mode: ['nvidia,core-pwr-off-time', 'nvidia,cpu-pwr-off-time'] + nvidia,core-pwr-off-time: ['nvidia,core-pwr-good-time'] + nvidia,cpu-pwr-off-time: ['nvidia,cpu-pwr-good-time'] examples: - |
Signature · 1 line
2.51.0
Rob Herring (Arm)
maintainerQuoted 24 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../arm/altera/socfpga-clk-manager.yaml | 4 ++-- .../bindings/clock/nvidia,tegra124-car.yaml | 8 ++++---- .../bindings/clock/nvidia,tegra20-car.yaml | 6 +++--- .../devicetree/bindings/gpio/gpio-mxs.yaml | 9 +++++---- .../bindings/gpio/snps,dw-apb-gpio.yaml | 4 ++-- .../bindings/iio/temperature/adi,ltc2983.yaml | 20 +++++++++---------- .../mailbox/qcom,apcs-kpss-global.yaml | 16 +++++++-------- .../mailbox/xlnx,zynqmp-ipi-mailbox.yaml | 2 +- .../bindings/media/fsl,imx6q-vdoa.yaml | 2 +- .../devicetree/bindings/mfd/aspeed-lpc.yaml | 4 ++-- .../devicetree/bindings/mfd/ti,twl.yaml | 4 ++-- .../bindings/net/ethernet-switch.yaml | 2 +- .../pci/plda,xpressrich3-axi-common.yaml | 2 +- .../bindings/phy/motorola,cpcap-usb-phy.yaml | 4 ++-- .../pinctrl/microchip,sparx5-sgpio.yaml | 12 +++++------ .../bindings/pinctrl/qcom,pmic-gpio.yaml | 10 +++++----- .../bindings/pinctrl/qcom,pmic-mpp.yaml | 6 +++---
Quoted 9 lines
.../bindings/pinctrl/renesas,pfc.yaml | 4 ++-- .../bindings/pinctrl/renesas,rza1-ports.yaml | 2 +- .../pinctrl/renesas,rzg2l-pinctrl.yaml | 2 +- .../pinctrl/renesas,rzv2m-pinctrl.yaml | 2 +- .../bindings/power/renesas,sysc-rmobile.yaml | 4 ++-- .../soc/microchip/atmel,at91rm9200-tcb.yaml | 8 ++++---- .../soc/tegra/nvidia,tegra20-pmc.yaml | 12 +++++------ 24 files changed, 75 insertions(+), 74 deletions(-)
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
Error: Documentation/devicetree/bindings/pinctrl/renesas,pfc.example.dts:90.36-37 syntax error FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.dtbs:132: Documentation/devicetree/bindings/pinctrl/renesas,pfc.example.dtb] Error 1 make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1525: dt_binding_check] Error 2
make: *** [Makefile:248: __sub-make] Error 2
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]
The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
Quoted 6 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Signed-off-by Rob Herring (Arm) <[email protected]>
Quoted 687 lines
--- .../arm/altera/socfpga-clk-manager.yaml | 4 ++-- .../bindings/clock/nvidia,tegra124-car.yaml | 8 ++++---- .../bindings/clock/nvidia,tegra20-car.yaml | 6 +++--- .../devicetree/bindings/gpio/gpio-mxs.yaml | 9 +++++---- .../bindings/gpio/snps,dw-apb-gpio.yaml | 4 ++-- .../bindings/iio/temperature/adi,ltc2983.yaml | 20 +++++++++---------- .../mailbox/qcom,apcs-kpss-global.yaml | 16 +++++++-------- .../mailbox/xlnx,zynqmp-ipi-mailbox.yaml | 2 +- .../bindings/media/fsl,imx6q-vdoa.yaml | 2 +- .../devicetree/bindings/mfd/aspeed-lpc.yaml | 4 ++-- .../devicetree/bindings/mfd/ti,twl.yaml | 4 ++-- .../bindings/net/ethernet-switch.yaml | 2 +- .../pci/plda,xpressrich3-axi-common.yaml | 2 +- .../bindings/phy/motorola,cpcap-usb-phy.yaml | 4 ++-- .../pinctrl/microchip,sparx5-sgpio.yaml | 12 +++++------ .../bindings/pinctrl/qcom,pmic-gpio.yaml | 10 +++++----- .../bindings/pinctrl/qcom,pmic-mpp.yaml | 6 +++--- .../bindings/pinctrl/renesas,pfc.yaml | 4 ++-- .../bindings/pinctrl/renesas,rza1-ports.yaml | 2 +- .../pinctrl/renesas,rzg2l-pinctrl.yaml | 2 +- .../pinctrl/renesas,rzv2m-pinctrl.yaml | 2 +- .../bindings/power/renesas,sysc-rmobile.yaml | 4 ++-- .../soc/microchip/atmel,at91rm9200-tcb.yaml | 8 ++++---- .../soc/tegra/nvidia,tegra20-pmc.yaml | 12 +++++------ 24 files changed, 75 insertions(+), 74 deletions(-)Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml +2
-2@@ -39,7 +39,7 @@ properties: "^[a-z0-9,_]+(clk|pll|clk_gate|clk_divided)(@[a-f0-9]+)?$": type: object - $ref: '#/$defs/clock-props' + $ref: "#/$defs/clock-props" unevaluatedProperties: false properties:@@ -67,7 +67,7 @@ properties: patternProperties: "^[a-z0-9,_]+(clk|pll)(@[a-f0-9]+)?$": type: object - $ref: '#/$defs/clock-props' + $ref: "#/$defs/clock-props" unevaluatedProperties: false properties:Documentation/devicetree/bindings/clock/nvidia,tegra124-car.yaml +4
-4@@ -37,7 +37,7 @@ properties: '#clock-cells': const: 1 - "#reset-cells": + '#reset-cells': const: 1 nvidia,external-memory-controller:@@ -46,7 +46,7 @@ properties: phandle of the external memory controller node patternProperties: - "^emc-timings-[0-9]+$": + '^emc-timings-[0-9]+$': type: object properties: nvidia,ram-code:@@ -56,7 +56,7 @@ patternProperties: this timing set is used for patternProperties: - "^timing-[0-9]+$": + '^timing-[0-9]+$': type: object properties: clock-frequency:@@ -94,7 +94,7 @@ required: - compatible - reg - '#clock-cells' - - "#reset-cells" + - '#reset-cells' additionalProperties: falseDocumentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml +3
-3@@ -39,11 +39,11 @@ properties: '#clock-cells': const: 1 - "#reset-cells": + '#reset-cells': const: 1 patternProperties: - "^(sclk)|(pll-[cem])$": + '^(sclk)|(pll-[cem])$': type: object properties: compatible:@@ -76,7 +76,7 @@ required: - compatible - reg - '#clock-cells' - - "#reset-cells" + - '#reset-cells' additionalProperties: falseDocumentation/devicetree/bindings/gpio/gpio-mxs.yaml +5
-4@@ -26,9 +26,10 @@ properties: # Devices. Keep it as it to be compatible existed dts files. - const: simple-bus - '#address-cells': + "#address-cells": const: 1 - '#size-cells': + + "#size-cells": const: 0 reg:@@ -132,8 +133,8 @@ patternProperties: required: - compatible - reg - - '#address-cells' - - '#size-cells' + - "#address-cells" + - "#size-cells" additionalProperties: falseDocumentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml +2
-2@@ -111,8 +111,8 @@ additionalProperties: false required: - compatible - reg - - "#address-cells" - - "#size-cells" + - '#address-cells' + - '#size-cells' examples: - |Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml +10
-10@@ -88,7 +88,7 @@ properties: const: 0 patternProperties: - "^thermocouple@": + '^thermocouple@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false@@ -146,7 +146,7 @@ patternProperties: required: - adi,custom-thermocouple - "^diode@": + '^diode@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false@@ -191,7 +191,7 @@ patternProperties: $ref: /schemas/types.yaml#/definitions/uint32 default: 0 - "^rtd@": + '^rtd@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: RTD sensor.@@ -280,7 +280,7 @@ patternProperties: type: boolean dependencies: - adi,current-rotate: [ "adi,rsense-share" ] + adi,current-rotate: [ 'adi,rsense-share' ] - if: properties:@@ -290,7 +290,7 @@ patternProperties: required: - adi,custom-rtd - "^thermistor@": + '^thermistor@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Thermistor sensor.@@ -364,7 +364,7 @@ patternProperties: - adi,rsense-handle dependencies: - adi,current-rotate: [ "adi,rsense-share" ] + adi,current-rotate: [ 'adi,rsense-share' ] allOf: - if:@@ -392,7 +392,7 @@ patternProperties: required: - adi,custom-thermistor - "^adc@": + '^adc@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Direct ADC sensor.@@ -407,7 +407,7 @@ patternProperties: description: Whether the sensor is single-ended. type: boolean - "^temp@": + '^temp@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Active analog temperature sensor.@@ -437,7 +437,7 @@ patternProperties: required: - adi,custom-temp - "^rsense@": + '^rsense@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Sense resistor sensor.@@ -476,7 +476,7 @@ allOf: - adi,ltc2984 then: patternProperties: - "^temp@": false + '^temp@': false examples: - |Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml +8
-8@@ -187,10 +187,10 @@ allOf: enum: - qcom,msm8916-apcs-kpss-global then: - $ref: "#/$defs/msm8916-apcs-clock-controller" + $ref: '#/$defs/msm8916-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/msm8916-apcs-clock-controller" + $ref: '#/$defs/msm8916-apcs-clock-controller' - if: properties:@@ -199,10 +199,10 @@ allOf: enum: - qcom,msm8939-apcs-kpss-global then: - $ref: "#/$defs/msm8939-apcs-clock-controller" + $ref: '#/$defs/msm8939-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/msm8939-apcs-clock-controller" + $ref: '#/$defs/msm8939-apcs-clock-controller' - if: properties:@@ -211,10 +211,10 @@ allOf: enum: - qcom,sdx55-apcs-gcc then: - $ref: "#/$defs/sdx55-apcs-clock-controller" + $ref: '#/$defs/sdx55-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/sdx55-apcs-clock-controller" + $ref: '#/$defs/sdx55-apcs-clock-controller' - if: properties:@@ -223,10 +223,10 @@ allOf: enum: - qcom,ipq6018-apcs-apps-global then: - $ref: "#/$defs/ipq6018-apcs-clock-controller" + $ref: '#/$defs/ipq6018-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/ipq6018-apcs-clock-controller" + $ref: '#/$defs/ipq6018-apcs-clock-controller' - if: properties:Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +1
-1@@ -142,7 +142,7 @@ patternProperties: - compatible - reg - reg-names - - "#mbox-cells" + - '#mbox-cells' - xlnx,ipi-id required:Documentation/devicetree/bindings/media/fsl,imx6q-vdoa.yaml +1
-1@@ -16,7 +16,7 @@ maintainers: properties: compatible: - const: "fsl,imx6q-vdoa" + const: fsl,imx6q-vdoa reg: maxItems: 1Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml +2
-2@@ -111,12 +111,12 @@ patternProperties: reg: maxItems: 1 - '#reset-cells': + "#reset-cells": const: 1 required: - compatible - - '#reset-cells' + - "#reset-cells" "^lpc-snoop@[0-9a-f]+$": type: objectDocumentation/devicetree/bindings/mfd/ti,twl.yaml +2
-2@@ -400,7 +400,7 @@ properties: - '#pwm-cells' patternProperties: - "^regulator-": + '^regulator-': type: object unevaluatedProperties: false $ref: /schemas/regulator/regulator.yaml@@ -429,7 +429,7 @@ required: - reg - interrupts - interrupt-controller - - "#interrupt-cells" + - '#interrupt-cells' examples: - |Documentation/devicetree/bindings/net/ethernet-switch.yaml +1
-1@@ -72,7 +72,7 @@ additionalProperties: true $defs: ethernet-ports: description: An ethernet switch without any extra port properties - $ref: '#' + $ref: "#" patternProperties: "^(ethernet-)?ports$":Documentation/devicetree/bindings/pci/plda,xpressrich3-axi-common.yaml +1
-1@@ -72,7 +72,7 @@ required: - reg-names - interrupts - msi-controller - - "#interrupt-cells" + - '#interrupt-cells' - interrupt-map-mask - interrupt-mapDocumentation/devicetree/bindings/phy/motorola,cpcap-usb-phy.yaml +2
-2@@ -67,8 +67,8 @@ properties: mode-gpios: description: Optional GPIOs for configuring alternate modes items: - - description: "mode selection GPIO #0" - - description: "mode selection GPIO #1" + - description: mode selection GPIO#0 + - description: mode selection GPIO#1 required: - compatibleDocumentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml +6
-6@@ -18,7 +18,7 @@ description: | properties: $nodename: - pattern: "^gpio@[0-9a-f]+$" + pattern: '^gpio@[0-9a-f]+$' compatible: enum:@@ -26,10 +26,10 @@ properties: - mscc,ocelot-sgpio - mscc,luton-sgpio - "#address-cells": + '#address-cells': const: 1 - "#size-cells": + '#size-cells': const: 0 reg:@@ -76,7 +76,7 @@ properties: - const: switch patternProperties: - "^gpio@[0-1]$": + '^gpio@[0-1]$': type: object properties: compatible:@@ -132,8 +132,8 @@ required: - reg - clocks - microchip,sgpio-port-ranges - - "#address-cells" - - "#size-cells" + - '#address-cells' + - '#size-cells' examples: - |Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml +5
-5@@ -424,13 +424,13 @@ allOf: patternProperties: '-state$': oneOf: - - $ref: "#/$defs/qcom-pmic-gpio-state" + - $ref: '#/$defs/qcom-pmic-gpio-state' - patternProperties: - "(pinconf|-pins)$": - $ref: "#/$defs/qcom-pmic-gpio-state" + '(pinconf|-pins)$': + $ref: '#/$defs/qcom-pmic-gpio-state' additionalProperties: false - "-hog(-[0-9]+)?$": + '-hog(-[0-9]+)?$': type: object required: - gpio-hog@@ -503,7 +503,7 @@ $defs: - gpio1-gpio12 for pmxr2230 items: - pattern: "^gpio([0-9]+)$" + pattern: '^gpio([0-9]+)$' function: items:Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml +3
-3@@ -74,10 +74,10 @@ required: patternProperties: '-state$': oneOf: - - $ref: "#/$defs/qcom-pmic-mpp-state" + - $ref: '#/$defs/qcom-pmic-mpp-state' - patternProperties: '-pins$': - $ref: "#/$defs/qcom-pmic-mpp-state" + $ref: '#/$defs/qcom-pmic-mpp-state' additionalProperties: false $defs:@@ -100,7 +100,7 @@ $defs: - mpp1-mpp4 for pma8084 items: - pattern: "^mpp([0-9]+)$" + pattern: '^mpp([0-9]+)$' function: items:Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml +2
-2@@ -129,7 +129,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' examples: - |@@ -190,7 +190,7 @@ examples: sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; - function = "sdhi0"; + function = "sdhi0'; power-source = <3300>; }; };Documentation/devicetree/bindings/pinctrl/renesas,rza1-ports.yaml +1
-1@@ -118,7 +118,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' examples: - |Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml +1
-1@@ -135,7 +135,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' allOf: - $ref: pinctrl.yaml#Documentation/devicetree/bindings/pinctrl/renesas,rzv2m-pinctrl.yaml +1
-1@@ -88,7 +88,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' allOf: - $ref: pinctrl.yaml#Documentation/devicetree/bindings/power/renesas,sysc-rmobile.yaml +2
-2@@ -45,7 +45,7 @@ properties: const: 0 additionalProperties: - $ref: "#/$defs/pd-node" + $ref: '#/$defs/pd-node' required: - compatible@@ -83,7 +83,7 @@ $defs: - '#power-domain-cells' additionalProperties: - $ref: "#/$defs/pd-node" + $ref: '#/$defs/pd-node' examples: - |Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml +4
-4@@ -57,7 +57,7 @@ properties: const: 0 patternProperties: - "^timer@[0-2]$": + '^timer@[0-2]$': description: The timer block channels that are used as timers or counters. type: object additionalProperties: false@@ -80,7 +80,7 @@ patternProperties: - compatible - reg - "^pwm@[0-2]$": + '^pwm@[0-2]$': description: The timer block channels that are used as PWMs. $ref: /schemas/pwm/pwm.yaml# type: object@@ -92,7 +92,7 @@ patternProperties: TCB channel to use for this PWM. enum: [ 0, 1, 2 ] - "#pwm-cells": + '#pwm-cells': description: The only third cell flag supported by this binding is PWM_POLARITY_INVERTED.@@ -101,7 +101,7 @@ patternProperties: required: - compatible - reg - - "#pwm-cells" + - '#pwm-cells' additionalProperties: falseDocumentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml +6
-6@@ -133,12 +133,12 @@ properties: property. The supported-hw is a bitfield indicating SoC speedo or process ID mask. - "#power-domain-cells": + '#power-domain-cells': const: 0 required: - operating-points-v2 - - "#power-domain-cells" + - '#power-domain-cells' i2c-thermtrip: type: object@@ -220,7 +220,7 @@ properties: xusbc USB Partition C Tegra114/124/210 patternProperties: - "^[a-z0-9]+$": + '^[a-z0-9]+$': type: object additionalProperties: false properties:@@ -365,9 +365,9 @@ allOf: additionalProperties: false dependencies: - nvidia,suspend-mode: ["nvidia,core-pwr-off-time", "nvidia,cpu-pwr-off-time"] - nvidia,core-pwr-off-time: ["nvidia,core-pwr-good-time"] - nvidia,cpu-pwr-off-time: ["nvidia,cpu-pwr-good-time"] + nvidia,suspend-mode: ['nvidia,core-pwr-off-time', 'nvidia,cpu-pwr-off-time'] + nvidia,core-pwr-off-time: ['nvidia,core-pwr-good-time'] + nvidia,cpu-pwr-off-time: ['nvidia,cpu-pwr-good-time'] examples: - |Signature · 1 line
2.51.0
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 7 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Signed-off-by Rob Herring (Arm) <[email protected]>---
Best regards,
Krzysztof
Hi Rob,
Quoted 6 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Signed-off-by Rob Herring (Arm) <[email protected]>
Thanks for your patch!
Since you are mentioning mixed quotes, is one or the other preferred? Shouldn't we try to be consistent across all files?
Quoted 12 lines
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml +1
-1@@ -129,7 +129,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' examples: - |
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml examples: · line 193
Quoted 5 lines
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml +1
-1@@ -190,7 +190,7 @@ examples: sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; - function = "sdhi0"; + function = "sdhi0';
Huh?
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml examples: · line 196
Quoted 3 lines
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml +0
-0power-source = <3300>; }; };
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Quoted 5 lines · On Wed, 15 Oct 2025 18:16:24 -0500 "Rob Herring (Arm)" <[email protected]> wrote:
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). Use whichever quoting is dominate in the file.
Quoted 8 lines
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../arm/altera/socfpga-clk-manager.yaml | 4 ++-- .../bindings/clock/nvidia,tegra124-car.yaml | 8 ++++---- .../bindings/clock/nvidia,tegra20-car.yaml | 6 +++--- .../devicetree/bindings/gpio/gpio-mxs.yaml | 9 +++++---- .../bindings/gpio/snps,dw-apb-gpio.yaml | 4 ++-- .../bindings/iio/temperature/adi,ltc2983.yaml | 20 +++++++++----------
For this one
Rob Herring
maintainerQuoted 9 lines · Geert Uytterhoeven
Hi Rob,
Quoted 5 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Quoted 5 lines
Quoted 1 line
Signed-off-by Rob Herring (Arm) <[email protected]>Thanks for your patch!
Since you are mentioning mixed quotes, is one or the other preferred?
I have a slight preference for single quotes.
Quoted 1 line
Shouldn't we try to be consistent across all files?
I don't particularly care to change 915 files. And if the tools don't enforce it, I'm not going to do so in reviews.
Quoted 13 lines
Quoted 13 lines
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml +1
-1@@ -129,7 +129,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' examples: - |@@ -190,7 +190,7 @@ examples:
Quoted 6 lines
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml examples: · line 193
Quoted 4 lines
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml +1
-1sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; - function = "sdhi0"; + function = "sdhi0';Huh?
One too many search and replace. Fixed.
Rob
Hi Rob,
Quoted 7 lines · Rob Herring
Quoted 6 lines · Geert Uytterhoeven
Quoted 5 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Rob Herring (Arm) <[email protected]>Thanks for your patch!
Since you are mentioning mixed quotes, is one or the other preferred?
I have a slight preference for single quotes.
OK, so outside human-readable descriptions, there should only be double quotes in property values, i.e. on lines ending with a comma or a semicolon. Sounds like that can be scripted, or validated by scripting.
Quoted 4 lines
Quoted 1 line
Shouldn't we try to be consistent across all files?
I don't particularly care to change 915 files. And if the tools don't enforce it, I'm not going to do so in reviews.
Fair enough.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Frank Li
maintainerQuoted 4 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Can we simple require only use one of " or ' to let everyone follow easily? support both " or ' is unneccessary options.
like hexvalue in dts should be lowcase.
Frank
Quoted 689 lines
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../arm/altera/socfpga-clk-manager.yaml | 4 ++-- .../bindings/clock/nvidia,tegra124-car.yaml | 8 ++++---- .../bindings/clock/nvidia,tegra20-car.yaml | 6 +++--- .../devicetree/bindings/gpio/gpio-mxs.yaml | 9 +++++---- .../bindings/gpio/snps,dw-apb-gpio.yaml | 4 ++-- .../bindings/iio/temperature/adi,ltc2983.yaml | 20 +++++++++---------- .../mailbox/qcom,apcs-kpss-global.yaml | 16 +++++++-------- .../mailbox/xlnx,zynqmp-ipi-mailbox.yaml | 2 +- .../bindings/media/fsl,imx6q-vdoa.yaml | 2 +- .../devicetree/bindings/mfd/aspeed-lpc.yaml | 4 ++-- .../devicetree/bindings/mfd/ti,twl.yaml | 4 ++-- .../bindings/net/ethernet-switch.yaml | 2 +- .../pci/plda,xpressrich3-axi-common.yaml | 2 +- .../bindings/phy/motorola,cpcap-usb-phy.yaml | 4 ++-- .../pinctrl/microchip,sparx5-sgpio.yaml | 12 +++++------ .../bindings/pinctrl/qcom,pmic-gpio.yaml | 10 +++++----- .../bindings/pinctrl/qcom,pmic-mpp.yaml | 6 +++--- .../bindings/pinctrl/renesas,pfc.yaml | 4 ++-- .../bindings/pinctrl/renesas,rza1-ports.yaml | 2 +- .../pinctrl/renesas,rzg2l-pinctrl.yaml | 2 +- .../pinctrl/renesas,rzv2m-pinctrl.yaml | 2 +- .../bindings/power/renesas,sysc-rmobile.yaml | 4 ++-- .../soc/microchip/atmel,at91rm9200-tcb.yaml | 8 ++++---- .../soc/tegra/nvidia,tegra20-pmc.yaml | 12 +++++------ 24 files changed, 75 insertions(+), 74 deletions(-)Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml +2
-2@@ -39,7 +39,7 @@ properties: "^[a-z0-9,_]+(clk|pll|clk_gate|clk_divided)(@[a-f0-9]+)?$": type: object - $ref: '#/$defs/clock-props' + $ref: "#/$defs/clock-props" unevaluatedProperties: false properties:@@ -67,7 +67,7 @@ properties: patternProperties: "^[a-z0-9,_]+(clk|pll)(@[a-f0-9]+)?$": type: object - $ref: '#/$defs/clock-props' + $ref: "#/$defs/clock-props" unevaluatedProperties: false properties:Documentation/devicetree/bindings/clock/nvidia,tegra124-car.yaml +4
-4@@ -37,7 +37,7 @@ properties: '#clock-cells': const: 1 - "#reset-cells": + '#reset-cells': const: 1 nvidia,external-memory-controller:@@ -46,7 +46,7 @@ properties: phandle of the external memory controller node patternProperties: - "^emc-timings-[0-9]+$": + '^emc-timings-[0-9]+$': type: object properties: nvidia,ram-code:@@ -56,7 +56,7 @@ patternProperties: this timing set is used for patternProperties: - "^timing-[0-9]+$": + '^timing-[0-9]+$': type: object properties: clock-frequency:@@ -94,7 +94,7 @@ required: - compatible - reg - '#clock-cells' - - "#reset-cells" + - '#reset-cells' additionalProperties: falseDocumentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml +3
-3@@ -39,11 +39,11 @@ properties: '#clock-cells': const: 1 - "#reset-cells": + '#reset-cells': const: 1 patternProperties: - "^(sclk)|(pll-[cem])$": + '^(sclk)|(pll-[cem])$': type: object properties: compatible:@@ -76,7 +76,7 @@ required: - compatible - reg - '#clock-cells' - - "#reset-cells" + - '#reset-cells' additionalProperties: falseDocumentation/devicetree/bindings/gpio/gpio-mxs.yaml +5
-4@@ -26,9 +26,10 @@ properties: # Devices. Keep it as it to be compatible existed dts files. - const: simple-bus - '#address-cells': + "#address-cells": const: 1 - '#size-cells': + + "#size-cells": const: 0 reg:@@ -132,8 +133,8 @@ patternProperties: required: - compatible - reg - - '#address-cells' - - '#size-cells' + - "#address-cells" + - "#size-cells" additionalProperties: falseDocumentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml +2
-2@@ -111,8 +111,8 @@ additionalProperties: false required: - compatible - reg - - "#address-cells" - - "#size-cells" + - '#address-cells' + - '#size-cells' examples: - |Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml +10
-10@@ -88,7 +88,7 @@ properties: const: 0 patternProperties: - "^thermocouple@": + '^thermocouple@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false@@ -146,7 +146,7 @@ patternProperties: required: - adi,custom-thermocouple - "^diode@": + '^diode@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false@@ -191,7 +191,7 @@ patternProperties: $ref: /schemas/types.yaml#/definitions/uint32 default: 0 - "^rtd@": + '^rtd@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: RTD sensor.@@ -280,7 +280,7 @@ patternProperties: type: boolean dependencies: - adi,current-rotate: [ "adi,rsense-share" ] + adi,current-rotate: [ 'adi,rsense-share' ] - if: properties:@@ -290,7 +290,7 @@ patternProperties: required: - adi,custom-rtd - "^thermistor@": + '^thermistor@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Thermistor sensor.@@ -364,7 +364,7 @@ patternProperties: - adi,rsense-handle dependencies: - adi,current-rotate: [ "adi,rsense-share" ] + adi,current-rotate: [ 'adi,rsense-share' ] allOf: - if:@@ -392,7 +392,7 @@ patternProperties: required: - adi,custom-thermistor - "^adc@": + '^adc@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Direct ADC sensor.@@ -407,7 +407,7 @@ patternProperties: description: Whether the sensor is single-ended. type: boolean - "^temp@": + '^temp@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Active analog temperature sensor.@@ -437,7 +437,7 @@ patternProperties: required: - adi,custom-temp - "^rsense@": + '^rsense@': $ref: '#/$defs/sensor-node' unevaluatedProperties: false description: Sense resistor sensor.@@ -476,7 +476,7 @@ allOf: - adi,ltc2984 then: patternProperties: - "^temp@": false + '^temp@': false examples: - |Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml +8
-8@@ -187,10 +187,10 @@ allOf: enum: - qcom,msm8916-apcs-kpss-global then: - $ref: "#/$defs/msm8916-apcs-clock-controller" + $ref: '#/$defs/msm8916-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/msm8916-apcs-clock-controller" + $ref: '#/$defs/msm8916-apcs-clock-controller' - if: properties:@@ -199,10 +199,10 @@ allOf: enum: - qcom,msm8939-apcs-kpss-global then: - $ref: "#/$defs/msm8939-apcs-clock-controller" + $ref: '#/$defs/msm8939-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/msm8939-apcs-clock-controller" + $ref: '#/$defs/msm8939-apcs-clock-controller' - if: properties:@@ -211,10 +211,10 @@ allOf: enum: - qcom,sdx55-apcs-gcc then: - $ref: "#/$defs/sdx55-apcs-clock-controller" + $ref: '#/$defs/sdx55-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/sdx55-apcs-clock-controller" + $ref: '#/$defs/sdx55-apcs-clock-controller' - if: properties:@@ -223,10 +223,10 @@ allOf: enum: - qcom,ipq6018-apcs-apps-global then: - $ref: "#/$defs/ipq6018-apcs-clock-controller" + $ref: '#/$defs/ipq6018-apcs-clock-controller' properties: clock-controller: - $ref: "#/$defs/ipq6018-apcs-clock-controller" + $ref: '#/$defs/ipq6018-apcs-clock-controller' - if: properties:Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +1
-1@@ -142,7 +142,7 @@ patternProperties: - compatible - reg - reg-names - - "#mbox-cells" + - '#mbox-cells' - xlnx,ipi-id required:Documentation/devicetree/bindings/media/fsl,imx6q-vdoa.yaml +1
-1@@ -16,7 +16,7 @@ maintainers: properties: compatible: - const: "fsl,imx6q-vdoa" + const: fsl,imx6q-vdoa reg: maxItems: 1Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml +2
-2@@ -111,12 +111,12 @@ patternProperties: reg: maxItems: 1 - '#reset-cells': + "#reset-cells": const: 1 required: - compatible - - '#reset-cells' + - "#reset-cells" "^lpc-snoop@[0-9a-f]+$": type: objectDocumentation/devicetree/bindings/mfd/ti,twl.yaml +2
-2@@ -400,7 +400,7 @@ properties: - '#pwm-cells' patternProperties: - "^regulator-": + '^regulator-': type: object unevaluatedProperties: false $ref: /schemas/regulator/regulator.yaml@@ -429,7 +429,7 @@ required: - reg - interrupts - interrupt-controller - - "#interrupt-cells" + - '#interrupt-cells' examples: - |Documentation/devicetree/bindings/net/ethernet-switch.yaml +1
-1@@ -72,7 +72,7 @@ additionalProperties: true $defs: ethernet-ports: description: An ethernet switch without any extra port properties - $ref: '#' + $ref: "#" patternProperties: "^(ethernet-)?ports$":Documentation/devicetree/bindings/pci/plda,xpressrich3-axi-common.yaml +1
-1@@ -72,7 +72,7 @@ required: - reg-names - interrupts - msi-controller - - "#interrupt-cells" + - '#interrupt-cells' - interrupt-map-mask - interrupt-mapDocumentation/devicetree/bindings/phy/motorola,cpcap-usb-phy.yaml +2
-2@@ -67,8 +67,8 @@ properties: mode-gpios: description: Optional GPIOs for configuring alternate modes items: - - description: "mode selection GPIO #0" - - description: "mode selection GPIO #1" + - description: mode selection GPIO#0 + - description: mode selection GPIO#1 required: - compatibleDocumentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml +6
-6@@ -18,7 +18,7 @@ description: | properties: $nodename: - pattern: "^gpio@[0-9a-f]+$" + pattern: '^gpio@[0-9a-f]+$' compatible: enum:@@ -26,10 +26,10 @@ properties: - mscc,ocelot-sgpio - mscc,luton-sgpio - "#address-cells": + '#address-cells': const: 1 - "#size-cells": + '#size-cells': const: 0 reg:@@ -76,7 +76,7 @@ properties: - const: switch patternProperties: - "^gpio@[0-1]$": + '^gpio@[0-1]$': type: object properties: compatible:@@ -132,8 +132,8 @@ required: - reg - clocks - microchip,sgpio-port-ranges - - "#address-cells" - - "#size-cells" + - '#address-cells' + - '#size-cells' examples: - |Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml +5
-5@@ -424,13 +424,13 @@ allOf: patternProperties: '-state$': oneOf: - - $ref: "#/$defs/qcom-pmic-gpio-state" + - $ref: '#/$defs/qcom-pmic-gpio-state' - patternProperties: - "(pinconf|-pins)$": - $ref: "#/$defs/qcom-pmic-gpio-state" + '(pinconf|-pins)$': + $ref: '#/$defs/qcom-pmic-gpio-state' additionalProperties: false - "-hog(-[0-9]+)?$": + '-hog(-[0-9]+)?$': type: object required: - gpio-hog@@ -503,7 +503,7 @@ $defs: - gpio1-gpio12 for pmxr2230 items: - pattern: "^gpio([0-9]+)$" + pattern: '^gpio([0-9]+)$' function: items:Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml +3
-3@@ -74,10 +74,10 @@ required: patternProperties: '-state$': oneOf: - - $ref: "#/$defs/qcom-pmic-mpp-state" + - $ref: '#/$defs/qcom-pmic-mpp-state' - patternProperties: '-pins$': - $ref: "#/$defs/qcom-pmic-mpp-state" + $ref: '#/$defs/qcom-pmic-mpp-state' additionalProperties: false $defs:@@ -100,7 +100,7 @@ $defs: - mpp1-mpp4 for pma8084 items: - pattern: "^mpp([0-9]+)$" + pattern: '^mpp([0-9]+)$' function: items:Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml +2
-2@@ -129,7 +129,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' examples: - |@@ -190,7 +190,7 @@ examples: sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; - function = "sdhi0"; + function = "sdhi0'; power-source = <3300>; }; };Documentation/devicetree/bindings/pinctrl/renesas,rza1-ports.yaml +1
-1@@ -118,7 +118,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' examples: - |Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml +1
-1@@ -135,7 +135,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' allOf: - $ref: pinctrl.yaml#Documentation/devicetree/bindings/pinctrl/renesas,rzv2m-pinctrl.yaml +1
-1@@ -88,7 +88,7 @@ additionalProperties: - type: object additionalProperties: - $ref: "#/additionalProperties/anyOf/0" + $ref: '#/additionalProperties/anyOf/0' allOf: - $ref: pinctrl.yaml#Documentation/devicetree/bindings/power/renesas,sysc-rmobile.yaml +2
-2@@ -45,7 +45,7 @@ properties: const: 0 additionalProperties: - $ref: "#/$defs/pd-node" + $ref: '#/$defs/pd-node' required: - compatible@@ -83,7 +83,7 @@ $defs: - '#power-domain-cells' additionalProperties: - $ref: "#/$defs/pd-node" + $ref: '#/$defs/pd-node' examples: - |Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml +4
-4@@ -57,7 +57,7 @@ properties: const: 0 patternProperties: - "^timer@[0-2]$": + '^timer@[0-2]$': description: The timer block channels that are used as timers or counters. type: object additionalProperties: false@@ -80,7 +80,7 @@ patternProperties: - compatible - reg - "^pwm@[0-2]$": + '^pwm@[0-2]$': description: The timer block channels that are used as PWMs. $ref: /schemas/pwm/pwm.yaml# type: object@@ -92,7 +92,7 @@ patternProperties: TCB channel to use for this PWM. enum: [ 0, 1, 2 ] - "#pwm-cells": + '#pwm-cells': description: The only third cell flag supported by this binding is PWM_POLARITY_INVERTED.@@ -101,7 +101,7 @@ patternProperties: required: - compatible - reg - - "#pwm-cells" + - '#pwm-cells' additionalProperties: falseDocumentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml +6
-7@@ -133,12 +133,12 @@ properties: property. The supported-hw is a bitfield indicating SoC speedo or process ID mask. - "#power-domain-cells": + '#power-domain-cells': const: 0 required: - operating-points-v2 - - "#power-domain-cells" + - '#power-domain-cells' i2c-thermtrip: type: object@@ -220,7 +220,7 @@ properties: xusbc USB Partition C Tegra114/124/210 patternProperties: - "^[a-z0-9]+$": + '^[a-z0-9]+$': type: object additionalProperties: false properties:@@ -365,9 +365,9 @@ allOf: additionalProperties: false dependencies: - nvidia,suspend-mode: ["nvidia,core-pwr-off-time", "nvidia,cpu-pwr-off-time"] - nvidia,core-pwr-off-time: ["nvidia,core-pwr-good-time"] - nvidia,cpu-pwr-off-time: ["nvidia,cpu-pwr-good-time"] + nvidia,suspend-mode: ['nvidia,core-pwr-off-time', 'nvidia,cpu-pwr-off-time'] + nvidia,core-pwr-off-time: ['nvidia,core-pwr-good-time'] + nvidia,cpu-pwr-off-time: ['nvidia,cpu-pwr-good-time'] examples: - | --2.51.0
Rob Herring
maintainerQuoted 9 lines · Frank Li
Quoted 4 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Can we simple require only use one of " or ' to let everyone follow easily? support both " or ' is unneccessary options.
I don't really care to fix 915 files. And don't send 100s of patches for me to review either. Given we've got 5200 total, it's a good chance folks will copy the preferred style.
Rob
Quoted 6 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Signed-off-by Rob Herring (Arm) <[email protected]>
Quoted 11 lines
---
.../arm/altera/socfpga-clk-manager.yaml | 4 ++-- .../bindings/clock/nvidia,tegra124-car.yaml | 8 ++++---- .../bindings/clock/nvidia,tegra20-car.yaml | 6 +++--- .../devicetree/bindings/gpio/gpio-mxs.yaml | 9 +++++---- .../bindings/gpio/snps,dw-apb-gpio.yaml | 4 ++--.../bindings/iio/temperature/adi,ltc2983.yaml| 20 +++++++++---------- .../mailbox/qcom,apcs-kpss-global.yaml | 16 +++++++-------- .../mailbox/xlnx,zynqmp-ipi-mailbox.yaml | 2 +- .../bindings/media/fsl,imx6q-vdoa.yaml | 2 +- .../devicetree/bindings/mfd/aspeed-lpc.yaml | 4 ++--
For aspeed-lpc.yaml:
Quoted 25 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../arm/altera/socfpga-clk-manager.yaml | 4 ++-- .../bindings/clock/nvidia,tegra124-car.yaml | 8 ++++---- .../bindings/clock/nvidia,tegra20-car.yaml | 6 +++--- .../devicetree/bindings/gpio/gpio-mxs.yaml | 9 +++++---- .../bindings/gpio/snps,dw-apb-gpio.yaml | 4 ++-- .../bindings/iio/temperature/adi,ltc2983.yaml | 20 +++++++++---------- .../mailbox/qcom,apcs-kpss-global.yaml | 16 +++++++-------- .../mailbox/xlnx,zynqmp-ipi-mailbox.yaml | 2 +- .../bindings/media/fsl,imx6q-vdoa.yaml | 2 +- .../devicetree/bindings/mfd/aspeed-lpc.yaml | 4 ++-- .../devicetree/bindings/mfd/ti,twl.yaml | 4 ++-- .../bindings/net/ethernet-switch.yaml | 2 +- .../pci/plda,xpressrich3-axi-common.yaml | 2 +- .../bindings/phy/motorola,cpcap-usb-phy.yaml | 4 ++-- .../pinctrl/microchip,sparx5-sgpio.yaml | 12 +++++------ .../bindings/pinctrl/qcom,pmic-gpio.yaml | 10 +++++----- .../bindings/pinctrl/qcom,pmic-mpp.yaml | 6 +++---
Quoted 9 lines
.../bindings/pinctrl/renesas,pfc.yaml | 4 ++-- .../bindings/pinctrl/renesas,rza1-ports.yaml | 2 +- .../pinctrl/renesas,rzg2l-pinctrl.yaml | 2 +- .../pinctrl/renesas,rzv2m-pinctrl.yaml | 2 +- .../bindings/power/renesas,sysc-rmobile.yaml | 4 ++-- .../soc/microchip/atmel,at91rm9200-tcb.yaml | 8 ++++---- .../soc/tegra/nvidia,tegra20-pmc.yaml | 12 +++++------ 24 files changed, 75 insertions(+), 74 deletions(-)
For the mailbox changes
Quoted 6 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Signed-off-by Rob Herring (Arm) <[email protected]>
Yours,
Linus Walleij
Quoted 17 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../arm/altera/socfpga-clk-manager.yaml | 4 ++-- .../bindings/clock/nvidia,tegra124-car.yaml | 8 ++++---- .../bindings/clock/nvidia,tegra20-car.yaml | 6 +++--- .../devicetree/bindings/gpio/gpio-mxs.yaml | 9 +++++---- .../bindings/gpio/snps,dw-apb-gpio.yaml | 4 ++-- .../bindings/iio/temperature/adi,ltc2983.yaml | 20 +++++++++---------- .../mailbox/qcom,apcs-kpss-global.yaml | 16 +++++++-------- .../mailbox/xlnx,zynqmp-ipi-mailbox.yaml | 2 +- .../bindings/media/fsl,imx6q-vdoa.yaml | 2 +-
Quoted 2 lines
.../devicetree/bindings/mfd/aspeed-lpc.yaml | 4 ++-- .../devicetree/bindings/mfd/ti,twl.yaml | 4 ++--
Quoted 14 lines
.../bindings/net/ethernet-switch.yaml | 2 +- .../pci/plda,xpressrich3-axi-common.yaml | 2 +- .../bindings/phy/motorola,cpcap-usb-phy.yaml | 4 ++-- .../pinctrl/microchip,sparx5-sgpio.yaml | 12 +++++------ .../bindings/pinctrl/qcom,pmic-gpio.yaml | 10 +++++----- .../bindings/pinctrl/qcom,pmic-mpp.yaml | 6 +++--- .../bindings/pinctrl/renesas,pfc.yaml | 4 ++-- .../bindings/pinctrl/renesas,rza1-ports.yaml | 2 +- .../pinctrl/renesas,rzg2l-pinctrl.yaml | 2 +- .../pinctrl/renesas,rzv2m-pinctrl.yaml | 2 +- .../bindings/power/renesas,sysc-rmobile.yaml | 4 ++-- .../soc/microchip/atmel,at91rm9200-tcb.yaml | 8 ++++---- .../soc/tegra/nvidia,tegra20-pmc.yaml | 12 +++++------ 24 files changed, 75 insertions(+), 74 deletions(-)
[...]
Signature · 1 line
Lee Jones [李琼斯]
Quoted 24 lines · Rob Herring (Arm)
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). Use whichever quoting is dominate in the file.
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../arm/altera/socfpga-clk-manager.yaml | 4 ++-- .../bindings/clock/nvidia,tegra124-car.yaml | 8 ++++---- .../bindings/clock/nvidia,tegra20-car.yaml | 6 +++--- .../devicetree/bindings/gpio/gpio-mxs.yaml | 9 +++++---- .../bindings/gpio/snps,dw-apb-gpio.yaml | 4 ++-- .../bindings/iio/temperature/adi,ltc2983.yaml | 20 +++++++++---------- .../mailbox/qcom,apcs-kpss-global.yaml | 16 +++++++-------- .../mailbox/xlnx,zynqmp-ipi-mailbox.yaml | 2 +- .../bindings/media/fsl,imx6q-vdoa.yaml | 2 +- .../devicetree/bindings/mfd/aspeed-lpc.yaml | 4 ++-- .../devicetree/bindings/mfd/ti,twl.yaml | 4 ++-- .../bindings/net/ethernet-switch.yaml | 2 +- .../pci/plda,xpressrich3-axi-common.yaml | 2 +- .../bindings/phy/motorola,cpcap-usb-phy.yaml | 4 ++-- .../pinctrl/microchip,sparx5-sgpio.yaml | 12 +++++------ .../bindings/pinctrl/qcom,pmic-gpio.yaml | 10 +++++-----
Quoted 8 lines
.../bindings/pinctrl/qcom,pmic-mpp.yaml | 6 +++--- .../bindings/pinctrl/renesas,pfc.yaml | 4 ++-- .../bindings/pinctrl/renesas,rza1-ports.yaml | 2 +- .../pinctrl/renesas,rzg2l-pinctrl.yaml | 2 +- .../pinctrl/renesas,rzv2m-pinctrl.yaml | 2 +- .../bindings/power/renesas,sysc-rmobile.yaml | 4 ++-- .../soc/microchip/atmel,at91rm9200-tcb.yaml | 8 ++++---- .../soc/tegra/nvidia,tegra20-pmc.yaml | 12 +++++------
For GPIO: