Skip to contentSkip to conversation

dt-bindings: Expand flow lists to block lists

PATCH In review Daniel Matyas 3 participants 3 messages Sep 17

Subsystems (45)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: Expand flow lists to block lists

Running dt_bindings_check returned:
[error] string value is redundantly quoted with any quotes (quoted-strings)

The files used quotation marks in flow lists because the strings had commas and these commas were interpreted as separators. Convert flow style lists to block style lists, so that there is no problems with the commas.

---
 .../bindings/display/atmel,lcdc-display.yaml  |  9 ++++---
 .../devicetree/bindings/eeprom/at24.yaml      |  4 +++-
 .../devicetree/bindings/example-schema.yaml   |  6 +++--
 .../bindings/hwmon/pmbus/adi,max20830.yaml    |  6 +++--
 .../bindings/iio/adc/ti,ads112c14.yaml        |  6 +++--
 .../bindings/iio/frequency/adi,adf41513.yaml  |  3 ++-
 .../bindings/iio/frequency/adi,adrf6780.yaml  |  6 +++--
 .../bindings/iio/temperature/adi,ltc2983.yaml |  6 +++--
 .../bindings/input/azoteq,iqs7222.yaml        | 12 ++++++----
 .../bindings/input/google,cros-ec-keyb.yaml   |  6 +++--
 .../devicetree/bindings/input/input.yaml      |  3 ++-
 .../devicetree/bindings/input/iqs269a.yaml    | 12 ++++++----
 .../devicetree/bindings/input/iqs626a.yaml    | 15 ++++++++----
 .../input/touchscreen/azoteq,iqs7211.yaml     | 24 ++++++++++++-------
 .../interrupt-controller/riscv,aplic.yaml     |  3 ++-
 .../bindings/mfd/maxim,max8998.yaml           |  6 +++--
 .../bindings/mfd/samsung,s5m8767.yaml         | 21 +++++++++++-----
 .../devicetree/bindings/mmc/arm,pl18x.yaml    |  9 ++++---
 .../bindings/mtd/amlogic,meson-nand.yaml      |  8 +++++--
 .../devicetree/bindings/net/snps,dwmac.yaml   |  6 +++--
 .../bindings/pci/brcm,iproc-pcie.yaml         |  3 ++-
 .../devicetree/bindings/perf/riscv,pmu.yaml   |  3 ++-
 .../phy/hisilicon,hi3798cv200-combphy.yaml    |  6 +++--
 .../bindings/phy/nvidia,tegra20-usb-phy.yaml  |  6 +++--
 .../bindings/regulator/adi,max77857.yaml      |  6 +++--
 .../bindings/regulator/maxim,max8997.yaml     |  9 ++++---
 .../regulator/samsung,s2mpg10-regulator.yaml  |  3 ++-
 .../regulator/samsung,s2mpg11-regulator.yaml  |  3 ++-
 .../bindings/regulator/ti,tps65132.yaml       |  3 ++-
 .../devicetree/bindings/riscv/cpus.yaml       |  6 +++--
 .../bindings/rtc/abracon,abx80x.yaml          |  6 +++--
 .../soc/tegra/nvidia,tegra20-pmc.yaml         | 10 +++++---
 .../bindings/sound/ti,tlv320adc3xxx.yaml      |  6 +++--
 .../devicetree/bindings/sound/wlf,wm8904.yaml | 18 ++++++++++----
 .../devicetree/bindings/tpm/tpm-common.yaml   |  6 +++--
 .../bindings/usb/mediatek,mtk-xhci.yaml       |  3 ++-
 .../bindings/usb/mediatek,mtu3.yaml           | 12 ++++++----
 .../bindings/watchdog/atmel,at91sam9-wdt.yaml |  3 ++-
 38 files changed, 192 insertions(+), 91 deletions(-)
Documentation/devicetree/bindings/display/atmel,lcdc-display.yaml +6 -3
index a5cf040ab4ea..51aa13f6a348 100644
@@ -23,9 +23,12 @@ description:
 
 select:
   anyOf:
-    - required: [ 'atmel,dmacon' ]
-    - required: [ 'atmel,lcdcon2' ]
-    - required: [ 'atmel,guard-time' ]
+    - required:
+        - atmel,dmacon
+    - required:
+        - atmel,lcdcon2
+    - required:
+        - atmel,guard-time
 
 properties:
   atmel,dmacon:
Documentation/devicetree/bindings/eeprom/at24.yaml +3 -1
index ef88f46928a4..6d9167cfd12d 100644
@@ -20,7 +20,9 @@ select:
       contains:
         anyOf:
           - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$"
-          - enum: ["microchip,24aa025e48", "microchip,24aa025e64"]
+          - enum:
+              - microchip,24aa025e48
+              - microchip,24aa025e64
   required:
     - compatible
 
Documentation/devicetree/bindings/example-schema.yaml +4 -2
index b04f3cc4312c..4ff46f1384b9 100644
@@ -206,10 +206,12 @@ properties:
 dependencies:
   # 'vendor,bool-property' is only allowed when 'vendor,string-array-property'
   # is present
-  vendor,bool-property: [ 'vendor,string-array-property' ]
+  vendor,bool-property:
+    - vendor,string-array-property
   # Expressing 2 properties in both orders means all of the set of properties
   # must be present or none of them.
-  vendor,string-array-property: [ 'vendor,bool-property' ]
+  vendor,string-array-property:
+    - vendor,bool-property
 
 required:
   - compatible
Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml +4 -2
index cc50a4ee44a2..7904dacff789 100644
@@ -67,8 +67,10 @@ required:
   - vddh-supply
 
 dependencies:
-  adi,vout-rfb1-ohms: ['adi,vout-rfb2-ohms']
-  adi,vout-rfb2-ohms: ['adi,vout-rfb1-ohms']
+  adi,vout-rfb1-ohms:
+    - adi,vout-rfb2-ohms
+  adi,vout-rfb2-ohms:
+    - adi,vout-rfb1-ohms
 
 unevaluatedProperties: false
 
Documentation/devicetree/bindings/iio/adc/ti,ads112c14.yaml +4 -2
index facfeee61330..6dd59552a41f 100644
@@ -132,8 +132,10 @@ dependencies:
   refn-supply: [ refp-supply ]
 
 oneOf:
-  - required: [ refp-supply ]
-  - required: [ "ti,refp-refn-resistor-ohms" ]
+  - required:
+      - refp-supply
+  - required:
+      - ti,refp-refn-resistor-ohms
   - properties:
       refp-supply: false
       refn-supply: false
Documentation/devicetree/bindings/iio/frequency/adi,adf41513.yaml +2 -1
index f4fae9210382..c71ebc039af2 100644
@@ -166,7 +166,8 @@ properties:
     type: boolean
 
 dependencies:
-  adi,charge-pump-resistor-ohms: [ 'adi,charge-pump-current-microamp' ]
+  adi,charge-pump-resistor-ohms:
+    - adi,charge-pump-current-microamp
 
 required:
   - compatible
Documentation/devicetree/bindings/iio/frequency/adi,adrf6780.yaml +4 -2
index f11391ab4b62..2bb3ddd252c9 100644
@@ -104,8 +104,10 @@ properties:
     const: 0
 
 dependencies:
-  adi,lo-x2-en: [ "adi,lo-en" ]
-  adi,lo-ppf-en: [ "adi,lo-en" ]
+  adi,lo-x2-en:
+    - adi,lo-en
+  adi,lo-ppf-en:
+    - adi,lo-en
 
 required:
   - compatible
Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml +4 -2
index 13e5f29f0588..19fc978deb76 100644
@@ -284,7 +284,8 @@ patternProperties:
               type: boolean
 
           dependencies:
-            adi,current-rotate: [ 'adi,rsense-share' ]
+            adi,current-rotate:
+              - adi,rsense-share
 
       - if:
           properties:
@@ -368,7 +369,8 @@ patternProperties:
       - adi,rsense-handle
 
     dependencies:
-      adi,current-rotate: [ 'adi,rsense-share' ]
+      adi,current-rotate:
+        - adi,rsense-share
 
     allOf:
       - if:
Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml +8 -4
index 418c168b223b..5043ed4cbd5c 100644
@@ -396,8 +396,10 @@ patternProperties:
         description: Specifies the cycle's current reference trim.
 
     dependencies:
-      azoteq,iref-level: ["azoteq,iref-enable"]
-      azoteq,iref-trim: ["azoteq,iref-enable"]
+      azoteq,iref-level:
+        - azoteq,iref-enable
+      azoteq,iref-trim:
+        - azoteq,iref-enable
 
     additionalProperties: false
 
@@ -627,8 +629,10 @@ patternProperties:
         additionalProperties: false
 
     dependencies:
-      azoteq,ref-weight: ["azoteq,ref-select"]
-      azoteq,use-prox: ["azoteq,ref-select"]
+      azoteq,ref-weight:
+        - azoteq,ref-select
+      azoteq,use-prox:
+        - azoteq,ref-select
 
     additionalProperties: false
 
Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml +4 -2
index fefaaf46a240..a8e61ad5b52a 100644
@@ -45,8 +45,10 @@ properties:
       when the keyboard has a custom design for the top row keys.
 
 dependencies:
-  function-row-physmap: [ 'linux,keymap' ]
-  google,needs-ghost-filter: [ 'linux,keymap' ]
+  function-row-physmap:
+    - linux,keymap
+  google,needs-ghost-filter:
+    - linux,keymap
 
 required:
   - compatible
Documentation/devicetree/bindings/input/input.yaml +2 -1
index 64d1c46cb2f2..7181af1ac8c2 100644
@@ -75,6 +75,7 @@ properties:
     default: 0
 
 dependencies:
-  linux,input-type: [ "linux,code" ]
+  linux,input-type:
+    - linux,code
 
 additionalProperties: true
Documentation/devicetree/bindings/input/iqs269a.yaml +8 -4
index 2c3f693b8982..e77702feaeca 100644
@@ -272,10 +272,14 @@ properties:
       in order to be interpreted as a flick or swipe.
 
 dependencies:
-  azoteq,gesture-swipe: ["linux,keycodes"]
-  azoteq,timeout-tap-ms: ["linux,keycodes"]
-  azoteq,timeout-swipe-ms: ["linux,keycodes"]
-  azoteq,thresh-swipe: ["linux,keycodes"]
+  azoteq,gesture-swipe:
+    - linux,keycodes
+  azoteq,timeout-tap-ms:
+    - linux,keycodes
+  azoteq,timeout-swipe-ms:
+    - linux,keycodes
+  azoteq,thresh-swipe:
+    - linux,keycodes
 
 patternProperties:
   "^channel@[0-7]$":
Documentation/devicetree/bindings/input/iqs626a.yaml +10 -5
index e424d67b0542..534ee0742fdb 100644
@@ -500,7 +500,8 @@ patternProperties:
         additionalProperties: false
 
     dependencies:
-      azoteq,assoc-weight: ["azoteq,assoc-select"]
+      azoteq,assoc-weight:
+        - azoteq,assoc-select
 
     additionalProperties: false
 
@@ -722,10 +723,14 @@ patternProperties:
         additionalProperties: false
 
     dependencies:
-      azoteq,gesture-swipe: ["linux,keycodes"]
-      azoteq,timeout-tap-ms: ["linux,keycodes"]
-      azoteq,timeout-swipe-ms: ["linux,keycodes"]
-      azoteq,thresh-swipe: ["linux,keycodes"]
+      azoteq,gesture-swipe:
+        - linux,keycodes
+      azoteq,timeout-tap-ms:
+        - linux,keycodes
+      azoteq,timeout-swipe-ms:
+        - linux,keycodes
+      azoteq,thresh-swipe:
+        - linux,keycodes
 
     additionalProperties: false
 
Documentation/devicetree/bindings/input/touchscreen/azoteq,iqs7211.yaml +16 -8
index e4dbbafb3779..bb5407649717 100644
@@ -347,9 +347,12 @@ properties:
         additionalProperties: false
 
     dependencies:
-      azoteq,rx-enable: ["azoteq,tx-enable"]
-      azoteq,tx-enable: ["azoteq,rx-enable"]
-      azoteq,channel-select: ["azoteq,rx-enable"]
+      azoteq,rx-enable:
+        - azoteq,tx-enable
+      azoteq,tx-enable:
+        - azoteq,rx-enable
+      azoteq,channel-select:
+        - azoteq,rx-enable
 
     additionalProperties: false
 
@@ -592,11 +595,16 @@ properties:
   touchscreen-swapped-x-y: true
 
 dependencies:
-  touchscreen-size-x: ["azoteq,num-contacts"]
-  touchscreen-size-y: ["azoteq,num-contacts"]
-  touchscreen-inverted-x: ["azoteq,num-contacts"]
-  touchscreen-inverted-y: ["azoteq,num-contacts"]
-  touchscreen-swapped-x-y: ["azoteq,num-contacts"]
+  touchscreen-size-x:
+    - azoteq,num-contacts
+  touchscreen-size-y:
+    - azoteq,num-contacts
+  touchscreen-inverted-x:
+    - azoteq,num-contacts
+  touchscreen-inverted-y:
+    - azoteq,num-contacts
+  touchscreen-swapped-x-y:
+    - azoteq,num-contacts
 
 required:
   - compatible
Documentation/devicetree/bindings/interrupt-controller/riscv,aplic.yaml +2 -1
index 0718071444d2..20a52bd25bd8 100644
@@ -101,7 +101,8 @@ properties:
       that is mentioned in the "interrupts-extended"
 
 dependencies:
-  riscv,delegation: [ "riscv,children" ]
+  riscv,delegation:
+    - riscv,children
 
 required:
   - compatible
Documentation/devicetree/bindings/mfd/maxim,max8998.yaml +4 -2
index f3c3f64fd012..a4fd1805b13f 100644
@@ -130,8 +130,10 @@ properties:
           - regulator-name
 
 dependencies:
-  max8998,pmic-buck1-dvs-gpios: [ "max8998,pmic-buck1-dvs-voltage" ]
-  max8998,pmic-buck2-dvs-gpio: [ "max8998,pmic-buck2-dvs-voltage" ]
+  max8998,pmic-buck1-dvs-gpios:
+    - max8998,pmic-buck1-dvs-voltage
+  max8998,pmic-buck2-dvs-gpio:
+    - max8998,pmic-buck2-dvs-voltage
 
 required:
   - compatible
Documentation/devicetree/bindings/mfd/samsung,s5m8767.yaml +15 -6
index 249248078c59..df0640423757 100644
@@ -143,12 +143,21 @@ required:
   - s5m8767,pmic-buck-ds-gpios
 
 dependencies:
-  s5m8767,pmic-buck2-dvs-voltage: [ 's5m8767,pmic-buck-dvs-gpios' ]
-  s5m8767,pmic-buck3-dvs-voltage: [ 's5m8767,pmic-buck-dvs-gpios' ]
-  s5m8767,pmic-buck4-dvs-voltage: [ 's5m8767,pmic-buck-dvs-gpios' ]
-  s5m8767,pmic-buck2-uses-gpio-dvs: [ 's5m8767,pmic-buck-dvs-gpios', 's5m8767,pmic-buck2-dvs-voltage' ]
-  s5m8767,pmic-buck3-uses-gpio-dvs: [ 's5m8767,pmic-buck-dvs-gpios', 's5m8767,pmic-buck3-dvs-voltage' ]
-  s5m8767,pmic-buck4-uses-gpio-dvs: [ 's5m8767,pmic-buck-dvs-gpios', 's5m8767,pmic-buck4-dvs-voltage' ]
+  s5m8767,pmic-buck2-dvs-voltage:
+    - s5m8767,pmic-buck-dvs-gpios
+  s5m8767,pmic-buck3-dvs-voltage:
+    - s5m8767,pmic-buck-dvs-gpios
+  s5m8767,pmic-buck4-dvs-voltage:
+    - s5m8767,pmic-buck-dvs-gpios
+  s5m8767,pmic-buck2-uses-gpio-dvs:
+    - s5m8767,pmic-buck-dvs-gpios
+    - s5m8767,pmic-buck2-dvs-voltage
+  s5m8767,pmic-buck3-uses-gpio-dvs:
+    - s5m8767,pmic-buck-dvs-gpios
+    - s5m8767,pmic-buck3-dvs-voltage
+  s5m8767,pmic-buck4-uses-gpio-dvs:
+    - s5m8767,pmic-buck-dvs-gpios
+    - s5m8767,pmic-buck4-dvs-voltage
 
 additionalProperties: false
 
Documentation/devicetree/bindings/mmc/arm,pl18x.yaml +6 -3
index 8d62be4355a0..fec8ecbb56d5 100644
@@ -168,9 +168,12 @@ properties:
       The GPIO matching the CKIN pin.
 
 dependencies:
-  st,cmd-gpios: [ "st,use-ckin" ]
-  st,ck-gpios: [ "st,use-ckin" ]
-  st,ckin-gpios: [ "st,use-ckin" ]
+  st,cmd-gpios:
+    - st,use-ckin
+  st,ck-gpios:
+    - st,use-ckin
+  st,ckin-gpios:
+    - st,use-ckin
 
 unevaluatedProperties: false
 
Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml +6 -2
index fa2aa29be794..00079edc7dd3 100644
@@ -85,8 +85,12 @@ patternProperties:
     dependencies:
       nand-ecc-strength: [nand-ecc-step-size]
       nand-ecc-step-size: [nand-ecc-strength]
-      amlogic,boot-pages: [nand-is-boot-medium, "amlogic,boot-page-step"]
-      amlogic,boot-page-step: [nand-is-boot-medium, "amlogic,boot-pages"]
+      amlogic,boot-pages:
+        - nand-is-boot-medium
+        - amlogic,boot-page-step
+      amlogic,boot-page-step:
+        - nand-is-boot-medium
+        - amlogic,boot-pages
 
 required:
   - compatible
Documentation/devicetree/bindings/net/snps,dwmac.yaml +4 -2
index 2449311c6d28..8eb84942ce3f 100644
@@ -605,8 +605,10 @@ required:
   - phy-mode
 
 dependencies:
-  snps,reset-active-low: ["snps,reset-gpio"]
-  snps,reset-delays-us: ["snps,reset-gpio"]
+  snps,reset-active-low:
+    - snps,reset-gpio
+  snps,reset-delays-us:
+    - snps,reset-gpio
 
 allOf:
   - $ref: ethernet-controller.yaml#
Documentation/devicetree/bindings/pci/brcm,iproc-pcie.yaml +2 -1
index 18e7981241b5..2f1be6420e23 100644
@@ -82,7 +82,8 @@ properties:
   msi-parent: true
 
 dependencies:
-  brcm,pcie-ob-axi-offset: ["brcm,pcie-ob"]
+  brcm,pcie-ob-axi-offset:
+    - brcm,pcie-ob
   brcm,pcie-msi-inten: [msi-controller]
 
 required:
Documentation/devicetree/bindings/perf/riscv,pmu.yaml +2 -1
index d01c677ad3c7..aa2ccf00d136 100644
@@ -90,7 +90,8 @@ properties:
             bitmap of all MHPMCOUNTERx that can monitor the range of events
 
 dependencies:
-  riscv,event-to-mhpmevent: [ "riscv,event-to-mhpmcounters" ]
+  riscv,event-to-mhpmevent:
+    - riscv,event-to-mhpmcounters
 
 required:
   - compatible
Documentation/devicetree/bindings/phy/hisilicon,hi3798cv200-combphy.yaml +4 -2
index 81001966f657..2040723f5297 100644
@@ -48,8 +48,10 @@ required:
   - resets
 
 oneOf:
-  - required: ['hisilicon,fixed-mode']
-  - required: ['hisilicon,mode-select-bits']
+  - required:
+      - hisilicon,fixed-mode
+  - required:
+      - hisilicon,mode-select-bits
 
 additionalProperties: false
 
Documentation/devicetree/bindings/phy/nvidia,tegra20-usb-phy.yaml +4 -2
index a37e8322dc50..90eba0e6ecdb 100644
@@ -251,8 +251,10 @@ allOf:
         - nvidia,xcvr-lsrslew
 
       anyOf:
-        - required: ["nvidia,xcvr-setup"]
-        - required: ["nvidia,xcvr-setup-use-fuses"]
+        - required:
+            - nvidia,xcvr-setup
+        - required:
+            - nvidia,xcvr-setup-use-fuses
 
       if:
         properties:
Documentation/devicetree/bindings/regulator/adi,max77857.yaml +4 -2
index d1fa74aca721..4191c5f3dcd0 100644
@@ -43,8 +43,10 @@ properties:
     description: Bottom feedback resistor value in ohms for external feedback.
 
 dependencies:
-  adi,rtop-ohms: [ 'adi,rbot-ohms' ]
-  adi,rbot-ohms: [ 'adi,rtop-ohms' ]
+  adi,rtop-ohms:
+    - adi,rbot-ohms
+  adi,rbot-ohms:
+    - adi,rtop-ohms
 
 required:
   - compatible
Documentation/devicetree/bindings/regulator/maxim,max8997.yaml +6 -3
index 2b266ea43716..acc493840588 100644
@@ -251,9 +251,12 @@ required:
   - regulators
 
 dependencies:
-  max8997,pmic-buck1-uses-gpio-dvs: [ 'max8997,pmic-buck125-dvs-gpios' ]
-  max8997,pmic-buck2-uses-gpio-dvs: [ 'max8997,pmic-buck125-dvs-gpios' ]
-  max8997,pmic-buck5-uses-gpio-dvs: [ 'max8997,pmic-buck125-dvs-gpios' ]
+  max8997,pmic-buck1-uses-gpio-dvs:
+    - max8997,pmic-buck125-dvs-gpios
+  max8997,pmic-buck2-uses-gpio-dvs:
+    - max8997,pmic-buck125-dvs-gpios
+  max8997,pmic-buck5-uses-gpio-dvs:
+    - max8997,pmic-buck125-dvs-gpios
 
 additionalProperties: false
 
Documentation/devicetree/bindings/regulator/samsung,s2mpg10-regulator.yaml +2 -1
index 7252f94b3a8f..506b61175ae9 100644
@@ -139,7 +139,8 @@ $defs:
           property describes the GPIO line used.
 
     dependentRequired:
-      enable-gpios: [ "samsung,ext-control" ]
+      enable-gpios:
+        - samsung,ext-control
 
 allOf:
   # Bucks 8, 9, and LDO 1 can not be controlled externally - above definition
Documentation/devicetree/bindings/regulator/samsung,s2mpg11-regulator.yaml +2 -1
index 119386325d1b..3a8a2945efd7 100644
@@ -116,7 +116,8 @@ $defs:
           property describes the GPIO line used.
 
     dependentRequired:
-      enable-gpios: [ "samsung,ext-control" ]
+      enable-gpios:
+        - samsung,ext-control
 
 allOf:
   # Bucks 4, 6, 7 and 10 can not be controlled externally - above definition
Documentation/devicetree/bindings/regulator/ti,tps65132.yaml +2 -1
index 873d92738eb0..f120f82398dc 100644
@@ -48,7 +48,8 @@ patternProperties:
         description: Regulator active discharge time in microseconds.
 
     dependencies:
-      active-discharge-gpios: [ 'ti,active-discharge-time-us' ]
+      active-discharge-gpios:
+        - ti,active-discharge-time-us
 
 required:
   - compatible
Documentation/devicetree/bindings/riscv/cpus.yaml +4 -2
index 5feeb2203050..26914597d049 100644
@@ -151,8 +151,10 @@ anyOf:
       - riscv,isa-base
 
 dependencies:
-  riscv,isa-base: [ "riscv,isa-extensions" ]
-  riscv,isa-extensions: [ "riscv,isa-base" ]
+  riscv,isa-base:
+    - riscv,isa-extensions
+  riscv,isa-extensions:
+    - riscv,isa-base
 
 required:
   - interrupt-controller
Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml +4 -2
index 355b0598411a..9990de48bdd3 100644
@@ -53,8 +53,10 @@ properties:
     enum: [0, 3, 6, 11]
 
 dependentRequired:
-  abracon,tc-diode: ["abracon,tc-resistor"]
-  abracon,tc-resistor: ["abracon,tc-diode"]
+  abracon,tc-diode:
+    - abracon,tc-resistor
+  abracon,tc-resistor:
+    - abracon,tc-diode
 
 required:
   - compatible
Documentation/devicetree/bindings/soc/tegra/nvidia,tegra20-pmc.yaml +7 -3
index f516960dbbef..819adf7e005e 100644
@@ -365,9 +365,13 @@ 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:
   - |
Documentation/devicetree/bindings/sound/ti,tlv320adc3xxx.yaml +4 -2
index 66b76656229f..4e02f2dc5aa8 100644
@@ -125,8 +125,10 @@ properties:
       Mic bias voltage output on MICBIAS2 pin
 
 dependencies:
-  ti,micbias1-gpo: ['ti,micbias1-vg']
-  ti,micbias2-gpo: ['ti,micbias2-vg']
+  ti,micbias1-gpo:
+    - ti,micbias1-vg
+  ti,micbias2-gpo:
+    - ti,micbias2-vg
 
 required:
   - compatible
Documentation/devicetree/bindings/sound/wlf,wm8904.yaml +13 -5
index 3029a868e5e1..eb0cf2002865 100644
@@ -107,12 +107,20 @@ properties:
       maxItems: 24
 
 dependencies:
-  wlf,drc-cfg-names: [ 'wlf,drc-cfg-regs' ]
-  wlf,drc-cfg-regs: [ 'wlf,drc-cfg-names' ]
+  wlf,drc-cfg-names:
+    - wlf,drc-cfg-regs
+  wlf,drc-cfg-regs:
+    - wlf,drc-cfg-names
 
-  wlf,retune-mobile-cfg-names: [ 'wlf,retune-mobile-cfg-hz', 'wlf,retune-mobile-cfg-regs' ]
-  wlf,retune-mobile-cfg-regs: [ 'wlf,retune-mobile-cfg-names', 'wlf,retune-mobile-cfg-hz' ]
-  wlf,retune-mobile-cfg-hz: [ 'wlf,retune-mobile-cfg-names', 'wlf,retune-mobile-cfg-regs' ]
+  wlf,retune-mobile-cfg-names:
+    - wlf,retune-mobile-cfg-hz
+    - wlf,retune-mobile-cfg-regs
+  wlf,retune-mobile-cfg-regs:
+    - wlf,retune-mobile-cfg-names
+    - wlf,retune-mobile-cfg-hz
+  wlf,retune-mobile-cfg-hz:
+    - wlf,retune-mobile-cfg-names
+    - wlf,retune-mobile-cfg-regs
 
 required:
   - compatible
Documentation/devicetree/bindings/tpm/tpm-common.yaml +4 -2
index 3c1241b2a43f..b8853c39ebbf 100644
@@ -50,8 +50,10 @@ properties:
 
 # must always have both linux,sml-base and linux,sml-size
 dependentRequired:
-  linux,sml-base: ['linux,sml-size']
-  linux,sml-size: ['linux,sml-base']
+  linux,sml-base:
+    - linux,sml-size
+  linux,sml-size:
+    - linux,sml-base
 
 # must only have either memory-region or linux,sml-base
 # as well as either resets or reset-gpios
Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml +2 -1
index 231e6f35a986..af13035f94dc 100644
@@ -194,7 +194,8 @@ patternProperties:
     description: The hard wired USB devices.
 
 dependencies:
-  wakeup-source: [ 'mediatek,syscon-wakeup' ]
+  wakeup-source:
+    - mediatek,syscon-wakeup
 
 required:
   - compatible
Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +8 -4
index d148e938d647..27d512ada717 100644
@@ -227,10 +227,14 @@ patternProperties:
       example if the host mode is enabled.
 
 dependencies:
-  connector: [ usb-role-switch ]
-  port: [ usb-role-switch ]
-  role-switch-default-mode: [ usb-role-switch ]
-  wakeup-source: [ 'mediatek,syscon-wakeup' ]
+  connector:
+    - usb-role-switch
+  port:
+    - usb-role-switch
+  role-switch-default-mode:
+    - usb-role-switch
+  wakeup-source:
+    - mediatek,syscon-wakeup
 
 required:
   - compatible
Documentation/devicetree/bindings/watchdog/atmel,at91sam9-wdt.yaml +2 -1
index ad27bc518670..fea4f510aa6c 100644
@@ -104,7 +104,8 @@ allOf:
           const: hardware
 
 dependencies:
-  atmel,reset-type: ['atmel,watchdog-type']
+  atmel,reset-type:
+    - atmel,watchdog-type
 
 unevaluatedProperties: false
 
Signature · 1 line
2.43.0
#1 lore raw
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 9 lines

Running dt_bindings_check returned:
[error] string value is redundantly quoted with any quotes (quoted-strings)

The files used quotation marks in flow lists because the strings had commas and these commas were interpreted as separators. Convert flow style lists to block style lists, so that there is no problems with the commas.

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
maintainer
#2 lore raw
In reply to Daniel Matyas
Quoted 4 lines · Daniel Matyas

Running dt_bindings_check returned:
[error] string value is redundantly quoted with any quotes (quoted-strings)

That false positive is fixed in newer versions of yamllint since at least a year and a half ago. There's also some other quoting checks I'd like to turn on, but that bumps the minimum version since unknown checks are an error in yamllint.

Quoted 4 lines

The files used quotation marks in flow lists because the strings had commas and these commas were interpreted as separators. Convert flow style lists to block style lists, so that there is no problems with the commas.

If we wanted to fix like this, we should probably just require block style everywhere, but I don't think we should do that.

Rob