dt-bindings: Whitespace clean-ups in schema files
Subsystems (97)
Rob Herring
maintainerPATCH 1/1 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).
--- .../bindings/arm/arm,integrator.yaml | 6 +- .../devicetree/bindings/arm/arm,realview.yaml | 66 ++++++------- .../bindings/arm/arm,vexpress-juno.yaml | 12 +-- .../bindings/arm/bcm/brcm,bcm11351.yaml | 2 +- .../bindings/arm/bcm/brcm,bcm21664.yaml | 2 +- .../bindings/arm/bcm/brcm,bcm23550.yaml | 2 +- .../bindings/arm/bcm/brcm,cygnus.yaml | 20 ++-- .../devicetree/bindings/arm/bcm/brcm,hr2.yaml | 2 +- .../devicetree/bindings/arm/bcm/brcm,ns2.yaml | 4 +- .../devicetree/bindings/arm/bcm/brcm,nsp.yaml | 14 +-- .../bindings/arm/bcm/brcm,stingray.yaml | 6 +- .../bindings/arm/bcm/brcm,vulcan-soc.yaml | 4 +- .../bindings/arm/coresight-cti.yaml | 20 ++-- .../devicetree/bindings/arm/cpus.yaml | 4 +- .../devicetree/bindings/arm/fsl.yaml | 13 ++- .../bindings/arm/intel,keembay.yaml | 2 +- .../arm/mediatek/mediatek,pericfg.yaml | 30 +++--- .../bindings/bus/baikal,bt1-apb.yaml | 2 +- .../bindings/bus/baikal,bt1-axi.yaml | 2 +- .../bindings/clock/idt,versaclock5.yaml | 8 +- .../bindings/clock/ingenic,cgu.yaml | 16 ++-- .../devicetree/bindings/clock/qcom,mmcc.yaml | 2 +- .../bindings/clock/renesas,cpg-clocks.yaml | 6 +- .../bindings/clock/sprd,sc9863a-clk.yaml | 2 +- .../bindings/display/bridge/nwl-dsi.yaml | 15 ++- .../bindings/display/bridge/renesas,lvds.yaml | 18 ++-- .../display/bridge/simple-bridge.yaml | 18 ++-- .../bindings/display/dsi-controller.yaml | 10 +- .../bindings/display/ilitek,ili9486.yaml | 4 +- .../bindings/display/ingenic,ipu.yaml | 8 +- .../bindings/display/ingenic,lcd.yaml | 10 +- .../devicetree/bindings/display/msm/gmu.yaml | 38 ++++---- .../panel/asus,z00t-tm5p5-nt35596.yaml | 4 +- .../display/panel/boe,tv101wum-nl6.yaml | 12 +-- .../display/panel/elida,kd35t133.yaml | 4 +- .../display/panel/feixin,k101-im2ba02.yaml | 6 +- .../display/panel/ilitek,ili9322.yaml | 3 +- .../display/panel/ilitek,ili9881c.yaml | 3 +- .../display/panel/leadtek,ltk050h3146w.yaml | 4 +- .../display/panel/leadtek,ltk500hd1829.yaml | 4 +- .../display/panel/novatek,nt35510.yaml | 4 +- .../bindings/display/panel/panel-dsi-cm.yaml | 8 +- .../bindings/display/panel/panel-timing.yaml | 20 ++-- .../display/panel/raydium,rm68200.yaml | 4 +- .../panel/samsung,s6e88a0-ams452ef01.yaml | 4 +- .../display/panel/visionox,rm69299.yaml | 2 +- .../bindings/display/st,stm32-dsi.yaml | 3 +- .../bindings/display/ti/ti,j721e-dss.yaml | 2 +- .../devicetree/bindings/dsp/fsl,dsp.yaml | 4 +- .../devicetree/bindings/example-schema.yaml | 4 +- .../devicetree/bindings/fsi/ibm,fsi2spi.yaml | 2 +- .../bindings/gpio/brcm,xgs-iproc-gpio.yaml | 6 +- .../bindings/gpio/renesas,rcar-gpio.yaml | 58 +++++------ .../devicetree/bindings/gpu/vivante,gc.yaml | 3 +- .../bindings/hwmon/adi,axi-fan-control.yaml | 2 +- .../devicetree/bindings/i2c/i2c-imx.yaml | 32 +++---- .../devicetree/bindings/i2c/i2c-pxa.yaml | 4 +- .../bindings/iio/adc/adi,ad7606.yaml | 8 +- .../bindings/iio/adc/maxim,max1238.yaml | 2 +- .../bindings/iio/adc/qcom,spmi-vadc.yaml | 19 ++-- .../bindings/iio/adc/rockchip-saradc.yaml | 8 +- .../bindings/iio/amplifiers/adi,hmc425a.yaml | 4 +- .../bindings/iio/chemical/atlas,sensor.yaml | 4 +- .../bindings/iio/dac/adi,ad5770r.yaml | 60 ++++++------ .../bindings/iio/light/vishay,vcnl4000.yaml | 22 ++--- .../iio/magnetometer/asahi-kasei,ak8975.yaml | 16 ++-- .../iio/proximity/vishay,vcnl3020.yaml | 4 +- .../bindings/iio/temperature/adi,ltc2983.yaml | 2 +- .../devicetree/bindings/input/imx-keypad.yaml | 26 ++--- .../input/touchscreen/cypress,cy8ctma140.yaml | 2 +- .../input/touchscreen/edt-ft5x06.yaml | 10 +- .../bindings/input/touchscreen/goodix.yaml | 5 +- .../input/touchscreen/touchscreen.yaml | 12 +-- .../bindings/interconnect/fsl,imx8m-noc.yaml | 20 ++-- .../bindings/interconnect/qcom,sc7180.yaml | 2 +- .../bindings/interconnect/qcom,sdm845.yaml | 2 +- .../interrupt-controller/arm,gic.yaml | 4 +- .../interrupt-controller/ingenic,intc.yaml | 22 ++--- .../bindings/leds/backlight/qcom-wled.yaml | 3 +- .../devicetree/bindings/mailbox/fsl,mu.yaml | 12 +-- .../bindings/mailbox/qcom-ipcc.yaml | 2 +- .../allwinner,sun8i-a83t-de2-rotate.yaml | 4 +- .../media/allwinner,sun8i-h3-deinterlace.yaml | 4 +- .../bindings/media/i2c/adv7180.yaml | 43 ++++----- .../bindings/media/i2c/imi,rdacm2x-gmsl.yaml | 2 +- .../bindings/media/i2c/maxim,max9286.yaml | 2 +- .../devicetree/bindings/media/i2c/ov8856.yaml | 3 +- .../bindings/media/renesas,csi2.yaml | 18 ++-- .../bindings/media/rockchip-vpu.yaml | 4 +- .../bindings/media/xilinx/xlnx,csi2rxss.yaml | 15 ++- .../bindings/memory-controllers/fsl/mmdc.yaml | 12 +-- .../memory-controllers/ingenic,nemc.yaml | 8 +- .../memory-controllers/renesas,rpc-if.yaml | 8 +- .../bindings/mfd/cirrus,madera.yaml | 34 +++---- .../bindings/mfd/gateworks-gsc.yaml | 4 +- .../devicetree/bindings/mfd/st,stpmic1.yaml | 24 ++--- .../mfd/ti,j721e-system-controller.yaml | 11 +-- .../devicetree/bindings/mfd/wlf,arizona.yaml | 22 ++--- .../bindings/mmc/amlogic,meson-mx-sdhc.yaml | 6 +- .../devicetree/bindings/mmc/ingenic,mmc.yaml | 14 +-- .../devicetree/bindings/mmc/renesas,sdhi.yaml | 6 +- .../bindings/mtd/arasan,nand-controller.yaml | 8 +- .../devicetree/bindings/mtd/gpmi-nand.yaml | 2 +- .../devicetree/bindings/mtd/mxc-nand.yaml | 2 +- .../bindings/mtd/st,stm32-fmc2-nand.yaml | 2 +- .../devicetree/bindings/net/dsa/dsa.yaml | 4 +- .../devicetree/bindings/net/qcom,ipa.yaml | 12 +-- .../bindings/net/socionext,uniphier-ave4.yaml | 12 +-- .../devicetree/bindings/net/stm32-dwmac.yaml | 12 +-- .../bindings/net/ti,cpsw-switch.yaml | 62 ++++++------ .../bindings/net/ti,k3-am654-cpsw-nuss.yaml | 66 ++++++------- .../devicetree/bindings/nvmem/imx-ocotp.yaml | 24 ++--- .../bindings/nvmem/qcom,qfprom.yaml | 4 +- .../phy/amlogic,meson-g12a-usb2-phy.yaml | 6 +- .../bindings/phy/phy-rockchip-inno-usb2.yaml | 6 +- .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 13 ++- .../bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 9 +- .../bindings/phy/qcom,qusb2-phy.yaml | 30 +++--- .../phy/socionext,uniphier-pcie-phy.yaml | 8 +- .../phy/socionext,uniphier-usb3hs-phy.yaml | 10 +- .../phy/socionext,uniphier-usb3ss-phy.yaml | 22 ++--- .../bindings/phy/ti,phy-j721e-wiz.yaml | 3 +- .../pinctrl/aspeed,ast2400-pinctrl.yaml | 32 +++---- .../pinctrl/aspeed,ast2500-pinctrl.yaml | 36 +++---- .../pinctrl/aspeed,ast2600-pinctrl.yaml | 96 +++++++++---------- .../bindings/pinctrl/ingenic,pinctrl.yaml | 24 ++--- .../pinctrl/qcom,ipq6018-pinctrl.yaml | 54 +++++------ .../bindings/pinctrl/qcom,sm8250-pinctrl.yaml | 32 +++---- .../bindings/pinctrl/st,stm32-pinctrl.yaml | 4 +- .../bindings/power/power-domain.yaml | 14 +-- .../bindings/power/supply/gpio-charger.yaml | 4 +- .../regulator/qcom,smd-rpm-regulator.yaml | 3 +- .../regulator/qcom-labibb-regulator.yaml | 4 +- .../bindings/remoteproc/ti,k3-dsp-rproc.yaml | 20 ++-- .../bindings/reset/fsl,imx7-src.yaml | 6 +- .../devicetree/bindings/rtc/ingenic,rtc.yaml | 16 ++-- .../bindings/serial/ingenic,uart.yaml | 20 ++-- .../soc/microchip/atmel,at91rm9200-tcb.yaml | 12 +-- .../bindings/soc/qcom/qcom,geni-se.yaml | 30 +++--- .../bindings/sound/amlogic,aiu.yaml | 11 +-- .../bindings/sound/amlogic,g12a-toacodec.yaml | 10 +- .../bindings/sound/cirrus,cs42l51.yaml | 2 +- .../bindings/sound/ingenic,aic.yaml | 12 +-- .../bindings/sound/maxim,max98390.yaml | 2 +- .../bindings/sound/rockchip-i2s.yaml | 24 ++--- .../bindings/sound/rockchip-spdif.yaml | 4 +- .../devicetree/bindings/sound/tas2770.yaml | 4 +- .../bindings/sound/tlv320adcx140.yaml | 28 +++--- .../bindings/spi/allwinner,sun6i-a31-spi.yaml | 8 +- .../devicetree/bindings/spi/fsl-imx-cspi.yaml | 26 ++--- .../bindings/spi/mikrotik,rb4xx-spi.yaml | 3 +- .../devicetree/bindings/spi/spi-mux.yaml | 74 +++++++------- .../devicetree/bindings/spi/spi-rockchip.yaml | 14 +-- .../thermal/thermal-cooling-devices.yaml | 6 +- .../bindings/thermal/thermal-idle.yaml | 45 +++++---- .../devicetree/bindings/timer/fsl,imxgpt.yaml | 14 +-- .../bindings/timer/ingenic,tcu.yaml | 50 +++++----- .../bindings/timer/snps,dw-apb-timer.yaml | 4 +- .../devicetree/bindings/trivial-devices.yaml | 2 +- .../devicetree/bindings/usb/dwc2.yaml | 31 +++--- .../devicetree/bindings/usb/generic-ehci.yaml | 2 +- .../devicetree/bindings/usb/ingenic,musb.yaml | 8 +- .../bindings/usb/nvidia,tegra-xudc.yaml | 10 +- .../devicetree/bindings/usb/ti,j721e-usb.yaml | 6 +- .../bindings/usb/ti,keystone-dwc3.yaml | 4 +- .../devicetree/bindings/vendor-prefixes.yaml | 3 +- 166 files changed, 1103 insertions(+), 1113 deletions(-)
Documentation/devicetree/bindings/arm/arm,integrator.yaml +3 -3
@@ -67,9 +67,9 @@ patternProperties: compatible: items: - enum: - - arm,integrator-ap-syscon - - arm,integrator-cp-syscon - - arm,integrator-sp-syscon + - arm,integrator-ap-syscon + - arm,integrator-cp-syscon + - arm,integrator-sp-syscon - const: syscon reg: maxItems: 1
Documentation/devicetree/bindings/arm/arm,realview.yaml +33 -33
88 lines not on this page · raw message
Documentation/devicetree/bindings/arm/arm,vexpress-juno.yaml +6 -6
@@ -165,10 +165,10 @@ patternProperties: compatible: oneOf: - items: - - enum: - - arm,vexpress,v2m-p1 - - arm,vexpress,v2p-p1 - - const: simple-bus + - enum: + - arm,vexpress,v2m-p1 + - arm,vexpress,v2p-p1 + - const: simple-bus - const: simple-bus motherboard: type: object
@@ -186,8 +186,8 @@ patternProperties: compatible: items: - enum: - - arm,vexpress,v2m-p1 - - arm,vexpress,v2p-p1 + - arm,vexpress,v2m-p1 + - arm,vexpress,v2p-p1 - const: simple-bus arm,v2m-memory-map: description: This describes the memory map type.
Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml +1 -1
@@ -15,7 +15,7 @@ properties: compatible: items: - enum: - - brcm,bcm28155-ap + - brcm,bcm28155-ap - const: brcm,bcm11351 ...
Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml +1 -1
@@ -15,7 +15,7 @@ properties: compatible: items: - enum: - - brcm,bcm21664-garnet + - brcm,bcm21664-garnet - const: brcm,bcm21664 ...
Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml +1 -1
@@ -15,7 +15,7 @@ properties: compatible: items: - enum: - - brcm,bcm23550-sparrow + - brcm,bcm23550-sparrow - const: brcm,bcm23550 ...
Documentation/devicetree/bindings/arm/bcm/brcm,cygnus.yaml +10 -10
@@ -7,8 +7,8 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Broadcom Cygnus device tree bindings maintainers: - - Ray Jui <[email protected]> - - Scott Branden <[email protected]> + - Ray Jui <[email protected]> + - Scott Branden <[email protected]> properties: $nodename:
@@ -16,14 +16,14 @@ properties: compatible: items: - enum: - - brcm,bcm11300 - - brcm,bcm11320 - - brcm,bcm11350 - - brcm,bcm11360 - - brcm,bcm58300 - - brcm,bcm58302 - - brcm,bcm58303 - - brcm,bcm58305 + - brcm,bcm11300 + - brcm,bcm11320 + - brcm,bcm11350 + - brcm,bcm11360 + - brcm,bcm58300 + - brcm,bcm58302 + - brcm,bcm58303 + - brcm,bcm58305 - const: brcm,cygnus ...
Documentation/devicetree/bindings/arm/bcm/brcm,hr2.yaml +1 -1
@@ -21,7 +21,7 @@ properties: compatible: items: - enum: - - ubnt,unifi-switch8 + - ubnt,unifi-switch8 - const: brcm,bcm53342 - const: brcm,hr2
Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml +2 -2
@@ -16,8 +16,8 @@ properties: compatible: items: - enum: - - brcm,ns2-svk - - brcm,ns2-xmc + - brcm,ns2-svk + - brcm,ns2-xmc - const: brcm,ns2 ...
Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml +7 -7
@@ -24,13 +24,13 @@ properties: compatible: items: - enum: - - brcm,bcm58522 - - brcm,bcm58525 - - brcm,bcm58535 - - brcm,bcm58622 - - brcm,bcm58623 - - brcm,bcm58625 - - brcm,bcm88312 + - brcm,bcm58522 + - brcm,bcm58525 + - brcm,bcm58535 + - brcm,bcm58622 + - brcm,bcm58623 + - brcm,bcm58625 + - brcm,bcm88312 - const: brcm,nsp ...
Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml +3 -3
@@ -16,9 +16,9 @@ properties: compatible: items: - enum: - - brcm,bcm958742k - - brcm,bcm958742t - - brcm,bcm958802a802x + - brcm,bcm958742k + - brcm,bcm958742t + - brcm,bcm958802a802x - const: brcm,stingray ...
Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml +2 -2
@@ -15,8 +15,8 @@ properties: compatible: items: - enum: - - brcm,vulcan-eval - - cavium,thunderx2-cn9900 + - brcm,vulcan-eval + - cavium,thunderx2-cn9900 - const: brcm,vulcan-soc ...
Documentation/devicetree/bindings/arm/coresight-cti.yaml +10 -10
@@ -82,12 +82,12 @@ properties: compatible: oneOf: - items: - - const: arm,coresight-cti - - const: arm,primecell + - const: arm,coresight-cti + - const: arm,primecell - items: - - const: arm,coresight-cti-v8-arch - - const: arm,coresight-cti - - const: arm,primecell + - const: arm,coresight-cti-v8-arch + - const: arm,coresight-cti + - const: arm,primecell reg: maxItems: 1
@@ -191,16 +191,16 @@ patternProperties: anyOf: - required: - - arm,trig-in-sigs + - arm,trig-in-sigs - required: - - arm,trig-out-sigs + - arm,trig-out-sigs oneOf: - required: - - arm,trig-conn-name + - arm,trig-conn-name - required: - - cpu + - cpu - required: - - arm,cs-dev-assoc + - arm,cs-dev-assoc required: - reg
Documentation/devicetree/bindings/arm/cpus.yaml +2 -2
@@ -330,8 +330,8 @@ if: - enable-method then: - required: - - secondary-boot-reg + required: + - secondary-boot-reg required: - device_type
Documentation/devicetree/bindings/arm/fsl.yaml +8 -5
@@ -273,8 +273,8 @@ properties: - fsl,imx6ull-14x14-evk # i.MX6 UltraLiteLite 14x14 EVK Board - kontron,imx6ull-n6411-som # Kontron N6411 SOM - myir,imx6ull-mys-6ulx-eval # MYiR Tech iMX6ULL Evaluation Board - - toradex,colibri-imx6ull-eval # Colibri iMX6ULL Module on Colibri Evaluation Board - - toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / Bluetooth 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 / BT Module on Colibri Eval Board - const: fsl,imx6ull - description: Kontron N6411 S Board
@@ -312,9 +312,12 @@ properties: - toradex,colibri-imx7d # Colibri iMX7 Dual Module - 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-aster # Colibri iMX7 Dual 1GB (eMMC) Module on Aster Carrier Board - - 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 + - toradex,colibri-imx7d-emmc-aster # Colibri iMX7 Dual 1GB (eMMC) Module on + # Aster Carrier Board + - 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 - zii,imx7d-rmu2 # ZII RMU2 Board - zii,imx7d-rpu2 # ZII RPU2 Board
Documentation/devicetree/bindings/arm/intel,keembay.yaml +1 -1
@@ -14,6 +14,6 @@ properties: compatible: items: - enum: - - intel,keembay-evm + - intel,keembay-evm - const: intel,keembay ...
Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.yaml +15 -15
@@ -17,22 +17,22 @@ properties: compatible: oneOf: - items: - - enum: - - mediatek,mt2701-pericfg - - mediatek,mt2712-pericfg - - mediatek,mt6765-pericfg - - mediatek,mt7622-pericfg - - mediatek,mt7629-pericfg - - mediatek,mt8135-pericfg - - mediatek,mt8173-pericfg - - mediatek,mt8183-pericfg - - mediatek,mt8516-pericfg - - const: syscon + - enum: + - mediatek,mt2701-pericfg + - mediatek,mt2712-pericfg + - mediatek,mt6765-pericfg + - mediatek,mt7622-pericfg + - mediatek,mt7629-pericfg + - mediatek,mt8135-pericfg + - mediatek,mt8173-pericfg + - mediatek,mt8183-pericfg + - mediatek,mt8516-pericfg + - const: syscon - items: - # Special case for mt7623 for backward compatibility - - const: mediatek,mt7623-pericfg - - const: mediatek,mt2701-pericfg - - const: syscon + # Special case for mt7623 for backward compatibility + - const: mediatek,mt7623-pericfg + - const: mediatek,mt2701-pericfg + - const: syscon reg: maxItems: 1
Documentation/devicetree/bindings/bus/baikal,bt1-apb.yaml +1 -1
@@ -19,7 +19,7 @@ description: | reported to the APB terminator (APB Errors Handler Block). allOf: - - $ref: /schemas/simple-bus.yaml# + - $ref: /schemas/simple-bus.yaml# properties: compatible:
Documentation/devicetree/bindings/bus/baikal,bt1-axi.yaml +1 -1
@@ -23,7 +23,7 @@ description: | accessible by means of the Baikal-T1 System Controller. allOf: - - $ref: /schemas/simple-bus.yaml# + - $ref: /schemas/simple-bus.yaml# properties: compatible:
Documentation/devicetree/bindings/clock/idt,versaclock5.yaml +4 -4
@@ -95,10 +95,10 @@ allOf: # Devices without builtin crystal properties: clock-names: - minItems: 1 - maxItems: 2 - items: - enum: [ xin, clkin ] + minItems: 1 + maxItems: 2 + items: + enum: [ xin, clkin ] clocks: minItems: 1 maxItems: 2
Documentation/devicetree/bindings/clock/ingenic,cgu.yaml +8 -8
@@ -47,12 +47,12 @@ properties: compatible: items: - enum: - - ingenic,jz4740-cgu - - ingenic,jz4725b-cgu - - ingenic,jz4770-cgu - - ingenic,jz4780-cgu - - ingenic,x1000-cgu - - ingenic,x1830-cgu + - ingenic,jz4740-cgu + - ingenic,jz4725b-cgu + - ingenic,jz4770-cgu + - ingenic,jz4780-cgu + - ingenic,x1000-cgu + - ingenic,x1830-cgu - const: simple-mfd minItems: 1
@@ -68,8 +68,8 @@ properties: items: - const: ext - enum: - - rtc - - osc32k # Different name, same clock + - rtc + - osc32k # Different name, same clock assigned-clocks: minItems: 1
Documentation/devicetree/bindings/clock/qcom,mmcc.yaml +1 -1
@@ -65,7 +65,7 @@ properties: protected-clocks: description: - Protected clock specifier list as per common clock binding + Protected clock specifier list as per common clock binding vdd-gfx-supply: description:
Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml +3 -3
@@ -24,9 +24,9 @@ properties: - const: renesas,r8a7778-cpg-clocks # R-Car M1 - const: renesas,r8a7779-cpg-clocks # R-Car H1 - items: - - enum: - - renesas,r7s72100-cpg-clocks # RZ/A1H - - const: renesas,rz-cpg-clocks # RZ/A1 + - enum: + - renesas,r7s72100-cpg-clocks # RZ/A1H + - const: renesas,rz-cpg-clocks # RZ/A1 - const: renesas,sh73a0-cpg-clocks # SH-Mobile AG5 reg:
Documentation/devicetree/bindings/clock/sprd,sc9863a-clk.yaml +1 -1
@@ -16,7 +16,7 @@ properties: "#clock-cells": const: 1 - compatible : + compatible: enum: - sprd,sc9863a-ap-clk - sprd,sc9863a-aon-clk
Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml +7 -8
@@ -162,14 +162,13 @@ required: additionalProperties: false examples: - - | + - | + #include <dt-bindings/clock/imx8mq-clock.h> + #include <dt-bindings/gpio/gpio.h> + #include <dt-bindings/interrupt-controller/arm-gic.h> + #include <dt-bindings/reset/imx8mq-reset.h> - #include <dt-bindings/clock/imx8mq-clock.h> - #include <dt-bindings/gpio/gpio.h> - #include <dt-bindings/interrupt-controller/arm-gic.h> - #include <dt-bindings/reset/imx8mq-reset.h> - - mipi_dsi: mipi_dsi@30a00000 { + mipi_dsi: mipi_dsi@30a00000 { #address-cells = <1>; #size-cells = <0>; compatible = "fsl,imx8mq-nwl-dsi";
@@ -224,4 +223,4 @@ examples: }; }; }; - }; + };
Documentation/devicetree/bindings/display/bridge/renesas,lvds.yaml +9 -9
@@ -119,17 +119,17 @@ then: # The LVDS encoder can use the EXTAL or DU_DOTCLKINx clocks. # These clocks are optional. - enum: - - extal - - dclkin.0 - - dclkin.1 + - extal + - dclkin.0 + - dclkin.1 - enum: - - extal - - dclkin.0 - - dclkin.1 + - extal + - dclkin.0 + - dclkin.1 - enum: - - extal - - dclkin.0 - - dclkin.1 + - extal + - dclkin.0 + - dclkin.1 required: - clock-names
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +9 -9
@@ -18,16 +18,16 @@ properties: compatible: oneOf: - items: - - enum: - - ti,ths8134a - - ti,ths8134b - - const: ti,ths8134 + - enum: + - ti,ths8134a + - ti,ths8134b + - const: ti,ths8134 - enum: - - adi,adv7123 - - dumb-vga-dac - - ti,opa362 - - ti,ths8134 - - ti,ths8135 + - adi,adv7123 + - dumb-vga-dac + - ti,opa362 + - ti,ths8134 + - ti,ths8135 ports: type: object
Documentation/devicetree/bindings/display/dsi-controller.yaml +5 -5
@@ -55,11 +55,11 @@ patternProperties: clock-master: type: boolean description: - Should be enabled if the host is being used in conjunction with - another DSI host to drive the same peripheral. Hardware supporting - such a configuration generally requires the data on both the busses - to be driven by the same clock. Only the DSI host instance - controlling this clock should contain this property. + Should be enabled if the host is being used in conjunction with + another DSI host to drive the same peripheral. Hardware supporting + such a configuration generally requires the data on both the busses + to be driven by the same clock. Only the DSI host instance + controlling this clock should contain this property. enforce-video-mode: type: boolean
Documentation/devicetree/bindings/display/ilitek,ili9486.yaml +2 -2
@@ -21,9 +21,9 @@ properties: items: - enum: # Waveshare 3.5" 320x480 Color TFT LCD - - waveshare,rpi-lcd-35 + - waveshare,rpi-lcd-35 # Ozzmaker 3.5" 320x480 Color TFT LCD - - ozzmaker,piscreen + - ozzmaker,piscreen - const: ilitek,ili9486 spi-max-frequency:
Documentation/devicetree/bindings/display/ingenic,ipu.yaml +4 -4
@@ -13,11 +13,11 @@ properties: compatible: oneOf: - enum: - - ingenic,jz4725b-ipu - - ingenic,jz4760-ipu + - ingenic,jz4725b-ipu + - ingenic,jz4760-ipu - items: - - const: ingenic,jz4770-ipu - - const: ingenic,jz4760-ipu + - const: ingenic,jz4770-ipu + - const: ingenic,jz4760-ipu reg: maxItems: 1
Documentation/devicetree/bindings/display/ingenic,lcd.yaml +5 -5
@@ -58,11 +58,11 @@ properties: - port@0 required: - - compatible - - reg - - interrupts - - clocks - - clock-names + - compatible + - reg + - interrupts + - clocks + - clock-names if: properties:
Documentation/devicetree/bindings/display/msm/gmu.yaml +19 -19
@@ -38,10 +38,10 @@ properties: clocks: items: - - description: GMU clock - - description: GPU CX clock - - description: GPU AXI clock - - description: GPU MEMNOC clock + - description: GMU clock + - description: GPU CX clock + - description: GPU AXI clock + - description: GPU MEMNOC clock clock-names: items:
@@ -52,8 +52,8 @@ properties: interrupts: items: - - description: GMU HFI interrupt - - description: GMU interrupt + - description: GMU HFI interrupt + - description: GMU interrupt interrupt-names:
@@ -62,14 +62,14 @@ properties: - const: gmu power-domains: - items: - - description: CX power domain - - description: GX power domain + items: + - description: CX power domain + - description: GX power domain power-domain-names: - items: - - const: cx - - const: gx + items: + - const: cx + - const: gx iommus: maxItems: 1
@@ -90,13 +90,13 @@ required: - operating-points-v2 examples: - - | - #include <dt-bindings/clock/qcom,gpucc-sdm845.h> - #include <dt-bindings/clock/qcom,gcc-sdm845.h> - #include <dt-bindings/interrupt-controller/irq.h> - #include <dt-bindings/interrupt-controller/arm-gic.h> + - | + #include <dt-bindings/clock/qcom,gpucc-sdm845.h> + #include <dt-bindings/clock/qcom,gcc-sdm845.h> + #include <dt-bindings/interrupt-controller/irq.h> + #include <dt-bindings/interrupt-controller/arm-gic.h> - gmu: gmu@506a000 { + gmu: gmu@506a000 { compatible="qcom,adreno-gmu-630.2", "qcom,adreno-gmu"; reg = <0x506a000 0x30000>,
@@ -120,4 +120,4 @@ examples: iommus = <&adreno_smmu 5>; operating-points-v2 = <&gmu_opp_table>; - }; + };
Documentation/devicetree/bindings/display/panel/asus,z00t-tm5p5-nt35596.yaml +2 -2
@@ -24,9 +24,9 @@ properties: reg: true reset-gpios: true vdd-supply: - description: core voltage supply + description: core voltage supply vddio-supply: - description: vddio supply + description: vddio supply required: - compatible
Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml +6 -6
@@ -48,12 +48,12 @@ properties: port: true required: - - compatible - - reg - - enable-gpios - - pp1800-supply - - avdd-supply - - avee-supply + - compatible + - reg + - enable-gpios + - pp1800-supply + - avdd-supply + - avee-supply additionalProperties: false
Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml +2 -2
@@ -19,9 +19,9 @@ properties: backlight: true reset-gpios: true iovcc-supply: - description: regulator that supplies the iovcc voltage + description: regulator that supplies the iovcc voltage vdd-supply: - description: regulator that supplies the vdd voltage + description: regulator that supplies the vdd voltage required: - compatible
Documentation/devicetree/bindings/display/panel/feixin,k101-im2ba02.yaml +3 -3
@@ -19,11 +19,11 @@ properties: backlight: true reset-gpios: true avdd-supply: - description: regulator that supplies the AVDD voltage + description: regulator that supplies the AVDD voltage dvdd-supply: - description: regulator that supplies the DVDD voltage + description: regulator that supplies the DVDD voltage cvdd-supply: - description: regulator that supplies the CVDD voltage + description: regulator that supplies the CVDD voltage required: - compatible
Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml +1 -2
@@ -25,8 +25,7 @@ properties: compatible: items: - enum: - - dlink,dir-685-panel - + - dlink,dir-685-panel - const: ilitek,ili9322 reset-gpios: true
Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml +1 -2
@@ -13,8 +13,7 @@ properties: compatible: items: - enum: - - bananapi,lhr050h41 - + - bananapi,lhr050h41 - const: ilitek,ili9881c backlight: true
Documentation/devicetree/bindings/display/panel/leadtek,ltk050h3146w.yaml +2 -2
@@ -21,9 +21,9 @@ properties: backlight: true reset-gpios: true iovcc-supply: - description: regulator that supplies the iovcc voltage + description: regulator that supplies the iovcc voltage vci-supply: - description: regulator that supplies the vci voltage + description: regulator that supplies the vci voltage required: - compatible
Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml +2 -2
@@ -19,9 +19,9 @@ properties: backlight: true reset-gpios: true iovcc-supply: - description: regulator that supplies the iovcc voltage + description: regulator that supplies the iovcc voltage vcc-supply: - description: regulator that supplies the vcc voltage + description: regulator that supplies the vcc voltage required: - compatible
Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml +2 -2
@@ -25,9 +25,9 @@ properties: reg: true reset-gpios: true vdd-supply: - description: regulator that supplies the vdd voltage + description: regulator that supplies the vdd voltage vddi-supply: - description: regulator that supplies the vddi voltage + description: regulator that supplies the vddi voltage backlight: true required:
Documentation/devicetree/bindings/display/panel/panel-dsi-cm.yaml +4 -4
@@ -27,10 +27,10 @@ properties: compatible: items: - enum: - - motorola,droid4-panel # Panel from Motorola Droid4 phone - - nokia,himalaya # Panel from Nokia N950 phone - - tpo,taal # Panel from OMAP4 SDP board - - const: panel-dsi-cm # Generic DSI command mode panel compatible fallback + - motorola,droid4-panel # Panel from Motorola Droid4 phone + - nokia,himalaya # Panel from Nokia N950 phone + - tpo,taal # Panel from OMAP4 SDP board + - const: panel-dsi-cm # Generic DSI command mode panel compatible fallback reg: maxItems: 1
Documentation/devicetree/bindings/display/panel/panel-timing.yaml +10 -10
@@ -59,7 +59,7 @@ description: | properties: clock-frequency: - description: Panel clock in Hz + description: Panel clock in Hz hactive: $ref: /schemas/types.yaml#/definitions/uint32
@@ -200,15 +200,15 @@ properties: description: Enable double clock mode required: - - clock-frequency - - hactive - - vactive - - hfront-porch - - hback-porch - - hsync-len - - vfront-porch - - vback-porch - - vsync-len + - clock-frequency + - hactive + - vactive + - hfront-porch + - hback-porch + - hsync-len + - vfront-porch + - vback-porch + - vsync-len additionalProperties: false
Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml +2 -2
@@ -10,8 +10,8 @@ maintainers: - Philippe CORNU <[email protected]> description: | - The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 TFT LCD - panel connected using a MIPI-DSI video interface. + The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 TFT LCD + panel connected using a MIPI-DSI video interface. allOf: - $ref: panel-common.yaml#
Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml +2 -2
@@ -18,9 +18,9 @@ properties: reg: true reset-gpios: true vdd3-supply: - description: core voltage supply + description: core voltage supply vci-supply: - description: voltage supply for analog circuits + description: voltage supply for analog circuits required: - compatible
Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml +1 -1
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Visionox model RM69299 Panels Device Tree Bindings. maintainers: - - Harigovindan P <[email protected]> + - Harigovindan P <[email protected]> description: | This binding is for display panels using a Visionox RM692999 panel.
Documentation/devicetree/bindings/display/st,stm32-dsi.yaml +1 -2
@@ -45,7 +45,7 @@ properties: phy-dsi-supply: description: - Phandle of the regulator that provides the supply voltage. + Phandle of the regulator that provides the supply voltage. ports: type: object
@@ -147,4 +147,3 @@ examples: ... -
Documentation/devicetree/bindings/display/ti/ti,j721e-dss.yaml +1 -1
@@ -78,7 +78,7 @@ properties: - const: vp4 interrupts: - items: + items: - description: common_m DSS Master common - description: common_s0 DSS Shared common 0 - description: common_s1 DSS Shared common 1
Documentation/devicetree/bindings/dsp/fsl,dsp.yaml +2 -2
@@ -56,8 +56,8 @@ properties: memory-region: description: - phandle to a node describing reserved memory (System RAM memory) - used by DSP (see bindings/reserved-memory/reserved-memory.txt) + phandle to a node describing reserved memory (System RAM memory) + used by DSP (see bindings/reserved-memory/reserved-memory.txt) maxItems: 1 required:
Documentation/devicetree/bindings/example-schema.yaml +2 -2
@@ -177,10 +177,10 @@ 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/fsi/ibm,fsi2spi.yaml +1 -1
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: IBM FSI-attached SPI controllers maintainers: - - Eddie James <[email protected]> + - Eddie James <[email protected]> description: | This binding describes an FSI CFAM engine called the FSI2SPI. Therefore this
Documentation/devicetree/bindings/gpio/brcm,xgs-iproc-gpio.yaml +2 -4
@@ -19,10 +19,8 @@ properties: reg: items: - - description: the I/O address containing the GPIO controller - registers. - - description: the I/O address containing the Chip Common A interrupt - registers. + - description: the I/O address containing the GPIO controller registers. + - description: the I/O address containing the Chip Common A interrupt registers. gpio-controller: true
Documentation/devicetree/bindings/gpio/renesas,rcar-gpio.yaml +29 -29
68 lines not on this page · raw message
Documentation/devicetree/bindings/gpu/vivante,gc.yaml +2 -1
@@ -26,7 +26,8 @@ properties: - description: AXI/master interface clock - description: GPU core clock - description: Shader clock (only required if GPU has feature PIPE_3D) - - description: AHB/slave interface clock (only required if GPU can gate slave interface independently) + - description: AHB/slave interface clock (only required if GPU can gate + slave interface independently) minItems: 1 maxItems: 4
Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml +1 -1
@@ -19,7 +19,7 @@ description: |+ properties: compatible: enum: - - adi,axi-fan-control-1.00.a + - adi,axi-fan-control-1.00.a reg: maxItems: 1
Documentation/devicetree/bindings/i2c/i2c-imx.yaml +16 -16
@@ -20,22 +20,22 @@ properties: - const: fsl,imx1-i2c - items: - enum: - - fsl,imx25-i2c - - fsl,imx27-i2c - - fsl,imx31-i2c - - fsl,imx50-i2c - - fsl,imx51-i2c - - fsl,imx53-i2c - - fsl,imx6q-i2c - - fsl,imx6sl-i2c - - fsl,imx6sx-i2c - - fsl,imx6sll-i2c - - fsl,imx6ul-i2c - - fsl,imx7s-i2c - - fsl,imx8mq-i2c - - fsl,imx8mm-i2c - - fsl,imx8mn-i2c - - fsl,imx8mp-i2c + - fsl,imx25-i2c + - fsl,imx27-i2c + - fsl,imx31-i2c + - fsl,imx50-i2c + - fsl,imx51-i2c + - fsl,imx53-i2c + - fsl,imx6q-i2c + - fsl,imx6sl-i2c + - fsl,imx6sx-i2c + - fsl,imx6sll-i2c + - fsl,imx6ul-i2c + - fsl,imx7s-i2c + - fsl,imx8mq-i2c + - fsl,imx8mm-i2c + - fsl,imx8mn-i2c + - fsl,imx8mp-i2c - const: fsl,imx21-i2c reg:
Documentation/devicetree/bindings/i2c/i2c-pxa.yaml +2 -2
@@ -16,8 +16,8 @@ allOf: required: - mrvl,i2c-polling then: - required: - - interrupts + required: + - interrupts properties: compatible:
Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml +4 -4
@@ -53,10 +53,10 @@ properties: standby-gpios: description: - Must be the device tree identifier of the STBY pin. This pin is used - to place the AD7606 into one of two power-down modes, Standby mode or - Shutdown mode. As the line is active low, it should be marked - GPIO_ACTIVE_LOW. + Must be the device tree identifier of the STBY pin. This pin is used + to place the AD7606 into one of two power-down modes, Standby mode or + Shutdown mode. As the line is active low, it should be marked + GPIO_ACTIVE_LOW. maxItems: 1 adi,first-data-gpios:
Documentation/devicetree/bindings/iio/adc/maxim,max1238.yaml +1 -1
@@ -10,7 +10,7 @@ maintainers: - Jonathan Cameron <[email protected]> description: | - Family of simple ADCs with i2c inteface and internal references. + Family of simple ADCs with i2c inteface and internal references. properties: compatible:
Documentation/devicetree/bindings/iio/adc/qcom,spmi-vadc.yaml +9 -10
@@ -24,11 +24,11 @@ properties: - const: qcom,spmi-adc-rev2 - items: - - enum: - - qcom,spmi-vadc - - qcom,spmi-adc5 - - qcom,spmi-adc-rev2 - - qcom,spmi-adc7 + - enum: + - qcom,spmi-vadc + - qcom,spmi-adc5 + - qcom,spmi-adc-rev2 + - qcom,spmi-adc7 reg: description: VADC base address in the SPMI PMIC register map
@@ -101,12 +101,11 @@ patternProperties: - $ref: /schemas/types.yaml#/definitions/uint32-array oneOf: - items: - - const: 1 - - enum: [ 1, 3, 4, 6, 20, 8, 10 ] - + - const: 1 + - enum: [ 1, 3, 4, 6, 20, 8, 10 ] - items: - - const: 10 - - const: 81 + - const: 10 + - const: 81 qcom,ratiometric: description: |
Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml +4 -4
@@ -17,10 +17,10 @@ properties: - const: rockchip,rk3399-saradc - items: - enum: - - rockchip,px30-saradc - - rockchip,rk3308-saradc - - rockchip,rk3328-saradc - - rockchip,rv1108-saradc + - rockchip,px30-saradc + - rockchip,rk3308-saradc + - rockchip,rk3328-saradc + - rockchip,rv1108-saradc - const: rockchip,rk3399-saradc reg:
Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml +2 -2
@@ -7,8 +7,8 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: HMC425A 6-bit Digital Step Attenuator maintainers: -- Michael Hennerich <[email protected]> -- Beniamin Bia <[email protected]> + - Michael Hennerich <[email protected]> + - Beniamin Bia <[email protected]> description: | Digital Step Attenuator IIO device with gpio interface.
Documentation/devicetree/bindings/iio/chemical/atlas,sensor.yaml +2 -2
@@ -31,10 +31,10 @@ properties: - atlas,co2-ezo reg: - maxItems: 1 + maxItems: 1 interrupts: - maxItems: 1 + maxItems: 1 required: - compatible
Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml +30 -30
86 lines not on this page · raw message
Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml +11 -11
@@ -36,15 +36,15 @@ required: additionalProperties: false examples: -- | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@51 { - compatible = "vishay,vcnl4200"; - reg = <0x51>; - proximity-near-level = <220>; - }; - }; + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@51 { + compatible = "vishay,vcnl4200"; + reg = <0x51>; + proximity-near-level = <220>; + }; + }; ...
Documentation/devicetree/bindings/iio/magnetometer/asahi-kasei,ak8975.yaml +8 -8
@@ -13,15 +13,15 @@ properties: compatible: oneOf: - enum: - - asahi-kasei,ak8975 - - asahi-kasei,ak8963 - - asahi-kasei,ak09911 - - asahi-kasei,ak09912 + - asahi-kasei,ak8975 + - asahi-kasei,ak8963 + - asahi-kasei,ak09911 + - asahi-kasei,ak09912 - enum: - - ak8975 - - ak8963 - - ak09911 - - ak09912 + - ak8975 + - ak8963 + - ak09911 + - ak09912 deprecated: true reg:
Documentation/devicetree/bindings/iio/proximity/vishay,vcnl3020.yaml +2 -2
@@ -39,8 +39,8 @@ properties: description: The driver current for the LED used in proximity sensing. enum: [0, 10000, 20000, 30000, 40000, 50000, 60000, 70000, 80000, 90000, - 100000, 110000, 120000, 130000, 140000, 150000, 160000, 170000, - 180000, 190000, 200000] + 100000, 110000, 120000, 130000, 140000, 150000, 160000, 170000, + 180000, 190000, 200000] default: 20000 required:
Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml +1 -1
@@ -307,7 +307,7 @@ patternProperties: mode. $ref: /schemas/types.yaml#/definitions/uint32 enum: [0, 250, 500, 1000, 5000, 10000, 25000, 50000, 100000, 250000, - 500000, 1000000] + 500000, 1000000] adi,custom-thermistor: description:
Documentation/devicetree/bindings/input/imx-keypad.yaml +13 -13
@@ -24,19 +24,19 @@ properties: - const: fsl,imx21-kpp - items: - enum: - - fsl,imx25-kpp - - fsl,imx27-kpp - - fsl,imx31-kpp - - fsl,imx35-kpp - - fsl,imx51-kpp - - fsl,imx53-kpp - - fsl,imx50-kpp - - fsl,imx6q-kpp - - fsl,imx6sx-kpp - - fsl,imx6sl-kpp - - fsl,imx6sll-kpp - - fsl,imx6ul-kpp - - fsl,imx7d-kpp + - fsl,imx25-kpp + - fsl,imx27-kpp + - fsl,imx31-kpp + - fsl,imx35-kpp + - fsl,imx51-kpp + - fsl,imx53-kpp + - fsl,imx50-kpp + - fsl,imx6q-kpp + - fsl,imx6sx-kpp + - fsl,imx6sl-kpp + - fsl,imx6sll-kpp + - fsl,imx6ul-kpp + - fsl,imx7d-kpp - const: fsl,imx21-kpp reg:
Documentation/devicetree/bindings/input/touchscreen/cypress,cy8ctma140.yaml +1 -1
@@ -51,7 +51,7 @@ required: - touchscreen-max-pressure examples: -- | + - | #include <dt-bindings/interrupt-controller/irq.h> i2c { #address-cells = <1>;
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml +5 -5
@@ -20,11 +20,11 @@ maintainers: allOf: - $ref: touchscreen.yaml# - if: - properties: - compatible: - contains: - enum: - - evervision,ev-ft5726 + properties: + compatible: + contains: + enum: + - evervision,ev-ft5726 then: properties:
Documentation/devicetree/bindings/input/touchscreen/goodix.yaml +2 -3
@@ -35,9 +35,8 @@ properties: maxItems: 1 irq-gpios: - description: GPIO pin used for IRQ. - The driver uses the interrupt gpio pin as - output to reset the device. + description: GPIO pin used for IRQ. The driver uses the interrupt gpio pin + as output to reset the device. maxItems: 1 reset-gpios:
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml +6 -6
@@ -33,8 +33,8 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 touchscreen-min-pressure: - description: minimum pressure on the touchscreen to be achieved in order for the - touchscreen driver to report a touch event. + description: minimum pressure on the touchscreen to be achieved in order + for the touchscreen driver to report a touch event. $ref: /schemas/types.yaml#/definitions/uint32 touchscreen-fuzz-x:
@@ -46,13 +46,13 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 touchscreen-fuzz-pressure: - description: pressure noise value of the absolute input device (arbitrary range - dependent on the controller) + description: pressure noise value of the absolute input device (arbitrary + range dependent on the controller) $ref: /schemas/types.yaml#/definitions/uint32 touchscreen-average-samples: - description: Number of data samples which are averaged for each read (valid values - dependent on the controller) + description: Number of data samples which are averaged for each read (valid + values dependent on the controller) $ref: /schemas/types.yaml#/definitions/uint32 touchscreen-inverted-x:
Documentation/devicetree/bindings/interconnect/fsl,imx8m-noc.yaml +10 -10
@@ -25,17 +25,17 @@ properties: compatible: oneOf: - items: - - enum: - - fsl,imx8mn-nic - - fsl,imx8mm-nic - - fsl,imx8mq-nic - - const: fsl,imx8m-nic + - enum: + - fsl,imx8mn-nic + - fsl,imx8mm-nic + - fsl,imx8mq-nic + - const: fsl,imx8m-nic - items: - - enum: - - fsl,imx8mn-noc - - fsl,imx8mm-noc - - fsl,imx8mq-noc - - const: fsl,imx8m-noc + - enum: + - fsl,imx8mn-noc + - fsl,imx8mm-noc + - fsl,imx8mq-noc + - const: fsl,imx8m-noc - const: fsl,imx8m-nic reg:
Documentation/devicetree/bindings/interconnect/qcom,sc7180.yaml +1 -1
@@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/interconnect/qcom,sc7180.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Qualcomm SC7180 Network-On-Chip Interconnect +title: Qualcomm SC7180 Network-On-Chip Interconnect maintainers: - Odelu Kukatla <[email protected]>
Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml +1 -1
@@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/interconnect/qcom,sdm845.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Qualcomm SDM845 Network-On-Chip Interconnect +title: Qualcomm SDM845 Network-On-Chip Interconnect maintainers: - Georgi Djakov <[email protected]>
Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml +2 -2
@@ -42,8 +42,8 @@ properties: - items: - const: arm,gic-400 - enum: - - arm,cortex-a15-gic - - arm,cortex-a7-gic + - arm,cortex-a15-gic + - arm,cortex-a7-gic - items: - const: arm,arm1176jzf-devchip-gic
Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.yaml +11 -11
@@ -16,20 +16,20 @@ properties: compatible: oneOf: - enum: - - ingenic,jz4740-intc - - ingenic,jz4760-intc - - ingenic,jz4780-intc + - ingenic,jz4740-intc + - ingenic,jz4760-intc + - ingenic,jz4780-intc - items: - - enum: - - ingenic,jz4775-intc - - ingenic,jz4770-intc - - const: ingenic,jz4760-intc + - enum: + - ingenic,jz4775-intc + - ingenic,jz4770-intc + - const: ingenic,jz4760-intc - items: - - const: ingenic,x1000-intc - - const: ingenic,jz4780-intc + - const: ingenic,x1000-intc + - const: ingenic,jz4780-intc - items: - - const: ingenic,jz4725b-intc - - const: ingenic,jz4740-intc + - const: ingenic,jz4725b-intc + - const: ingenic,jz4740-intc "#interrupt-cells": const: 1
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml +2 -1
@@ -79,7 +79,8 @@ properties: description: | kHz; switching frequency. $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, 2400, 3200, 4800, 9600 ] + enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, + 2400, 3200, 4800, 9600 ] qcom,ovp: description: |
Documentation/devicetree/bindings/mailbox/fsl,mu.yaml +6 -6
@@ -29,12 +29,12 @@ properties: - const: fsl,imx8-mu-scu - items: - enum: - - fsl,imx7s-mu - - fsl,imx8mq-mu - - fsl,imx8mm-mu - - fsl,imx8mn-mu - - fsl,imx8mp-mu - - fsl,imx8qxp-mu + - fsl,imx7s-mu + - fsl,imx8mq-mu + - fsl,imx8mm-mu + - fsl,imx8mn-mu + - fsl,imx8mp-mu + - fsl,imx8qxp-mu - const: fsl,imx6sx-mu - description: To communicate with i.MX8 SCU with fast IPC items:
Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml +1 -1
@@ -24,7 +24,7 @@ properties: compatible: items: - enum: - - qcom,sm8250-ipcc + - qcom,sm8250-ipcc - const: qcom,ipcc reg:
Documentation/devicetree/bindings/media/allwinner,sun8i-a83t-de2-rotate.yaml +2 -2
@@ -20,8 +20,8 @@ properties: oneOf: - const: allwinner,sun8i-a83t-de2-rotate - items: - - const: allwinner,sun50i-a64-de2-rotate - - const: allwinner,sun8i-a83t-de2-rotate + - const: allwinner,sun50i-a64-de2-rotate + - const: allwinner,sun8i-a83t-de2-rotate reg: maxItems: 1
Documentation/devicetree/bindings/media/allwinner,sun8i-h3-deinterlace.yaml +2 -2
@@ -20,8 +20,8 @@ properties: oneOf: - const: allwinner,sun8i-h3-deinterlace - items: - - const: allwinner,sun50i-a64-deinterlace - - const: allwinner,sun8i-h3-deinterlace + - const: allwinner,sun50i-a64-deinterlace + - const: allwinner,sun8i-h3-deinterlace reg: maxItems: 1
Documentation/devicetree/bindings/media/i2c/adv7180.yaml +21 -22
55 lines not on this page · raw message
Documentation/devicetree/bindings/media/i2c/imi,rdacm2x-gmsl.yaml +1 -1
@@ -5,7 +5,7 @@ $id: http://devicetree.org/schemas/media/i2c/imi,rdacm2x-gmsl.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: IMI D&D RDACM20 and RDACM21 Automotive Camera Platforms +title: IMI D&D RDACM20 and RDACM21 Automotive Camera Platforms maintainers: - Jacopo Mondi <[email protected]>
Documentation/devicetree/bindings/media/i2c/maxim,max9286.yaml +1 -1
@@ -49,7 +49,7 @@ properties: gpio-controller: true '#gpio-cells': - const: 2 + const: 2 ports: type: object
Documentation/devicetree/bindings/media/i2c/ov8856.yaml +2 -1
@@ -138,4 +138,5 @@ examples: }; }; }; -... +... +
Documentation/devicetree/bindings/media/renesas,csi2.yaml +9 -9
@@ -19,15 +19,15 @@ properties: compatible: items: - enum: - - renesas,r8a774a1-csi2 # RZ/G2M - - renesas,r8a774b1-csi2 # RZ/G2N - - renesas,r8a774c0-csi2 # RZ/G2E - - renesas,r8a7795-csi2 # R-Car H3 - - renesas,r8a7796-csi2 # R-Car M3-W - - renesas,r8a77965-csi2 # R-Car M3-N - - renesas,r8a77970-csi2 # R-Car V3M - - renesas,r8a77980-csi2 # R-Car V3H - - renesas,r8a77990-csi2 # R-Car E3 + - renesas,r8a774a1-csi2 # RZ/G2M + - renesas,r8a774b1-csi2 # RZ/G2N + - renesas,r8a774c0-csi2 # RZ/G2E + - renesas,r8a7795-csi2 # R-Car H3 + - renesas,r8a7796-csi2 # R-Car M3-W + - renesas,r8a77965-csi2 # R-Car M3-N + - renesas,r8a77970-csi2 # R-Car V3M + - renesas,r8a77980-csi2 # R-Car V3H + - renesas,r8a77990-csi2 # R-Car E3 reg: maxItems: 1
Documentation/devicetree/bindings/media/rockchip-vpu.yaml +2 -2
@@ -31,8 +31,8 @@ properties: oneOf: - const: vdpu - items: - - const: vepu - - const: vdpu + - const: vepu + - const: vdpu clocks: maxItems: 2
Documentation/devicetree/bindings/media/xilinx/xlnx,csi2rxss.yaml +7 -8
@@ -25,7 +25,7 @@ properties: compatible: items: - enum: - - xlnx,mipi-csi2-rx-subsystem-5.0 + - xlnx,mipi-csi2-rx-subsystem-5.0 reg: maxItems: 1
@@ -65,13 +65,12 @@ properties: 0x2d - RAW14 0x2e - RAW16 0x2f - RAW20 - allOf: - - $ref: /schemas/types.yaml#/definitions/uint32 - - anyOf: - - minimum: 0x1e - - maximum: 0x24 - - minimum: 0x28 - - maximum: 0x2f + $ref: /schemas/types.yaml#/definitions/uint32 + oneOf: + - minimum: 0x1e + maximum: 0x24 + - minimum: 0x28 + maximum: 0x2f xlnx,vfb: type: boolean
Documentation/devicetree/bindings/memory-controllers/fsl/mmdc.yaml +6 -6
@@ -15,12 +15,12 @@ properties: - const: fsl,imx6q-mmdc - items: - enum: - - fsl,imx6qp-mmdc - - fsl,imx6sl-mmdc - - fsl,imx6sll-mmdc - - fsl,imx6sx-mmdc - - fsl,imx6ul-mmdc - - fsl,imx7ulp-mmdc + - fsl,imx6qp-mmdc + - fsl,imx6sl-mmdc + - fsl,imx6sll-mmdc + - fsl,imx6sx-mmdc + - fsl,imx6ul-mmdc + - fsl,imx7ulp-mmdc - const: fsl,imx6q-mmdc reg:
Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml +4 -4
@@ -16,11 +16,11 @@ properties: compatible: oneOf: - enum: - - ingenic,jz4740-nemc - - ingenic,jz4780-nemc + - ingenic,jz4740-nemc + - ingenic,jz4780-nemc - items: - - const: ingenic,jz4725b-nemc - - const: ingenic,jz4740-nemc + - const: ingenic,jz4725b-nemc + - const: ingenic,jz4740-nemc "#address-cells": const: 2
Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml +4 -4
@@ -26,10 +26,10 @@ properties: compatible: items: - enum: - - renesas,r8a77970-rpc-if # R-Car V3M - - renesas,r8a77980-rpc-if # R-Car V3H - - renesas,r8a77995-rpc-if # R-Car D3 - - const: renesas,rcar-gen3-rpc-if # a generic R-Car gen3 device + - renesas,r8a77970-rpc-if # R-Car V3M + - renesas,r8a77980-rpc-if # R-Car V3H + - renesas,r8a77995-rpc-if # R-Car D3 + - const: renesas,rcar-gen3-rpc-if # a generic R-Car gen3 device reg: items:
Documentation/devicetree/bindings/mfd/cirrus,madera.yaml +17 -17
@@ -98,11 +98,11 @@ allOf: description: Databus power supply. - if: - properties: - compatible: - contains: - enum: - - cirrus,cs47l15 + properties: + compatible: + contains: + enum: + - cirrus,cs47l15 then: required: - MICVDD-supply
@@ -174,24 +174,24 @@ properties: "mclk3" For the clock supplied on MCLK3. oneOf: - items: - - const: mclk1 + - const: mclk1 - items: - - const: mclk2 + - const: mclk2 - items: - - const: mclk3 + - const: mclk3 - items: - - const: mclk1 - - const: mclk2 + - const: mclk1 + - const: mclk2 - items: - - const: mclk1 - - const: mclk3 + - const: mclk1 + - const: mclk3 - items: - - const: mclk2 - - const: mclk3 + - const: mclk2 + - const: mclk3 - items: - - const: mclk1 - - const: mclk2 - - const: mclk3 + - const: mclk1 + - const: mclk2 + - const: mclk3 AVDD-supply: description:
Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml +2 -2
@@ -89,8 +89,8 @@ properties: description: Values of resistors for divider on raw ADC input maxItems: 2 items: - minimum: 1000 - maximum: 1000000 + minimum: 1000 + maximum: 1000000 gw,voltage-offset-microvolt: description: |
Documentation/devicetree/bindings/mfd/st,stpmic1.yaml +12 -12
@@ -113,8 +113,8 @@ properties: maxItems: 1 st,mask-reset: - description: mask reset for this regulator, - the regulator configuration is maintained during pmic reset. + description: mask reset for this regulator, the regulator configuration + is maintained during pmic reset. $ref: /schemas/types.yaml#/definitions/flag regulator-name: true
@@ -135,8 +135,8 @@ properties: maxItems: 1 st,mask-reset: - description: mask reset for this regulator, - the regulator configuration is maintained during pmic reset. + description: mask reset for this regulator, the regulator configuration + is maintained during pmic reset. $ref: /schemas/types.yaml#/definitions/flag regulator-name: true
@@ -154,8 +154,8 @@ properties: maxItems: 1 st,mask-reset: - description: mask reset for this regulator, - the regulator configuration is maintained during pmic reset. + description: mask reset for this regulator, the regulator configuration + is maintained during pmic reset. $ref: /schemas/types.yaml#/definitions/flag regulator-name: true
@@ -172,8 +172,8 @@ properties: maxItems: 1 st,mask-reset: - description: mask reset for this regulator, - the regulator configuration is maintained during pmic reset. + description: mask reset for this regulator, the regulator configuration + is maintained during pmic reset. $ref: /schemas/types.yaml#/definitions/flag regulator-name: true
@@ -198,8 +198,8 @@ properties: maxItems: 1 st,mask-reset: - description: mask reset for this regulator, - the regulator configuration is maintained during pmic reset. + description: mask reset for this regulator, the regulator configuration + is maintained during pmic reset. $ref: /schemas/types.yaml#/definitions/flag regulator-name: true
@@ -220,8 +220,8 @@ properties: maxItems: 1 st,mask-reset: - description: mask reset for this regulator, - the regulator configuration is maintained during pmic reset. + description: mask reset for this regulator, the regulator configuration + is maintained during pmic reset. $ref: /schemas/types.yaml#/definitions/flag regulator-name: true
Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml +5 -6
@@ -24,12 +24,11 @@ maintainers: properties: compatible: - anyOf: - - items: - - enum: - - ti,j721e-system-controller - - const: syscon - - const: simple-mfd + items: + - enum: + - ti,j721e-system-controller + - const: syscon + - const: simple-mfd "#address-cells": const: 1
Documentation/devicetree/bindings/mfd/wlf,arizona.yaml +11 -11
@@ -73,13 +73,13 @@ allOf: required: - DBVDD3-supply - if: - properties: - compatible: - contains: - enum: - - cirrus,cs47l24 - - wlf,wm1831 - - wlf,wm8997 + properties: + compatible: + contains: + enum: + - cirrus,cs47l24 + - wlf,wm1831 + - wlf,wm8997 then: properties: SPKVDD-supply:
@@ -183,12 +183,12 @@ properties: clock supplied on MCLK2, recommended to be an always on 32k clock. oneOf: - items: - - const: mclk1 + - const: mclk1 - items: - - const: mclk2 + - const: mclk2 - items: - - const: mclk1 - - const: mclk2 + - const: mclk1 + - const: mclk2 reset-gpios: maxItems: 1
Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml +3 -3
@@ -21,9 +21,9 @@ properties: compatible: items: - enum: - - amlogic,meson8-sdhc - - amlogic,meson8b-sdhc - - amlogic,meson8m2-sdhc + - amlogic,meson8-sdhc + - amlogic,meson8b-sdhc + - amlogic,meson8m2-sdhc - const: amlogic,meson-mx-sdhc reg:
Documentation/devicetree/bindings/mmc/ingenic,mmc.yaml +7 -7
@@ -16,14 +16,14 @@ properties: compatible: oneOf: - enum: - - ingenic,jz4740-mmc - - ingenic,jz4725b-mmc - - ingenic,jz4760-mmc - - ingenic,jz4780-mmc - - ingenic,x1000-mmc + - ingenic,jz4740-mmc + - ingenic,jz4725b-mmc + - ingenic,jz4760-mmc + - ingenic,jz4780-mmc + - ingenic,x1000-mmc - items: - - const: ingenic,jz4770-mmc - - const: ingenic,jz4760-mmc + - const: ingenic,jz4770-mmc + - const: ingenic,jz4760-mmc reg: maxItems: 1
Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml +3 -3
@@ -130,9 +130,9 @@ then: required: - clock-names description: - The internal card detection logic that exists in these controllers is - sectioned off to be run by a separate second clock source to allow - the main core clock to be turned off to save power. + The internal card detection logic that exists in these controllers is + sectioned off to be run by a separate second clock source to allow + the main core clock to be turned off to save power. unevaluatedProperties: false
Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml +3 -5
@@ -14,12 +14,10 @@ maintainers: properties: compatible: - oneOf: - - items: - - enum: + items: + - enum: - xlnx,zynqmp-nand-controller - - enum: - - arasan,nfc-v3p10 + - const: arasan,nfc-v3p10 reg: maxItems: 1
Documentation/devicetree/bindings/mtd/gpmi-nand.yaml +1 -1
@@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Freescale General-Purpose Media Interface (GPMI) binding +title: Freescale General-Purpose Media Interface (GPMI) binding maintainers: - Han Xu <[email protected]>
Documentation/devicetree/bindings/mtd/mxc-nand.yaml +1 -1
@@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/mtd/mxc-nand.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Freescale's mxc_nand binding +title: Freescale's mxc_nand binding maintainers: - Uwe Kleine-König <[email protected]>
Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml +1 -1
@@ -42,7 +42,7 @@ patternProperties: const: 512 nand-ecc-strength: - enum: [1, 4 ,8 ] + enum: [1, 4, 8] allOf: - $ref: "nand-controller.yaml#"
Documentation/devicetree/bindings/net/dsa/dsa.yaml +2 -2
@@ -85,8 +85,8 @@ patternProperties: oneOf: - required: - - ports + - ports - required: - - ethernet-ports + - ethernet-ports ...
Documentation/devicetree/bindings/net/qcom,ipa.yaml +6 -6
@@ -43,7 +43,7 @@ description: properties: compatible: - const: "qcom,sdm845-ipa" + const: "qcom,sdm845-ipa" reg: items:
@@ -64,7 +64,7 @@ properties: maxItems: 1 clock-names: - const: core + const: core interrupts: items:
@@ -96,8 +96,8 @@ properties: $ref: /schemas/types.yaml#/definitions/phandle-array description: State bits used in by the AP to signal the modem. items: - - description: Whether the "ipa-clock-enabled" state bit is valid - - description: Whether the IPA clock is enabled (if valid) + - description: Whether the "ipa-clock-enabled" state bit is valid + - description: Whether the IPA clock is enabled (if valid) qcom,smem-state-names: $ref: /schemas/types.yaml#/definitions/string-array
@@ -140,9 +140,9 @@ required: oneOf: - required: - - modem-init + - modem-init - required: - - memory-region + - memory-region examples: - |
Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml +6 -6
@@ -46,10 +46,10 @@ properties: clock-names: oneOf: - items: # for Pro4 - - const: gio - - const: ether - - const: ether-gb - - const: ether-phy + - const: gio + - const: ether + - const: ether-gb + - const: ether-phy - const: ether # for others resets:
@@ -59,8 +59,8 @@ properties: reset-names: oneOf: - items: # for Pro4 - - const: gio - - const: ether + - const: gio + - const: ether - const: ether # for others socionext,syscon-phy-mode:
Documentation/devicetree/bindings/net/stm32-dwmac.yaml +6 -6
@@ -48,11 +48,11 @@ properties: minItems: 3 maxItems: 5 items: - - description: GMAC main clock - - description: MAC TX clock - - description: MAC RX clock - - description: For MPU family, used for power mode - - description: For MPU family, used for PHY without quartz + - description: GMAC main clock + - description: MAC TX clock + - description: MAC RX clock + - description: For MPU family, used for power mode + - description: For MPU family, used for PHY without quartz clock-names: minItems: 3
@@ -89,7 +89,7 @@ required: - st,syscon examples: - - | + - | #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/clock/stm32mp1-clks.h> #include <dt-bindings/reset/stm32mp1-resets.h>
Documentation/devicetree/bindings/net/ti,cpsw-switch.yaml +31 -31
74 lines not on this page · raw message
Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml +33 -33
78 lines not on this page · raw message
Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml +12 -12
@@ -21,18 +21,18 @@ properties: compatible: items: - enum: - - fsl,imx6q-ocotp - - fsl,imx6sl-ocotp - - fsl,imx6sx-ocotp - - fsl,imx6ul-ocotp - - fsl,imx6ull-ocotp - - fsl,imx7d-ocotp - - fsl,imx6sll-ocotp - - fsl,imx7ulp-ocotp - - fsl,imx8mq-ocotp - - fsl,imx8mm-ocotp - - fsl,imx8mn-ocotp - - fsl,imx8mp-ocotp + - fsl,imx6q-ocotp + - fsl,imx6sl-ocotp + - fsl,imx6sx-ocotp + - fsl,imx6ul-ocotp + - fsl,imx6ull-ocotp + - fsl,imx7d-ocotp + - fsl,imx6sll-ocotp + - fsl,imx7ulp-ocotp + - fsl,imx8mq-ocotp + - fsl,imx8mm-ocotp + - fsl,imx8mn-ocotp + - fsl,imx8mp-ocotp - const: syscon reg:
Documentation/devicetree/bindings/nvmem/qcom,qfprom.yaml +2 -2
@@ -46,8 +46,8 @@ properties: const: 1 required: - - compatible - - reg + - compatible + - reg examples: - |
Documentation/devicetree/bindings/phy/amlogic,meson-g12a-usb2-phy.yaml +3 -3
@@ -37,9 +37,9 @@ properties: const: 0 phy-supply: - description: - Phandle to a regulator that provides power to the PHY. This - regulator will be managed during the PHY power on/off sequence. + description: + Phandle to a regulator that provides power to the PHY. This + regulator will be managed during the PHY power on/off sequence. required: - compatible
Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.yaml +3 -3
@@ -100,9 +100,9 @@ properties: - const: linestate - const: otg-mux - items: - - const: otg-bvalid - - const: otg-id - - const: linestate + - const: otg-bvalid + - const: otg-id + - const: linestate phy-supply: description:
Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +6 -7
@@ -37,7 +37,7 @@ properties: - description: Address and length of PHY's common serdes block. "#clock-cells": - enum: [ 1, 2 ] + enum: [ 1, 2 ] "#address-cells": enum: [ 1, 2 ]
@@ -65,16 +65,15 @@ properties: vdda-phy-supply: description: - Phandle to a regulator supply to PHY core block. + Phandle to a regulator supply to PHY core block. vdda-pll-supply: description: - Phandle to 1.8V regulator supply to PHY refclk pll block. + Phandle to 1.8V regulator supply to PHY refclk pll block. vddp-ref-clk-supply: description: - Phandle to a regulator supply to any specific refclk - pll block. + Phandle to a regulator supply to any specific refclk pll block. #Required nodes: patternProperties:
@@ -184,8 +183,8 @@ allOf: - description: phy common block reset. reset-names: items: - - const: phy - - const: common + - const: phy + - const: common - if: properties: compatible:
Documentation/devicetree/bindings/phy/qcom,qmp-usb3-dp-phy.yaml +4 -5
@@ -26,7 +26,7 @@ properties: - const: dp_com "#clock-cells": - enum: [ 1, 2 ] + enum: [ 1, 2 ] "#address-cells": enum: [ 1, 2 ]
@@ -62,16 +62,15 @@ properties: vdda-phy-supply: description: - Phandle to a regulator supply to PHY core block. + Phandle to a regulator supply to PHY core block. vdda-pll-supply: description: - Phandle to 1.8V regulator supply to PHY refclk pll block. + Phandle to 1.8V regulator supply to PHY refclk pll block. vddp-ref-clk-supply: description: - Phandle to a regulator supply to any specific refclk - pll block. + Phandle to a regulator supply to any specific refclk pll block. #Required nodes: patternProperties:
Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml +15 -15
@@ -17,15 +17,15 @@ properties: compatible: oneOf: - items: - - enum: - - qcom,ipq8074-qusb2-phy - - qcom,msm8996-qusb2-phy - - qcom,msm8998-qusb2-phy + - enum: + - qcom,ipq8074-qusb2-phy + - qcom,msm8996-qusb2-phy + - qcom,msm8998-qusb2-phy - items: - - enum: - - qcom,sc7180-qusb2-phy - - qcom,sdm845-qusb2-phy - - const: qcom,qusb2-v2-phy + - enum: + - qcom,sc7180-qusb2-phy + - qcom,sdm845-qusb2-phy + - const: qcom,qusb2-v2-phy reg: maxItems: 1
@@ -49,12 +49,12 @@ properties: - const: iface vdda-pll-supply: - description: - Phandle to 1.8V regulator supply to PHY refclk pll block. + description: + Phandle to 1.8V regulator supply to PHY refclk pll block. vdda-phy-dpdm-supply: - description: - Phandle to 3.1V regulator supply to Dp/Dm port signals. + description: + Phandle to 3.1V regulator supply to Dp/Dm port signals. resets: maxItems: 1
@@ -64,12 +64,12 @@ properties: nvmem-cells: maxItems: 1 description: - Phandle to nvmem cell that contains 'HS Tx trim' - tuning parameter value for qusb2 phy. + Phandle to nvmem cell that contains 'HS Tx trim' + tuning parameter value for qusb2 phy. qcom,tcsr-syscon: description: - Phandle to TCSR syscon register region. + Phandle to TCSR syscon register region. $ref: /schemas/types.yaml#/definitions/phandle if:
Documentation/devicetree/bindings/phy/socionext,uniphier-pcie-phy.yaml +4 -4
@@ -33,8 +33,8 @@ properties: clock-names: oneOf: - items: # for Pro5 - - const: gio - - const: link + - const: gio + - const: link - const: link # for others resets:
@@ -44,8 +44,8 @@ properties: reset-names: oneOf: - items: # for Pro5 - - const: gio - - const: link + - const: gio + - const: link - const: link # for others socionext,syscon:
Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.yaml +5 -5
@@ -37,12 +37,12 @@ properties: oneOf: - const: link # for PXs2 - items: # for PXs3 with phy-ext - - const: link - - const: phy - - const: phy-ext + - const: link + - const: phy + - const: phy-ext - items: # for others - - const: link - - const: phy + - const: link + - const: phy resets: maxItems: 2
Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.yaml +11 -11
@@ -37,15 +37,15 @@ properties: clock-names: oneOf: - items: # for Pro4, Pro5 - - const: gio - - const: link + - const: gio + - const: link - items: # for PXs3 with phy-ext - - const: link - - const: phy - - const: phy-ext + - const: link + - const: phy + - const: phy-ext - items: # for others - - const: link - - const: phy + - const: link + - const: phy resets: maxItems: 2
@@ -53,11 +53,11 @@ properties: reset-names: oneOf: - items: # for Pro4,Pro5 - - const: gio - - const: link + - const: gio + - const: link - items: # for others - - const: link - - const: phy + - const: link + - const: phy vbus-supply: description: A phandle to the regulator for USB VBUS
Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml +2 -1
@@ -203,7 +203,8 @@ examples: }; refclk-dig { - clocks = <&k3_clks 292 11>, <&k3_clks 292 0>, <&dummy_cmn_refclk>, <&dummy_cmn_refclk1>; + clocks = <&k3_clks 292 11>, <&k3_clks 292 0>, + <&dummy_cmn_refclk>, <&dummy_cmn_refclk1>; #clock-cells = <0>; assigned-clocks = <&wiz0_refclk_dig>; assigned-clock-parents = <&k3_clks 292 11>;
Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml +16 -16
@@ -34,22 +34,22 @@ patternProperties: patternProperties: "^function|groups$": $ref: "/schemas/types.yaml#/definitions/string" - enum: [ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, - ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT, - EXTRST, FLACK, FLBUSY, FLWP, GPID, GPID0, GPID2, GPID4, GPID6, GPIE0, - GPIE2, GPIE4, GPIE6, I2C10, I2C11, I2C12, I2C13, I2C14, I2C3, I2C4, - I2C5, I2C6, I2C7, I2C8, I2C9, LPCPD, LPCPME, LPCRST, LPCSMI, MAC1LINK, - MAC2LINK, MDIO1, MDIO2, NCTS1, NCTS2, NCTS3, NCTS4, NDCD1, NDCD2, - NDCD3, NDCD4, NDSR1, NDSR2, NDSR3, NDSR4, NDTR1, NDTR2, NDTR3, NDTR4, - NDTS4, NRI1, NRI2, NRI3, NRI4, NRTS1, NRTS2, NRTS3, OSCCLK, PWM0, - PWM1, PWM2, PWM3, PWM4, PWM5, PWM6, PWM7, RGMII1, RGMII2, RMII1, - RMII2, ROM16, ROM8, ROMCS1, ROMCS2, ROMCS3, ROMCS4, RXD1, RXD2, RXD3, - RXD4, SALT1, SALT2, SALT3, SALT4, SD1, SD2, SGPMCK, SGPMI, SGPMLD, - SGPMO, SGPSCK, SGPSI0, SGPSI1, SGPSLD, SIOONCTRL, SIOPBI, SIOPBO, - SIOPWREQ, SIOPWRGD, SIOS3, SIOS5, SIOSCI, SPI1, SPI1DEBUG, SPI1PASSTHRU, - SPICS1, TIMER3, TIMER4, TIMER5, TIMER6, TIMER7, TIMER8, TXD1, TXD2, - TXD3, TXD4, UART6, USB11D1, USB11H2, USB2D1, USB2H1, USBCKI, VGABIOS_ROM, - VGAHS, VGAVS, VPI18, VPI24, VPI30, VPO12, VPO24, WDTRST1, WDTRST2] + enum: [ ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, + ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT, + EXTRST, FLACK, FLBUSY, FLWP, GPID, GPID0, GPID2, GPID4, GPID6, GPIE0, + GPIE2, GPIE4, GPIE6, I2C10, I2C11, I2C12, I2C13, I2C14, I2C3, I2C4, + I2C5, I2C6, I2C7, I2C8, I2C9, LPCPD, LPCPME, LPCRST, LPCSMI, MAC1LINK, + MAC2LINK, MDIO1, MDIO2, NCTS1, NCTS2, NCTS3, NCTS4, NDCD1, NDCD2, + NDCD3, NDCD4, NDSR1, NDSR2, NDSR3, NDSR4, NDTR1, NDTR2, NDTR3, NDTR4, + NDTS4, NRI1, NRI2, NRI3, NRI4, NRTS1, NRTS2, NRTS3, OSCCLK, PWM0, + PWM1, PWM2, PWM3, PWM4, PWM5, PWM6, PWM7, RGMII1, RGMII2, RMII1, + RMII2, ROM16, ROM8, ROMCS1, ROMCS2, ROMCS3, ROMCS4, RXD1, RXD2, RXD3, + RXD4, SALT1, SALT2, SALT3, SALT4, SD1, SD2, SGPMCK, SGPMI, SGPMLD, + SGPMO, SGPSCK, SGPSI0, SGPSI1, SGPSLD, SIOONCTRL, SIOPBI, SIOPBO, + SIOPWREQ, SIOPWRGD, SIOS3, SIOS5, SIOSCI, SPI1, SPI1DEBUG, SPI1PASSTHRU, + SPICS1, TIMER3, TIMER4, TIMER5, TIMER6, TIMER7, TIMER8, TXD1, TXD2, + TXD3, TXD4, UART6, USB11D1, USB11H2, USB2D1, USB2H1, USBCKI, VGABIOS_ROM, + VGAHS, VGAVS, VPI18, VPI24, VPI30, VPO12, VPO24, WDTRST1, WDTRST2] required: - compatible
Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml +18 -18
@@ -43,24 +43,24 @@ patternProperties: patternProperties: "^function|groups$": $ref: "/schemas/types.yaml#/definitions/string" - enum: [ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, - ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT, - ESPI, FWSPICS1, FWSPICS2, GPID0, GPID2, GPID4, GPID6, GPIE0, GPIE2, - GPIE4, GPIE6, I2C10, I2C11, I2C12, I2C13, I2C14, I2C3, I2C4, I2C5, - I2C6, I2C7, I2C8, I2C9, LAD0, LAD1, LAD2, LAD3, LCLK, LFRAME, LPCHC, - LPCPD, LPCPLUS, LPCPME, LPCRST, LPCSMI, LSIRQ, MAC1LINK, MAC2LINK, - MDIO1, MDIO2, NCTS1, NCTS2, NCTS3, NCTS4, NDCD1, NDCD2, NDCD3, NDCD4, - NDSR1, NDSR2, NDSR3, NDSR4, NDTR1, NDTR2, NDTR3, NDTR4, NRI1, NRI2, - NRI3, NRI4, NRTS1, NRTS2, NRTS3, NRTS4, OSCCLK, PEWAKE, PNOR, PWM0, - PWM1, PWM2, PWM3, PWM4, PWM5, PWM6, PWM7, RGMII1, RGMII2, RMII1, - RMII2, RXD1, RXD2, RXD3, RXD4, SALT1, SALT10, SALT11, SALT12, SALT13, - SALT14, SALT2, SALT3, SALT4, SALT5, SALT6, SALT7, SALT8, SALT9, SCL1, - SCL2, SD1, SD2, SDA1, SDA2, SGPS1, SGPS2, SIOONCTRL, SIOPBI, SIOPBO, - SIOPWREQ, SIOPWRGD, SIOS3, SIOS5, SIOSCI, SPI1, SPI1CS1, SPI1DEBUG, - SPI1PASSTHRU, SPI2CK, SPI2CS0, SPI2CS1, SPI2MISO, SPI2MOSI, TIMER3, - TIMER4, TIMER5, TIMER6, TIMER7, TIMER8, TXD1, TXD2, TXD3, TXD4, UART6, - USB11BHID, USB2AD, USB2AH, USB2BD, USB2BH, USBCKI, VGABIOSROM, VGAHS, - VGAVS, VPI24, VPO, WDTRST1, WDTRST2] + enum: [ ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, + ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT, + ESPI, FWSPICS1, FWSPICS2, GPID0, GPID2, GPID4, GPID6, GPIE0, GPIE2, + GPIE4, GPIE6, I2C10, I2C11, I2C12, I2C13, I2C14, I2C3, I2C4, I2C5, + I2C6, I2C7, I2C8, I2C9, LAD0, LAD1, LAD2, LAD3, LCLK, LFRAME, LPCHC, + LPCPD, LPCPLUS, LPCPME, LPCRST, LPCSMI, LSIRQ, MAC1LINK, MAC2LINK, + MDIO1, MDIO2, NCTS1, NCTS2, NCTS3, NCTS4, NDCD1, NDCD2, NDCD3, NDCD4, + NDSR1, NDSR2, NDSR3, NDSR4, NDTR1, NDTR2, NDTR3, NDTR4, NRI1, NRI2, + NRI3, NRI4, NRTS1, NRTS2, NRTS3, NRTS4, OSCCLK, PEWAKE, PNOR, PWM0, + PWM1, PWM2, PWM3, PWM4, PWM5, PWM6, PWM7, RGMII1, RGMII2, RMII1, + RMII2, RXD1, RXD2, RXD3, RXD4, SALT1, SALT10, SALT11, SALT12, SALT13, + SALT14, SALT2, SALT3, SALT4, SALT5, SALT6, SALT7, SALT8, SALT9, SCL1, + SCL2, SD1, SD2, SDA1, SDA2, SGPS1, SGPS2, SIOONCTRL, SIOPBI, SIOPBO, + SIOPWREQ, SIOPWRGD, SIOS3, SIOS5, SIOSCI, SPI1, SPI1CS1, SPI1DEBUG, + SPI1PASSTHRU, SPI2CK, SPI2CS0, SPI2CS1, SPI2MISO, SPI2MOSI, TIMER3, + TIMER4, TIMER5, TIMER6, TIMER7, TIMER8, TXD1, TXD2, TXD3, TXD4, UART6, + USB11BHID, USB2AD, USB2AH, USB2BD, USB2BH, USBCKI, VGABIOSROM, VGAHS, + VGAVS, VPI24, VPO, WDTRST1, WDTRST2] required: - compatible
Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml +48 -48
105 lines not on this page · raw message
Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml +12 -12
@@ -32,20 +32,20 @@ properties: compatible: oneOf: - enum: - - ingenic,jz4740-pinctrl - - ingenic,jz4725b-pinctrl - - ingenic,jz4760-pinctrl - - ingenic,jz4770-pinctrl - - ingenic,jz4780-pinctrl - - ingenic,x1000-pinctrl - - ingenic,x1500-pinctrl - - ingenic,x1830-pinctrl + - ingenic,jz4740-pinctrl + - ingenic,jz4725b-pinctrl + - ingenic,jz4760-pinctrl + - ingenic,jz4770-pinctrl + - ingenic,jz4780-pinctrl + - ingenic,x1000-pinctrl + - ingenic,x1500-pinctrl + - ingenic,x1830-pinctrl - items: - - const: ingenic,jz4760b-pinctrl - - const: ingenic,jz4760-pinctrl + - const: ingenic,jz4760b-pinctrl + - const: ingenic,jz4760-pinctrl - items: - - const: ingenic,x1000e-pinctrl - - const: ingenic,x1000-pinctrl + - const: ingenic,x1000e-pinctrl + - const: ingenic,x1000-pinctrl reg: maxItems: 1
Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +27 -27
66 lines not on this page · raw message
Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml +16 -16
@@ -76,22 +76,22 @@ patternProperties: pins. enum: [ aoss_cti, atest, audio_ref, cam_mclk, cci_async, cci_i2c, - cci_timer0, cci_timer1, cci_timer2, cci_timer3, cci_timer4, cri_trng, - cri_trng0, cri_trng1, dbg_out, ddr_bist, ddr_pxi0, ddr_pxi1, - ddr_pxi2, ddr_pxi3, dp_hot, dp_lcd, gcc_gp1, gcc_gp2, gcc_gp3, gpio, - ibi_i3c, jitter_bist, lpass_slimbus, mdp_vsync, mdp_vsync0, - mdp_vsync1, mdp_vsync2, mdp_vsync3, mi2s0_data0, mi2s0_data1, - mi2s0_sck, mi2s0_ws, mi2s1_data0, mi2s1_data1, mi2s1_sck, mi2s1_ws, - mi2s2_data0, mi2s2_data1, mi2s2_sck, mi2s2_ws, pci_e0, pci_e1, - pci_e2, phase_flag, pll_bist, pll_bypassnl, pll_clk, pll_reset, - pri_mi2s, prng_rosc, qdss_cti, qdss_gpio, qspi0, qspi1, qspi2, qspi3, - qspi_clk, qspi_cs, qup0, qup1, qup10, qup11, qup12, qup13, qup14, - qup15, qup16, qup17, qup18, qup19, qup2, qup3, qup4, qup5, qup6, - qup7, qup8, qup9, qup_l4, qup_l5, qup_l6, sd_write, sdc40, sdc41, - sdc42, sdc43, sdc4_clk, sdc4_cmd, sec_mi2s, sp_cmu, tgu_ch0, tgu_ch1, - tgu_ch2, tgu_ch3, tsense_pwm1, tsense_pwm2, tsif0_clk, tsif0_data, - tsif0_en, tsif0_error, tsif0_sync, tsif1_clk, tsif1_data, tsif1_en, - tsif1_error, tsif1_sync, usb2phy_ac, usb_phy, vsense_trigger ] + cci_timer0, cci_timer1, cci_timer2, cci_timer3, cci_timer4, cri_trng, + cri_trng0, cri_trng1, dbg_out, ddr_bist, ddr_pxi0, ddr_pxi1, + ddr_pxi2, ddr_pxi3, dp_hot, dp_lcd, gcc_gp1, gcc_gp2, gcc_gp3, gpio, + ibi_i3c, jitter_bist, lpass_slimbus, mdp_vsync, mdp_vsync0, + mdp_vsync1, mdp_vsync2, mdp_vsync3, mi2s0_data0, mi2s0_data1, + mi2s0_sck, mi2s0_ws, mi2s1_data0, mi2s1_data1, mi2s1_sck, mi2s1_ws, + mi2s2_data0, mi2s2_data1, mi2s2_sck, mi2s2_ws, pci_e0, pci_e1, + pci_e2, phase_flag, pll_bist, pll_bypassnl, pll_clk, pll_reset, + pri_mi2s, prng_rosc, qdss_cti, qdss_gpio, qspi0, qspi1, qspi2, qspi3, + qspi_clk, qspi_cs, qup0, qup1, qup10, qup11, qup12, qup13, qup14, + qup15, qup16, qup17, qup18, qup19, qup2, qup3, qup4, qup5, qup6, + qup7, qup8, qup9, qup_l4, qup_l5, qup_l6, sd_write, sdc40, sdc41, + sdc42, sdc43, sdc4_clk, sdc4_cmd, sec_mi2s, sp_cmu, tgu_ch0, tgu_ch1, + tgu_ch2, tgu_ch3, tsense_pwm1, tsense_pwm2, tsif0_clk, tsif0_data, + tsif0_en, tsif0_error, tsif0_sync, tsif1_clk, tsif1_data, tsif1_en, + tsif1_error, tsif1_sync, usb2phy_ac, usb_phy, vsense_trigger ] drive-strength: enum: [2, 4, 6, 8, 10, 12, 14, 16]
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml +2 -2
@@ -48,8 +48,8 @@ properties: st,package: description: - Indicates the SOC package used. - More details in include/dt-bindings/pinctrl/stm32-pinfunc.h + Indicates the SOC package used. + More details in include/dt-bindings/pinctrl/stm32-pinfunc.h $ref: /schemas/types.yaml#/definitions/uint32 enum: [1, 2, 4, 8]
Documentation/devicetree/bindings/power/power-domain.yaml +7 -7
@@ -58,13 +58,13 @@ properties: power-domains: description: - A phandle and PM domain specifier as defined by bindings of the power - controller specified by phandle. Some power domains might be powered - from another power domain (or have other hardware specific - dependencies). For representing such dependency a standard PM domain - consumer binding is used. When provided, all domains created - by the given provider should be subdomains of the domain specified - by this binding. + A phandle and PM domain specifier as defined by bindings of the power + controller specified by phandle. Some power domains might be powered + from another power domain (or have other hardware specific + dependencies). For representing such dependency a standard PM domain + consumer binding is used. When provided, all domains created + by the given provider should be subdomains of the domain specified + by this binding. required: - "#power-domain-cells"
Documentation/devicetree/bindings/power/supply/gpio-charger.yaml +2 -2
@@ -44,9 +44,9 @@ required: anyOf: - required: - - gpios + - gpios - required: - - charge-status-gpios + - charge-status-gpios additionalProperties: false
Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml +1 -2
@@ -76,8 +76,7 @@ patternProperties: "^((s|l|lvs|5vs)[0-9]*)|(boost-bypass)|(bob)$": description: List of regulators and its properties - allOf: - - $ref: regulator.yaml# + $ref: regulator.yaml# additionalProperties: false
Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml +2 -2
@@ -29,7 +29,7 @@ properties: Short-circuit interrupt for lab. required: - - interrupts + - interrupts ibb: type: object
@@ -42,7 +42,7 @@ properties: Short-circuit interrupt for lab. required: - - interrupts + - interrupts required: - compatible
Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml +10 -10
@@ -118,16 +118,16 @@ else: - const: l1dram required: - - compatible - - reg - - reg-names - - ti,sci - - ti,sci-dev-id - - ti,sci-proc-ids - - resets - - firmware-name - - mboxes - - memory-region + - compatible + - reg + - reg-names + - ti,sci + - ti,sci-dev-id + - ti,sci-proc-ids + - resets + - firmware-name + - mboxes + - memory-region unevaluatedProperties: false
Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml +3 -3
@@ -24,9 +24,9 @@ properties: compatible: items: - enum: - - fsl,imx7d-src - - fsl,imx8mq-src - - fsl,imx8mp-src + - fsl,imx7d-src + - fsl,imx8mq-src + - fsl,imx8mp-src - const: syscon reg:
Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml +8 -8
@@ -16,16 +16,16 @@ properties: compatible: oneOf: - enum: - - ingenic,jz4740-rtc - - ingenic,jz4760-rtc + - ingenic,jz4740-rtc + - ingenic,jz4760-rtc - items: - - const: ingenic,jz4725b-rtc - - const: ingenic,jz4740-rtc + - const: ingenic,jz4725b-rtc + - const: ingenic,jz4740-rtc - items: - - enum: - - ingenic,jz4770-rtc - - ingenic,jz4780-rtc - - const: ingenic,jz4760-rtc + - enum: + - ingenic,jz4770-rtc + - ingenic,jz4780-rtc + - const: ingenic,jz4760-rtc reg: maxItems: 1
Documentation/devicetree/bindings/serial/ingenic,uart.yaml +10 -10
@@ -16,18 +16,18 @@ properties: compatible: oneOf: - enum: - - ingenic,jz4740-uart - - ingenic,jz4760-uart - - ingenic,jz4780-uart - - ingenic,x1000-uart + - ingenic,jz4740-uart + - ingenic,jz4760-uart + - ingenic,jz4780-uart + - ingenic,x1000-uart - items: - - enum: - - ingenic,jz4770-uart - - ingenic,jz4775-uart - - const: ingenic,jz4760-uart + - enum: + - ingenic,jz4770-uart + - ingenic,jz4775-uart + - const: ingenic,jz4760-uart - items: - - const: ingenic,jz4725b-uart - - const: ingenic,jz4740-uart + - const: ingenic,jz4725b-uart + - const: ingenic,jz4740-uart reg: maxItems: 1
Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml +6 -6
@@ -97,13 +97,13 @@ allOf: clock-names: oneOf: - items: - - const: t0_clk - - const: slow_clk + - const: t0_clk + - const: slow_clk - items: - - const: t0_clk - - const: t1_clk - - const: t2_clk - - const: slow_clk + - const: t0_clk + - const: t1_clk + - const: t2_clk + - const: slow_clk required: - compatible
Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml +15 -15
@@ -7,8 +7,8 @@ $schema: "http://devicetree.org/meta-schemas/core.yaml#" title: GENI Serial Engine QUP Wrapper Controller maintainers: - - Mukesh Savaliya <[email protected]> - - Akash Asthana <[email protected]> + - Mukesh Savaliya <[email protected]> + - Akash Asthana <[email protected]> description: | Generic Interface (GENI) based Qualcomm Universal Peripheral (QUP) wrapper
@@ -38,10 +38,10 @@ properties: - description: Slave AHB Clock "#address-cells": - const: 2 + const: 2 "#size-cells": - const: 2 + const: 2 ranges: true
@@ -79,15 +79,15 @@ patternProperties: maxItems: 1 interconnects: - minItems: 2 - maxItems: 3 + minItems: 2 + maxItems: 3 interconnect-names: - minItems: 2 - items: - - const: qup-core - - const: qup-config - - const: qup-memory + minItems: 2 + items: + - const: qup-core + - const: qup-config + - const: qup-memory required: - reg
@@ -111,10 +111,10 @@ patternProperties: maxItems: 1 "#address-cells": - const: 1 + const: 1 "#size-cells":
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/sound/amlogic,aiu.yaml +5 -6
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml +4 -6
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml +1 -1
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/sound/ingenic,aic.yaml +6 -6
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/sound/maxim,max98390.yaml +1 -1
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/sound/rockchip-i2s.yaml +12 -12
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/sound/rockchip-spdif.yaml +2 -2
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/sound/tas2770.yaml +2 -2
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/sound/tlv320adcx140.yaml +14 -14
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml +4 -4
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/spi/fsl-imx-cspi.yaml +13 -13
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml +2 -1
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/spi/spi-mux.yaml +37 -37
74 lines not on this page · raw message
Documentation/devicetree/bindings/spi/spi-rockchip.yaml +7 -7
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml +3 -3
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/thermal/thermal-idle.yaml +22 -23
45 lines not on this page · raw message
Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml +7 -7
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/timer/ingenic,tcu.yaml +25 -25
50 lines not on this page · raw message
Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml +2 -2
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/trivial-devices.yaml +1 -1
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/usb/dwc2.yaml +16 -15
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/usb/generic-ehci.yaml +1 -1
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/usb/ingenic,musb.yaml +4 -4
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml +5 -5
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml +3 -3
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/usb/ti,keystone-dwc3.yaml +2 -2
Lines of this file are not shown. View the raw message.
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 6 lines
2.25.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Part of the diff is not shown here. View the raw message.
Hi Rob.
Quoted 6 lines · Rob Herring
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).
I have browsed through the patch - and there was only a few things that jumped at me.
With these points considered:
I expect only some (few) of my points to actually results in any updates.
I look forward to have the lint functionality as part of the built-in tools so we catch these things early.
Sam
Documentation/devicetree/bindings/arm/fsl.yaml properties: · line 278
Quoted 13 lines
Documentation/devicetree/bindings/arm/fsl.yaml +2
-2@@ -273,8 +273,8 @@ properties: - fsl,imx6ull-14x14-evk # i.MX6 UltraLiteLite 14x14 EVK Board - kontron,imx6ull-n6411-som # Kontron N6411 SOM - myir,imx6ull-mys-6ulx-eval # MYiR Tech iMX6ULL Evaluation Board - - toradex,colibri-imx6ull-eval # Colibri iMX6ULL Module on Colibri Evaluation Board - - toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / Bluetooth 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 / BT Module on Colibri Eval Board - const: fsl,imx6ull
This change looks bad as it drops the alignment with the comments below. See following patch chunck:
Quoted 33 lines
Documentation/devicetree/bindings/arm/fsl.yaml +2
-3- description: Kontron N6411 S Board@@ -312,9 +312,12 @@ properties: - toradex,colibri-imx7d # Colibri iMX7 Dual Module - 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-aster # Colibri iMX7 Dual 1GB (eMMC) Module on Aster Carrier Board - - 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 + - toradex,colibri-imx7d-emmc-aster # Colibri iMX7 Dual 1GB (eMMC) Module on + # Aster Carrier BoardDocumentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml +1
-2@@ -25,8 +25,7 @@ properties: compatible: items: - enum: - - dlink,dir-685-panel - + - dlink,dir-685-panel - const: ilitek,ili9322 reset-gpios: trueDocumentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml +0
-0
Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml properties: · line 18
Quoted 8 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml +1
-2@@ -13,8 +13,7 @@ properties: compatible: items: - enum: - - bananapi,lhr050h41 - + - bananapi,lhr050h41 - const: ilitek,ili9881c
The extra lines is a simple way to indicate that here shall be added more in the future. So I like the empty line.
Quoted 5 lines
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml +0
-0
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml properties: · line 86
Quoted 9 lines
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml +2
-1@@ -79,7 +79,8 @@ properties: description: | kHz; switching frequency. $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, 2400, 3200, 4800, 9600 ] + enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, + 2400, 3200, 4800, 9600 ] qcom,ovp: description: |
In the modern world we are living in now line length of 100 chars are OK. checkpatch and coding_style is updated to reflected this.
Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml examples: · line 37
Quoted 12 lines
Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml +2
-1@@ -33,4 +33,5 @@ examples: reg = <0x1f000000 0x10>; }; -... +... +
Added one line too much?
diff --git a/Documentation/devicetree/bindings/spi/spi-mux.yaml b/Documentation/devicetree/bindings/spi/spi-mux.yaml
Quoted 22 lines
index
0ae692dc28b5..3d3fed63409b100644Documentation/devicetree/bindings/spi/spi-mux.yaml +4
-9@@ -43,47 +43,47 @@ properties: maxItems: 1 required: - - compatible - - reg - - spi-max-frequency - - mux-controls + - compatible + - reg + - spi-max-frequency + - mux-controls examples: - - | - #include <dt-bindings/gpio/gpio.h> - mux: mux-controller { - compatible = "gpio-mux"; - #mux-control-cells = <0>;
Documentation/devicetree/bindings/spi/spi-mux.yaml properties: · line 59
Quoted 10 lines
Documentation/devicetree/bindings/spi/spi-mux.yaml +7
-2+ - | + #include <dt-bindings/gpio/gpio.h> + mux: mux-controller { + compatible = "gpio-mux"; + #mux-control-cells = <0>; - mux-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; - }; + mux-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; + };
Example is updated to use 4-space indent. I like.
But many other examples are left untouched.
So I wonder if updating all examples to the same indent should be left for another mega-patch?
Quoted 5 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +0
-0
Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 1000
Quoted 9 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-1@@ -993,7 +993,8 @@ patternProperties: "^sst,.*": description: Silicon Storage Technology, Inc. "^sstar,.*": - description: Xiamen Xingchen(SigmaStar) Technology Co., Ltd. (formerly part of MStar Semiconductor, Inc.) + description: Xiamen Xingchen(SigmaStar) Technology Co., Ltd. + (formerly part of MStar Semiconductor, Inc.) "^st,.*": description: STMicroelectronics "^starry,.*":
Did you check that they are all in alphabetical order? I would be suprised if this is the only issue in this file.
Quoted 3 lines · Rob Herring
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
^
Quoted 1 line
keyword.
[]
Quoted 5 lines
Documentation/devicetree/bindings/arm/arm,integrator.yaml +0
-0
Documentation/devicetree/bindings/arm/arm,integrator.yaml patternProperties: · line 72
Quoted 9 lines
Documentation/devicetree/bindings/arm/arm,integrator.yaml +3
-3@@ -67,9 +67,9 @@ patternProperties: compatible: items: - enum: - - arm,integrator-ap-syscon - - arm,integrator-cp-syscon - - arm,integrator-sp-syscon + - arm,integrator-ap-syscon + - arm,integrator-cp-syscon + - arm,integrator-sp-syscon
Confused a bit here.
- enum:
10 spaces to dash
old line:
- arm,integrator-ap-syscon
12 spaces to dash
new line:
- arm,integrator-ap-syscon
14 spaces to dash
Is it supposed to be 2 spaces more than the preceding line or 4 more?
Rob Herring
maintainerQuoted 24 lines · Sam Ravnborg
Hi Rob.
Quoted 6 lines · Rob Herring
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).
I have browsed through the patch - and there was only a few things that jumped at me.
With these points considered:
Acked-by Sam Ravnborg <[email protected]>I expect only some (few) of my points to actually results in any updates.
I look forward to have the lint functionality as part of the built-in tools so we catch these things early.
Sam
Quoted 16 lines
Documentation/devicetree/bindings/arm/fsl.yaml properties: · line 278
Quoted 13 lines
Documentation/devicetree/bindings/arm/fsl.yaml +2
-2@@ -273,8 +273,8 @@ properties: - fsl,imx6ull-14x14-evk # i.MX6 UltraLiteLite 14x14 EVK Board - kontron,imx6ull-n6411-som # Kontron N6411 SOM - myir,imx6ull-mys-6ulx-eval # MYiR Tech iMX6ULL Evaluation Board - - toradex,colibri-imx6ull-eval # Colibri iMX6ULL Module on Colibri Evaluation Board - - toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / Bluetooth 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 / BT Module on Colibri Eval Board - const: fsl,imx6ullThis change looks bad as it drops the alignment with the comments below. See following patch chunck:
Yes, but as a whole there's no alignment in this file. Even the rest of the entries for the hunk below aren't aligned.
Perhaps this form would be better:
# Colibri iMX6ULL Wi-Fi / BT Module on Colibri Eval Board
- toradex,colibri-imx6ull-wifi-eval
But I really don't want to go fix this in the whole file...
Quoted 35 lines
Quoted 35 lines
Documentation/devicetree/bindings/arm/fsl.yaml +2
-3- description: Kontron N6411 S Board@@ -312,9 +312,12 @@ properties: - toradex,colibri-imx7d # Colibri iMX7 Dual Module - 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-aster # Colibri iMX7 Dual 1GB (eMMC) Module on Aster Carrier Board - - 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 + - toradex,colibri-imx7d-emmc-aster # Colibri iMX7 Dual 1GB (eMMC) Module on + # Aster Carrier BoardDocumentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml +1
-2@@ -25,8 +25,7 @@ properties: compatible: items: - enum: - - dlink,dir-685-panel - + - dlink,dir-685-panel - const: ilitek,ili9322 reset-gpios: trueDocumentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml +0
-0@@ -13,8 +13,7 @@ properties: compatible: items: - enum:
Quoted 8 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml properties: · line 18
Quoted 5 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml +1
-2- - bananapi,lhr050h41 - + - bananapi,lhr050h41 - const: ilitek,ili9881cThe extra lines is a simple way to indicate that here shall be added more in the future. So I like the empty line.
News to me. I thought 'enum' indicates that. My preference here is a blank line just between DT properties.
Quoted 12 lines
Quoted 12 lines
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml +2
-1@@ -79,7 +79,8 @@ properties: description: | kHz; switching frequency. $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, 2400, 3200, 4800, 9600 ] + enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, + 2400, 3200, 4800, 9600 ]
Quoted 5 lines
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml properties: · line 86
Quoted 2 lines
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml +0
-0qcom,ovp: description: |In the modern world we are living in now line length of 100 chars are OK. checkpatch and
coding_styleis updated to reflected this.
Yes, and it was 102. For yamllint I actually put it at 110 just to get to a reasonable number that I wanted to fix and warning free. I think I fixed all non comment cases to be less than 100 and comments to be up to 110.
Quoted 8 lines
Quoted 8 lines
Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml +0
-0@@ -33,4 +33,5 @@ examples: reg = <0x1f000000 0x10>; };
Quoted 6 lines
Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml examples: · line 37
Quoted 4 lines
Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml +2
-1-... +... +Added one line too much?
Indeed.
Quoted 29 lines
diff --git
a/Documentation/devicetree/bindings/spi/spi-mux.yamlb/Documentation/devicetree/bindings/spi/spi-mux.yamlQuoted 28 lines
index
0ae692dc28b5..3d3fed63409b100644Documentation/devicetree/bindings/spi/spi-mux.yaml +9
-9@@ -43,47 +43,47 @@ properties: maxItems: 1 required: - - compatible - - reg - - spi-max-frequency - - mux-controls + - compatible + - reg + - spi-max-frequency + - mux-controls examples: - - | - #include <dt-bindings/gpio/gpio.h> - mux: mux-controller { - compatible = "gpio-mux"; - #mux-control-cells = <0>; + - | + #include <dt-bindings/gpio/gpio.h> + mux: mux-controller { + compatible = "gpio-mux"; + #mux-control-cells = <0>;
Quoted 8 lines
Documentation/devicetree/bindings/spi/spi-mux.yaml properties: · line 59
Quoted 4 lines
Documentation/devicetree/bindings/spi/spi-mux.yaml +2
-2- mux-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; - }; + mux-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; + };Example is updated to use 4-space indent. I like.
But many other examples are left untouched.
That was not the purpose here. The '- |' line was indented 1 too many. IIRC, the parser is not happy if you only change that line, so at least the 1st line of the example had to be updated anyways.
Quoted 2 lines
So I wonder if updating all examples to the same indent should be left for another mega-patch?
I've said this before, but until example indentation is automatically checked I'm not going to care.
Quoted 9 lines
Quoted 9 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +0
-1@@ -993,7 +993,8 @@ patternProperties: "^sst,.*": description: Silicon Storage Technology, Inc. "^sstar,.*": - description: Xiamen Xingchen(SigmaStar) Technology Co., Ltd. (formerly part of MStar Semiconductor, Inc.)
Quoted 8 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 1000
Quoted 5 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0+ description: Xiamen Xingchen(SigmaStar) Technology Co., Ltd. + (formerly part of MStar Semiconductor, Inc.) "^st,.*": description: STMicroelectronics "^starry,.*":Did you check that they are all in alphabetical order? I would be suprised if this is the only issue in this file.
Nope, as that's not a WS or linter thing. Alphabetical order is about the only thing I look at reviewing additions to this, but I'm sure some errors have slipped in.
Thanks for taking a look.
Rob
Rob Herring
maintainerQuoted 7 lines · Joe Perches
Quoted 3 lines · Rob Herring
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
^Quoted 1 line
keyword.
keyword is the key part...
Quoted 26 lines
[]
Quoted 5 lines
Documentation/devicetree/bindings/arm/arm,integrator.yaml +0
-0Documentation/devicetree/bindings/arm/arm,integrator.yaml patternProperties: · line 72
Quoted 9 lines
Documentation/devicetree/bindings/arm/arm,integrator.yaml +3
-3@@ -67,9 +67,9 @@ patternProperties: compatible: items: - enum: - - arm,integrator-ap-syscon - - arm,integrator-cp-syscon - - arm,integrator-sp-syscon + - arm,integrator-ap-syscon + - arm,integrator-cp-syscon + - arm,integrator-sp-sysconConfused a bit here.
- enum:
10 spaces to dash
old line:
- arm,integrator-ap-syscon
12 spaces to dash
new line:
- arm,integrator-ap-syscon
14 spaces to dash
Quoted 2 lines
Is it supposed to be 2 spaces more than the preceding line or 4 more?
If the preceding line is a list entry (i.e. starts with '-'), then it's 4 more spaces. It's always 2 more spaces than the preceding keyword start (aka json-schema vocabulary).
Arguably, this style is a bit inconsistent in that the '-' counts toward as indentation of the current line, but not the preceding line. However, I think this style is a bit less error prone and easier to review. With the other style (always N more spaces) it's harder to distinguish lists vs. dicts. For example, you can have something like this:
- key:
- foo
- bar
- key:
foo
bar
- key:
- foo
bar
All 3 of these could be valid. Which one was intended? (Can't really tell here, but you can with actual DT schema.)
Rob
Hi Rob,
Quoted 8 lines · Rob Herring
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).
Signed-off-by Rob Herring <[email protected]>
Thanks for your patch!
Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml properties: · line 29
Quoted 12 lines
Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml +3
-3@@ -24,9 +24,9 @@ properties: - const: renesas,r8a7778-cpg-clocks # R-Car M1 - const: renesas,r8a7779-cpg-clocks # R-Car H1 - items: - - enum: - - renesas,r7s72100-cpg-clocks # RZ/A1H - - const: renesas,rz-cpg-clocks # RZ/A1 + - enum: + - renesas,r7s72100-cpg-clocks # RZ/A1H + - const: renesas,rz-cpg-clocks # RZ/A1
This change breaks alignment of the comments at the end of each line.
Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml properties: · line 30
Quoted 1 line
Documentation/devicetree/bindings/clock/renesas,cpg-clocks.yaml +0
-0- const: renesas,sh73a0-cpg-clocks # SH-Mobile AG5
(I only checked the files I care about)
If you don't update commit e0fe7fc6f2ca0781 ("dt-bindings: Whitespace clean-ups in schema files"), I can send a patch after v5.9-rc1.
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
Luca Ceresoli
maintainerHi Rob,
Quoted 6 lines · Rob Herring
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).
[...]
Quoted 9 lines
Documentation/devicetree/bindings/clock/idt,versaclock5.yaml +0
-1@@ -95,10 +95,10 @@ allOf: # Devices without builtin crystal properties: clock-names: - minItems: 1
Documentation/devicetree/bindings/clock/idt,versaclock5.yaml allOf: · line 104
Quoted 10 lines
Documentation/devicetree/bindings/clock/idt,versaclock5.yaml +4
-3- maxItems: 2 - items: - enum: [ xin, clkin ] + minItems: 1 + maxItems: 2 + items: + enum: [ xin, clkin ] clocks: minItems: 1 maxItems: 2
Thanks for noticing, LGTM.
[...]
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml properties: · line 37
Quoted 12 lines
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml +2
-2@@ -33,8 +33,8 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 touchscreen-min-pressure: - description: minimum pressure on the touchscreen to be achieved in order for the - touchscreen driver to report a touch event. + description: minimum pressure on the touchscreen to be achieved in order + for the touchscreen driver to report a touch event.
Out of personal taste, I find the original layout more pleasant and readable. This third option is also good, especially for long descriptions:
description:
minimum pressure on the touchscreen to be achieved in order for the touchscreen driver to report a touch event.
At first glance yamllint seems to support exactly these two by default:
Quoted 10 lines
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml +0
-0With indentation: {spaces: 4, check-multi-line-strings: true}the following code snippet would PASS:
Blaise Pascal:
Je vous écris une longue lettre parce que
je n'ai pas le temps d'en écrire une courte.the following code snippet would PASS:
Quoted 8 lines
Blaise Pascal: Je vous écris une longue lettre parce que
je n'ai pas le temps d'en écrire une courte.the following code snippet would FAIL:
Blaise Pascal: Je vous écris une longue lettre parce que
je n'ai pas le temps d'en écrire une courte.
(https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.indentation)
Signature · 1 line
Luca
Rob Herring
maintainerQuoted 53 lines · Luca Ceresoli
Hi Rob,
Quoted 6 lines · Rob Herring
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).
[...]
Quoted 9 lines
Documentation/devicetree/bindings/clock/idt,versaclock5.yaml +0
-1@@ -95,10 +95,10 @@ allOf: # Devices without builtin crystal properties: clock-names: - minItems: 1Documentation/devicetree/bindings/clock/idt,versaclock5.yaml allOf: · line 104
Quoted 10 lines
Documentation/devicetree/bindings/clock/idt,versaclock5.yaml +4
-3- maxItems: 2 - items: - enum: [ xin, clkin ] + minItems: 1 + maxItems: 2 + items: + enum: [ xin, clkin ] clocks: minItems: 1 maxItems: 2Thanks for noticing, LGTM.
[...]
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml properties: · line 37
Quoted 12 lines
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml +2
-2@@ -33,8 +33,8 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 touchscreen-min-pressure: - description: minimum pressure on the touchscreen to be achieved in order for the - touchscreen driver to report a touch event. + description: minimum pressure on the touchscreen to be achieved in order + for the touchscreen driver to report a touch event.Out of personal taste, I find the original layout more pleasant and readable. This third option is also good, especially for long descriptions:
Quoted 7 lines
description:
minimum pressure on the touchscreen to be achieved in order for the touchscreen driver to report a touch event.At first glance yamllint seems to support exactly these two by default:
Quoted 1 line
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml +0
-0With indentation: {spaces: 4, check-multi-line-strings: true}
Turning on check-multi-line-strings results in 10K+ warnings, so no.
The other issue is the style ruamel.yaml wants to write out is as the patch does above. This matters when doing some scripted transformations where we read in the files and write them back out. I can somewhat work around that by first doing a pass with no changes and then another pass with the actual changes, but that's completely scriptable. Hopefully, ruamel learns to preserve the style better.
Rob
Hi,
Quoted 62 lines · Rob Herring
Quoted 53 lines · Luca Ceresoli
Hi Rob,
Quoted 6 lines · Rob Herring
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).
[...]
Quoted 9 lines
Documentation/devicetree/bindings/clock/idt,versaclock5.yaml +0
-1@@ -95,10 +95,10 @@ allOf: # Devices without builtin crystal properties: clock-names: - minItems: 1Documentation/devicetree/bindings/clock/idt,versaclock5.yaml allOf: · line 104
Quoted 10 lines
Documentation/devicetree/bindings/clock/idt,versaclock5.yaml +4
-3- maxItems: 2 - items: - enum: [ xin, clkin ] + minItems: 1 + maxItems: 2 + items: + enum: [ xin, clkin ] clocks: minItems: 1 maxItems: 2Thanks for noticing, LGTM.
[...]
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml properties: · line 37
Quoted 12 lines
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml +2
-2@@ -33,8 +33,8 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 touchscreen-min-pressure: - description: minimum pressure on the touchscreen to be achieved in order for the - touchscreen driver to report a touch event. + description: minimum pressure on the touchscreen to be achieved in order + for the touchscreen driver to report a touch event.Out of personal taste, I find the original layout more pleasant and readable. This third option is also good, especially for long descriptions:
Quoted 7 lines
description:
minimum pressure on the touchscreen to be achieved in order for the touchscreen driver to report a touch event.At first glance yamllint seems to support exactly these two by default:
Quoted 1 line
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml +0
-0With indentation: {spaces: 4, check-multi-line-strings: true}
Quoted 8 lines
Turning on check-multi-line-strings results in 10K+ warnings, so no.
The other issue is the style
ruamel.yamlwants to write out is as the patch does above. This matters when doing some scripted transformations where we read in the files and write them back out. I can somewhat work around that by first doing a pass with no changes and then another pass with the actual changes, but that's completely scriptable. Hopefully, ruamel learns to preserve the style better.
Kind of sad, but I understand the reason as far as my understanding of the yaml world allows. Thanks for the explanation.
Signature · 1 line
Luca
Quoted 8 lines · On Wed, 12 Aug 2020 23:34:53 +0200 Sam Ravnborg <[email protected]> wrote:
Hi Rob.
Quoted 5 lines · Rob Herring
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.
Quoted 7 lines
Quoted 1 line
Found with yamllint (which I plan to integrate into the checks).
I have browsed through the patch - and there was only a few things that jumped at me.
With these points considered:
Acked-by Sam Ravnborg <[email protected]>
Replying here as the patch doesn't seem to have made it to linux-iio at least. I'm not sure why...
Anyhow, found it in an lkml archive so for the iio changes
Quoted 164 lines
I expect only some (few) of my points to actually results in any updates.
I look forward to have the lint functionality as part of the built-in tools so we catch these things early.
Sam
Documentation/devicetree/bindings/arm/fsl.yaml properties: · line 278
Quoted 13 lines
Documentation/devicetree/bindings/arm/fsl.yaml +2
-2@@ -273,8 +273,8 @@ properties: - fsl,imx6ull-14x14-evk # i.MX6 UltraLiteLite 14x14 EVK Board - kontron,imx6ull-n6411-som # Kontron N6411 SOM - myir,imx6ull-mys-6ulx-eval # MYiR Tech iMX6ULL Evaluation Board - - toradex,colibri-imx6ull-eval # Colibri iMX6ULL Module on Colibri Evaluation Board - - toradex,colibri-imx6ull-wifi-eval # Colibri iMX6ULL Wi-Fi / Bluetooth 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 / BT Module on Colibri Eval Board - const: fsl,imx6ullThis change looks bad as it drops the alignment with the comments below. See following patch chunck:
Quoted 33 lines
Documentation/devicetree/bindings/arm/fsl.yaml +2
-3- description: Kontron N6411 S Board@@ -312,9 +312,12 @@ properties: - toradex,colibri-imx7d # Colibri iMX7 Dual Module - 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-aster # Colibri iMX7 Dual 1GB (eMMC) Module on Aster Carrier Board - - 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 + - toradex,colibri-imx7d-emmc-aster # Colibri iMX7 Dual 1GB (eMMC) Module on + # Aster Carrier BoardDocumentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml +1
-2@@ -25,8 +25,7 @@ properties: compatible: items: - enum: - - dlink,dir-685-panel - + - dlink,dir-685-panel - const: ilitek,ili9322 reset-gpios: trueDocumentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml +0
-0Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml properties: · line 18
Quoted 8 lines
Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml +1
-2@@ -13,8 +13,7 @@ properties: compatible: items: - enum: - - bananapi,lhr050h41 - + - bananapi,lhr050h41 - const: ilitek,ili9881cThe extra lines is a simple way to indicate that here shall be added more in the future. So I like the empty line.
Quoted 5 lines
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml +0
-0Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml properties: · line 86
Quoted 9 lines
Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml +2
-1@@ -79,7 +79,8 @@ properties: description: | kHz; switching frequency. $ref: /schemas/types.yaml#/definitions/uint32 - enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, 2400, 3200, 4800, 9600 ] + enum: [ 600, 640, 685, 738, 800, 872, 960, 1066, 1200, 1371, 1600, 1920, + 2400, 3200, 4800, 9600 ] qcom,ovp: description: |In the modern world we are living in now line length of 100 chars are OK. checkpatch and
coding_styleis updated to reflected this.Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml examples: · line 37
Quoted 12 lines
Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml +2
-1@@ -33,4 +33,5 @@ examples: reg = <0x1f000000 0x10>; }; -... +... +Added one line too much?
diff --git
a/Documentation/devicetree/bindings/spi/spi-mux.yamlb/Documentation/devicetree/bindings/spi/spi-mux.yamlQuoted 22 lines
index
0ae692dc28b5..3d3fed63409b100644Documentation/devicetree/bindings/spi/spi-mux.yaml +4
-9@@ -43,47 +43,47 @@ properties: maxItems: 1 required: - - compatible - - reg - - spi-max-frequency - - mux-controls + - compatible + - reg + - spi-max-frequency + - mux-controls examples: - - | - #include <dt-bindings/gpio/gpio.h> - mux: mux-controller { - compatible = "gpio-mux"; - #mux-control-cells = <0>;Documentation/devicetree/bindings/spi/spi-mux.yaml properties: · line 59
Quoted 10 lines
Documentation/devicetree/bindings/spi/spi-mux.yaml +7
-2+ - | + #include <dt-bindings/gpio/gpio.h> + mux: mux-controller { + compatible = "gpio-mux"; + #mux-control-cells = <0>; - mux-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; - }; + mux-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; + };Example is updated to use 4-space indent. I like.
But many other examples are left untouched.
So I wonder if updating all examples to the same indent should be left for another mega-patch?
Quoted 5 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +0
-0Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 1000
Quoted 9 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-1@@ -993,7 +993,8 @@ patternProperties: "^sst,.*": description: Silicon Storage Technology, Inc. "^sstar,.*": - description: Xiamen Xingchen(SigmaStar) Technology Co., Ltd. (formerly part of MStar Semiconductor, Inc.) + description: Xiamen Xingchen(SigmaStar) Technology Co., Ltd. + (formerly part of MStar Semiconductor, Inc.) "^st,.*": description: STMicroelectronics "^starry,.*":Did you check that they are all in alphabetical order? I would be suprised if this is the only issue in this file.
Quoted 20 lines · Rob Herring
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).
Quoted 8 lines
I trust you guys in figuring out the details, so for touching I2C: