Skip to content
Snippets Groups Projects
Commit f516fb70 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: Whitespace clean-ups in schema files


Clean-up incorrect indentation, extra spaces, long lines, and missing
EOF newline in schema files. Most of the clean-ups are for list
indentation which should always be 2 spaces more than the preceding
keyword.

Found with yamllint (which I plan to integrate into the checks).

Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-clk@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-spi@vger.kernel.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-remoteproc@vger.kernel.org
Cc: linux-hwmon@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-fbdev@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Cc: netdev@vger.kernel.org
Cc: linux-rtc@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 7c2a69f6
No related branches found
No related tags found
No related merge requests found
Showing
with 112 additions and 109 deletions
...@@ -67,9 +67,9 @@ patternProperties: ...@@ -67,9 +67,9 @@ patternProperties:
compatible: compatible:
items: items:
- enum: - enum:
- arm,integrator-ap-syscon - arm,integrator-ap-syscon
- arm,integrator-cp-syscon - arm,integrator-cp-syscon
- arm,integrator-sp-syscon - arm,integrator-sp-syscon
- const: syscon - const: syscon
reg: reg:
maxItems: 1 maxItems: 1
......
...@@ -55,20 +55,20 @@ properties: ...@@ -55,20 +55,20 @@ properties:
compatible: compatible:
oneOf: oneOf:
- items: - items:
- const: arm,realview-eb-soc - const: arm,realview-eb-soc
- const: simple-bus - const: simple-bus
- items: - items:
- const: arm,realview-pb1176-soc - const: arm,realview-pb1176-soc
- const: simple-bus - const: simple-bus
- items: - items:
- const: arm,realview-pb11mp-soc - const: arm,realview-pb11mp-soc
- const: simple-bus - const: simple-bus
- items: - items:
- const: arm,realview-pba8-soc - const: arm,realview-pba8-soc
- const: simple-bus - const: simple-bus
- items: - items:
- const: arm,realview-pbx-soc - const: arm,realview-pbx-soc
- const: simple-bus - const: simple-bus
patternProperties: patternProperties:
"^.*syscon@[0-9a-f]+$": "^.*syscon@[0-9a-f]+$":
...@@ -79,35 +79,35 @@ properties: ...@@ -79,35 +79,35 @@ properties:
compatible: compatible:
oneOf: oneOf:
- items: - items:
- const: arm,realview-eb11mp-revb-syscon - const: arm,realview-eb11mp-revb-syscon
- const: arm,realview-eb-syscon - const: arm,realview-eb-syscon
- const: syscon - const: syscon
- const: simple-mfd - const: simple-mfd
- items: - items:
- const: arm,realview-eb11mp-revc-syscon - const: arm,realview-eb11mp-revc-syscon
- const: arm,realview-eb-syscon - const: arm,realview-eb-syscon
- const: syscon - const: syscon
- const: simple-mfd - const: simple-mfd
- items: - items:
- const: arm,realview-eb-syscon - const: arm,realview-eb-syscon
- const: syscon - const: syscon
- const: simple-mfd - const: simple-mfd
- items: - items:
- const: arm,realview-pb1176-syscon - const: arm,realview-pb1176-syscon
- const: syscon - const: syscon
- const: simple-mfd - const: simple-mfd
- items: - items:
- const: arm,realview-pb11mp-syscon - const: arm,realview-pb11mp-syscon
- const: syscon - const: syscon
- const: simple-mfd - const: simple-mfd
- items: - items:
- const: arm,realview-pba8-syscon - const: arm,realview-pba8-syscon
- const: syscon - const: syscon
- const: simple-mfd - const: simple-mfd
- items: - items:
- const: arm,realview-pbx-syscon - const: arm,realview-pbx-syscon
- const: syscon - const: syscon
- const: simple-mfd - const: simple-mfd
required: required:
- compatible - compatible
......
...@@ -165,10 +165,10 @@ patternProperties: ...@@ -165,10 +165,10 @@ patternProperties:
compatible: compatible:
oneOf: oneOf:
- items: - items:
- enum: - enum:
- arm,vexpress,v2m-p1 - arm,vexpress,v2m-p1
- arm,vexpress,v2p-p1 - arm,vexpress,v2p-p1
- const: simple-bus - const: simple-bus
- const: simple-bus - const: simple-bus
motherboard: motherboard:
type: object type: object
...@@ -186,8 +186,8 @@ patternProperties: ...@@ -186,8 +186,8 @@ patternProperties:
compatible: compatible:
items: items:
- enum: - enum:
- arm,vexpress,v2m-p1 - arm,vexpress,v2m-p1
- arm,vexpress,v2p-p1 - arm,vexpress,v2p-p1
- const: simple-bus - const: simple-bus
arm,v2m-memory-map: arm,v2m-memory-map:
description: This describes the memory map type. description: This describes the memory map type.
......
...@@ -15,7 +15,7 @@ properties: ...@@ -15,7 +15,7 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- brcm,bcm28155-ap - brcm,bcm28155-ap
- const: brcm,bcm11351 - const: brcm,bcm11351
... ...
...@@ -15,7 +15,7 @@ properties: ...@@ -15,7 +15,7 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- brcm,bcm21664-garnet - brcm,bcm21664-garnet
- const: brcm,bcm21664 - const: brcm,bcm21664
... ...
...@@ -15,7 +15,7 @@ properties: ...@@ -15,7 +15,7 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- brcm,bcm23550-sparrow - brcm,bcm23550-sparrow
- const: brcm,bcm23550 - const: brcm,bcm23550
... ...
...@@ -7,8 +7,8 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# ...@@ -7,8 +7,8 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Broadcom Cygnus device tree bindings title: Broadcom Cygnus device tree bindings
maintainers: maintainers:
- Ray Jui <rjui@broadcom.com> - Ray Jui <rjui@broadcom.com>
- Scott Branden <sbranden@broadcom.com> - Scott Branden <sbranden@broadcom.com>
properties: properties:
$nodename: $nodename:
...@@ -16,14 +16,14 @@ properties: ...@@ -16,14 +16,14 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- brcm,bcm11300 - brcm,bcm11300
- brcm,bcm11320 - brcm,bcm11320
- brcm,bcm11350 - brcm,bcm11350
- brcm,bcm11360 - brcm,bcm11360
- brcm,bcm58300 - brcm,bcm58300
- brcm,bcm58302 - brcm,bcm58302
- brcm,bcm58303 - brcm,bcm58303
- brcm,bcm58305 - brcm,bcm58305
- const: brcm,cygnus - const: brcm,cygnus
... ...
...@@ -21,7 +21,7 @@ properties: ...@@ -21,7 +21,7 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- ubnt,unifi-switch8 - ubnt,unifi-switch8
- const: brcm,bcm53342 - const: brcm,bcm53342
- const: brcm,hr2 - const: brcm,hr2
......
...@@ -16,8 +16,8 @@ properties: ...@@ -16,8 +16,8 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- brcm,ns2-svk - brcm,ns2-svk
- brcm,ns2-xmc - brcm,ns2-xmc
- const: brcm,ns2 - const: brcm,ns2
... ...
...@@ -24,13 +24,13 @@ properties: ...@@ -24,13 +24,13 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- brcm,bcm58522 - brcm,bcm58522
- brcm,bcm58525 - brcm,bcm58525
- brcm,bcm58535 - brcm,bcm58535
- brcm,bcm58622 - brcm,bcm58622
- brcm,bcm58623 - brcm,bcm58623
- brcm,bcm58625 - brcm,bcm58625
- brcm,bcm88312 - brcm,bcm88312
- const: brcm,nsp - const: brcm,nsp
... ...
...@@ -16,9 +16,9 @@ properties: ...@@ -16,9 +16,9 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- brcm,bcm958742k - brcm,bcm958742k
- brcm,bcm958742t - brcm,bcm958742t
- brcm,bcm958802a802x - brcm,bcm958802a802x
- const: brcm,stingray - const: brcm,stingray
... ...
...@@ -15,8 +15,8 @@ properties: ...@@ -15,8 +15,8 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- brcm,vulcan-eval - brcm,vulcan-eval
- cavium,thunderx2-cn9900 - cavium,thunderx2-cn9900
- const: brcm,vulcan-soc - const: brcm,vulcan-soc
... ...
...@@ -82,12 +82,12 @@ properties: ...@@ -82,12 +82,12 @@ properties:
compatible: compatible:
oneOf: oneOf:
- items: - items:
- const: arm,coresight-cti - const: arm,coresight-cti
- const: arm,primecell - const: arm,primecell
- items: - items:
- const: arm,coresight-cti-v8-arch - const: arm,coresight-cti-v8-arch
- const: arm,coresight-cti - const: arm,coresight-cti
- const: arm,primecell - const: arm,primecell
reg: reg:
maxItems: 1 maxItems: 1
...@@ -191,16 +191,16 @@ patternProperties: ...@@ -191,16 +191,16 @@ patternProperties:
anyOf: anyOf:
- required: - required:
- arm,trig-in-sigs - arm,trig-in-sigs
- required: - required:
- arm,trig-out-sigs - arm,trig-out-sigs
oneOf: oneOf:
- required: - required:
- arm,trig-conn-name - arm,trig-conn-name
- required: - required:
- cpu - cpu
- required: - required:
- arm,cs-dev-assoc - arm,cs-dev-assoc
required: required:
- reg - reg
......
...@@ -330,8 +330,8 @@ if: ...@@ -330,8 +330,8 @@ if:
- enable-method - enable-method
then: then:
required: required:
- secondary-boot-reg - secondary-boot-reg
required: required:
- device_type - device_type
......
...@@ -273,8 +273,8 @@ properties: ...@@ -273,8 +273,8 @@ properties:
- fsl,imx6ull-14x14-evk # i.MX6 UltraLiteLite 14x14 EVK Board - fsl,imx6ull-14x14-evk # i.MX6 UltraLiteLite 14x14 EVK Board
- kontron,imx6ull-n6411-som # Kontron N6411 SOM - kontron,imx6ull-n6411-som # Kontron N6411 SOM
- myir,imx6ull-mys-6ulx-eval # MYiR Tech iMX6ULL Evaluation Board - myir,imx6ull-mys-6ulx-eval # MYiR Tech iMX6ULL Evaluation Board
- toradex,colibri-imx6ull-eval # Colibri iMX6ULL Module on Colibri Evaluation Board - toradex,colibri-imx6ull-eval # Colibri iMX6ULL Module on Colibri Eval Board
- toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / Bluetooth Module on Colibri Evaluation Board - toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / BT Module on Colibri Eval Board
- const: fsl,imx6ull - const: fsl,imx6ull
- description: Kontron N6411 S Board - description: Kontron N6411 S Board
...@@ -312,9 +312,12 @@ properties: ...@@ -312,9 +312,12 @@ properties:
- toradex,colibri-imx7d # Colibri iMX7 Dual Module - toradex,colibri-imx7d # Colibri iMX7 Dual Module
- toradex,colibri-imx7d-aster # Colibri iMX7 Dual Module on Aster Carrier Board - toradex,colibri-imx7d-aster # Colibri iMX7 Dual Module on Aster Carrier Board
- toradex,colibri-imx7d-emmc # Colibri iMX7 Dual 1GB (eMMC) Module - toradex,colibri-imx7d-emmc # Colibri iMX7 Dual 1GB (eMMC) Module
- toradex,colibri-imx7d-emmc-aster # Colibri iMX7 Dual 1GB (eMMC) Module on Aster Carrier Board - toradex,colibri-imx7d-emmc-aster # Colibri iMX7 Dual 1GB (eMMC) Module on
- toradex,colibri-imx7d-emmc-eval-v3 # Colibri iMX7 Dual 1GB (eMMC) Module on Colibri Evaluation Board V3 # Aster Carrier Board
- toradex,colibri-imx7d-eval-v3 # Colibri iMX7 Dual Module on Colibri Evaluation Board V3 - toradex,colibri-imx7d-emmc-eval-v3 # Colibri iMX7 Dual 1GB (eMMC) Module on
# Colibri Evaluation Board V3
- toradex,colibri-imx7d-eval-v3 # Colibri iMX7 Dual Module on
# Colibri Evaluation Board V3
- tq,imx7d-mba7 # i.MX7D TQ MBa7 with TQMa7D SoM - tq,imx7d-mba7 # i.MX7D TQ MBa7 with TQMa7D SoM
- zii,imx7d-rmu2 # ZII RMU2 Board - zii,imx7d-rmu2 # ZII RMU2 Board
- zii,imx7d-rpu2 # ZII RPU2 Board - zii,imx7d-rpu2 # ZII RPU2 Board
......
...@@ -14,6 +14,6 @@ properties: ...@@ -14,6 +14,6 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- intel,keembay-evm - intel,keembay-evm
- const: intel,keembay - const: intel,keembay
... ...
...@@ -17,22 +17,22 @@ properties: ...@@ -17,22 +17,22 @@ properties:
compatible: compatible:
oneOf: oneOf:
- items: - items:
- enum: - enum:
- mediatek,mt2701-pericfg - mediatek,mt2701-pericfg
- mediatek,mt2712-pericfg - mediatek,mt2712-pericfg
- mediatek,mt6765-pericfg - mediatek,mt6765-pericfg
- mediatek,mt7622-pericfg - mediatek,mt7622-pericfg
- mediatek,mt7629-pericfg - mediatek,mt7629-pericfg
- mediatek,mt8135-pericfg - mediatek,mt8135-pericfg
- mediatek,mt8173-pericfg - mediatek,mt8173-pericfg
- mediatek,mt8183-pericfg - mediatek,mt8183-pericfg
- mediatek,mt8516-pericfg - mediatek,mt8516-pericfg
- const: syscon - const: syscon
- items: - items:
# Special case for mt7623 for backward compatibility # Special case for mt7623 for backward compatibility
- const: mediatek,mt7623-pericfg - const: mediatek,mt7623-pericfg
- const: mediatek,mt2701-pericfg - const: mediatek,mt2701-pericfg
- const: syscon - const: syscon
reg: reg:
maxItems: 1 maxItems: 1
......
...@@ -19,7 +19,7 @@ description: | ...@@ -19,7 +19,7 @@ description: |
reported to the APB terminator (APB Errors Handler Block). reported to the APB terminator (APB Errors Handler Block).
allOf: allOf:
- $ref: /schemas/simple-bus.yaml# - $ref: /schemas/simple-bus.yaml#
properties: properties:
compatible: compatible:
......
...@@ -23,7 +23,7 @@ description: | ...@@ -23,7 +23,7 @@ description: |
accessible by means of the Baikal-T1 System Controller. accessible by means of the Baikal-T1 System Controller.
allOf: allOf:
- $ref: /schemas/simple-bus.yaml# - $ref: /schemas/simple-bus.yaml#
properties: properties:
compatible: compatible:
......
...@@ -95,10 +95,10 @@ allOf: ...@@ -95,10 +95,10 @@ allOf:
# Devices without builtin crystal # Devices without builtin crystal
properties: properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 2 maxItems: 2
items: items:
enum: [ xin, clkin ] enum: [ xin, clkin ]
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 2 maxItems: 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment