Commit 6ad8838d authored by Rob Herring's avatar Rob Herring

dt-bindings: More whitespace clean-ups in schema files

Clean-up incorrect indentation, extra spaces, 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 (now integrated into the checks).

Cc: linux-arm-kernel@lists.infradead.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Cc: linux-serial@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C
Acked-by: Sam Ravnborg <sam@ravnborg.org> # for display
Acked-by:  Jonathan Cameron <Jonathan.Cameron@huawei.com> #for-iio
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 5c024e68
...@@ -54,8 +54,8 @@ properties: ...@@ -54,8 +54,8 @@ properties:
- const: st,stm32mp157 - const: st,stm32mp157
- description: Odyssey STM32MP1 SoM based Boards - description: Odyssey STM32MP1 SoM based Boards
items: items:
- enum: - enum:
- seeed,stm32mp157c-odyssey - seeed,stm32mp157c-odyssey
- const: seeed,stm32mp157c-odyssey-som - const: seeed,stm32mp157c-odyssey-som
- const: st,stm32mp157 - const: st,stm32mp157
... ...
...@@ -7,17 +7,17 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# ...@@ -7,17 +7,17 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Toshiba TC358775 DSI to LVDS bridge bindings title: Toshiba TC358775 DSI to LVDS bridge bindings
maintainers: maintainers:
- Vinay Simha BN <simhavcs@gmail.com> - Vinay Simha BN <simhavcs@gmail.com>
description: | description: |
This binding supports DSI to LVDS bridge TC358775 This binding supports DSI to LVDS bridge TC358775
MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane. MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane.
Video frame size: Video frame size:
Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel
limited by 135 MHz LVDS speed limited by 135 MHz LVDS speed
Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display
panel, limited by 270 MHz LVDS speed. panel, limited by 270 MHz LVDS speed.
properties: properties:
compatible: compatible:
...@@ -29,7 +29,7 @@ properties: ...@@ -29,7 +29,7 @@ properties:
vdd-supply: vdd-supply:
maxItems: 1 maxItems: 1
description: 1.2V LVDS Power Supply description: 1.2V LVDS Power Supply
vddio-supply: vddio-supply:
maxItems: 1 maxItems: 1
...@@ -77,16 +77,16 @@ properties: ...@@ -77,16 +77,16 @@ properties:
- port@1 - port@1
required: required:
- compatible - compatible
- reg - reg
- vdd-supply - vdd-supply
- vddio-supply - vddio-supply
- stby-gpios - stby-gpios
- reset-gpios - reset-gpios
- ports - ports
examples: examples:
- | - |
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
/* For single-link LVDS display panel */ /* For single-link LVDS display panel */
...@@ -147,7 +147,7 @@ examples: ...@@ -147,7 +147,7 @@ examples:
}; };
}; };
- | - |
/* For dual-link LVDS display panel */ /* For dual-link LVDS display panel */
i2c@78b8000 { i2c@78b8000 {
......
...@@ -13,9 +13,8 @@ properties: ...@@ -13,9 +13,8 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- bananapi,lhr050h41 - bananapi,lhr050h41
- feixin,k101-im2byl02 - feixin,k101-im2byl02
- const: ilitek,ili9881c - const: ilitek,ili9881c
backlight: true backlight: true
......
...@@ -81,14 +81,14 @@ properties: ...@@ -81,14 +81,14 @@ properties:
at25,byte-len: at25,byte-len:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
Total eeprom size in bytes. Deprecated, use "size" property instead. Total eeprom size in bytes. Deprecated, use "size" property instead.
deprecated: true deprecated: true
at25,addr-mode: at25,addr-mode:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
Addr-mode flags, as defined in include/linux/spi/eeprom.h. Addr-mode flags, as defined in include/linux/spi/eeprom.h.
Deprecated, use "address-width" property instead. Deprecated, use "address-width" property instead.
deprecated: true deprecated: true
at25,page-size: at25,page-size:
......
...@@ -43,8 +43,8 @@ properties: ...@@ -43,8 +43,8 @@ properties:
gpio-controller: true gpio-controller: true
gpio-line-names: gpio-line-names:
minItems: 1 minItems: 1
maxItems: 8 maxItems: 8
required: required:
- compatible - compatible
......
...@@ -19,11 +19,11 @@ properties: ...@@ -19,11 +19,11 @@ properties:
compatible: compatible:
oneOf: oneOf:
- enum: - enum:
- ingenic,jz4770-i2c - ingenic,jz4770-i2c
- ingenic,x1000-i2c - ingenic,x1000-i2c
- items: - items:
- const: ingenic,jz4780-i2c - const: ingenic,jz4780-i2c
- const: ingenic,jz4770-i2c - const: ingenic,jz4770-i2c
reg: reg:
maxItems: 1 maxItems: 1
......
...@@ -43,4 +43,5 @@ examples: ...@@ -43,4 +43,5 @@ examples:
vref-supply = <&adc_vref>; vref-supply = <&adc_vref>;
}; };
}; };
... ...
\ No newline at end of file
...@@ -46,7 +46,8 @@ properties: ...@@ -46,7 +46,8 @@ properties:
spi-max-frequency: true spi-max-frequency: true
spi-cpol: true spi-cpol: true
spi-cpha : true
spi-cpha: true
"#io-channel-cells": "#io-channel-cells":
const: 1 const: 1
......
...@@ -22,8 +22,8 @@ properties: ...@@ -22,8 +22,8 @@ properties:
adc-reserved-channels: adc-reserved-channels:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: description:
Bitmask of reserved channels, i.e. channels that cannot be Bitmask of reserved channels, i.e. channels that cannot be
used by the OS. used by the OS.
clocks: clocks:
maxItems: 1 maxItems: 1
......
...@@ -21,7 +21,7 @@ properties: ...@@ -21,7 +21,7 @@ properties:
gpios: gpios:
description: description:
GPIO used for controlling the reset pin GPIO used for controlling the reset pin
maxItems: 1 maxItems: 1
spi-max-frequency: true spi-max-frequency: true
......
...@@ -94,12 +94,12 @@ properties: ...@@ -94,12 +94,12 @@ properties:
instances. instances.
required: required:
- compatible - compatible
- reg - reg
- interrupts - interrupts
- interrupt-names - interrupt-names
- interrupt-controller - interrupt-controller
- "#interrupt-cells" - "#interrupt-cells"
additionalProperties: false additionalProperties: false
......
...@@ -17,7 +17,7 @@ properties: ...@@ -17,7 +17,7 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- dell,wyse-ariel-ec # Dell Wyse Ariel board (3020) - dell,wyse-ariel-ec # Dell Wyse Ariel board (3020)
- const: ene,kb3930 - const: ene,kb3930
reg: reg:
maxItems: 1 maxItems: 1
......
...@@ -32,11 +32,11 @@ allOf: ...@@ -32,11 +32,11 @@ allOf:
clock-output-names: clock-output-names:
oneOf: oneOf:
- items: - items:
- const: clk_out_sd0 - const: clk_out_sd0
- const: clk_in_sd0 - const: clk_in_sd0
- items: - items:
- const: clk_out_sd1 - const: clk_out_sd1
- const: clk_in_sd1 - const: clk_in_sd1
properties: properties:
compatible: compatible:
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
%YAML 1.2 %YAML 1.2
--- ---
$id: "http://devicetree.org/schemas/mmc/sdhci-am654.yaml#" $id: "http://devicetree.org/schemas/mmc/sdhci-am654.yaml#"
$schema : "http://devicetree.org/meta-schemas/core.yaml#" $schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: TI AM654 MMC Controller title: TI AM654 MMC Controller
...@@ -163,13 +163,12 @@ properties: ...@@ -163,13 +163,12 @@ properties:
ti,driver-strength-ohm: ti,driver-strength-ohm:
description: DLL drive strength in ohms description: DLL drive strength in ohms
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: "/schemas/types.yaml#/definitions/uint32"
oneOf: enum:
- enum: - 33
- 33 - 40
- 40 - 50
- 50 - 66
- 66 - 100
- 100
ti,strobe-sel: ti,strobe-sel:
description: strobe select delay for HS400 speed mode. description: strobe select delay for HS400 speed mode.
......
...@@ -29,16 +29,16 @@ properties: ...@@ -29,16 +29,16 @@ properties:
reg-names: reg-names:
oneOf: oneOf:
- items: - items:
- const: dbi - const: dbi
- const: dbi2 - const: dbi2
- const: link - const: link
- const: addr_space - const: addr_space
- items: - items:
- const: dbi - const: dbi
- const: dbi2 - const: dbi2
- const: link - const: link
- const: addr_space - const: addr_space
- const: atu - const: atu
clocks: clocks:
maxItems: 2 maxItems: 2
......
...@@ -31,10 +31,10 @@ properties: ...@@ -31,10 +31,10 @@ properties:
clock-names: clock-names:
oneOf: oneOf:
- items: # for PXs2 - items: # for PXs2
- const: link - const: link
- items: # for others - items: # for others
- const: link - const: link
- const: phy - const: phy
resets: resets:
maxItems: 2 maxItems: 2
......
...@@ -7,23 +7,23 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# ...@@ -7,23 +7,23 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: OMAP USB2 PHY title: OMAP USB2 PHY
maintainers: maintainers:
- Kishon Vijay Abraham I <kishon@ti.com> - Kishon Vijay Abraham I <kishon@ti.com>
- Roger Quadros <rogerq@ti.com> - Roger Quadros <rogerq@ti.com>
properties: properties:
compatible: compatible:
oneOf: oneOf:
- items: - items:
- enum: - enum:
- ti,dra7x-usb2 - ti,dra7x-usb2
- ti,dra7x-usb2-phy2 - ti,dra7x-usb2-phy2
- ti,am654-usb2 - ti,am654-usb2
- enum: - enum:
- ti,omap-usb2 - ti,omap-usb2
- items: - items:
- const: ti,am437x-usb2 - const: ti,am437x-usb2
- items: - items:
- const: ti,omap-usb2 - const: ti,omap-usb2
reg: reg:
maxItems: 1 maxItems: 1
......
...@@ -76,22 +76,22 @@ patternProperties: ...@@ -76,22 +76,22 @@ patternProperties:
items: items:
oneOf: oneOf:
- enum: [lcd0_d18_mfp, rmii_crs_dv_mfp, rmii_txd0_mfp, - enum: [lcd0_d18_mfp, rmii_crs_dv_mfp, rmii_txd0_mfp,
rmii_txd1_mfp, rmii_txen_mfp, rmii_rxen_mfp, rmii_rxd1_mfp, rmii_txd1_mfp, rmii_txen_mfp, rmii_rxen_mfp, rmii_rxd1_mfp,
rmii_rxd0_mfp, rmii_ref_clk_mfp, i2s_d0_mfp, i2s_pcm1_mfp, rmii_rxd0_mfp, rmii_ref_clk_mfp, i2s_d0_mfp, i2s_pcm1_mfp,
i2s0_pcm0_mfp, i2s1_pcm0_mfp, i2s_d1_mfp, ks_in2_mfp, i2s0_pcm0_mfp, i2s1_pcm0_mfp, i2s_d1_mfp, ks_in2_mfp,
ks_in1_mfp, ks_in0_mfp, ks_in3_mfp, ks_out0_mfp, ks_in1_mfp, ks_in0_mfp, ks_in3_mfp, ks_out0_mfp,
ks_out1_mfp, ks_out2_mfp, lvds_o_pn_mfp, dsi_dn0_mfp, ks_out1_mfp, ks_out2_mfp, lvds_o_pn_mfp, dsi_dn0_mfp,
dsi_dp2_mfp, lcd0_d17_mfp, dsi_dp3_mfp, dsi_dn3_mfp, dsi_dp2_mfp, lcd0_d17_mfp, dsi_dp3_mfp, dsi_dn3_mfp,
dsi_dp0_mfp, lvds_ee_pn_mfp, spi0_i2c_pcm_mfp, dsi_dp0_mfp, lvds_ee_pn_mfp, spi0_i2c_pcm_mfp,
spi0_i2s_pcm_mfp, dsi_dnp1_cp_mfp, lvds_e_pn_mfp, spi0_i2s_pcm_mfp, dsi_dnp1_cp_mfp, lvds_e_pn_mfp,
dsi_dn2_mfp, uart2_rtsb_mfp, uart2_ctsb_mfp, uart3_rtsb_mfp, dsi_dn2_mfp, uart2_rtsb_mfp, uart2_ctsb_mfp, uart3_rtsb_mfp,
uart3_ctsb_mfp, sd0_d0_mfp, sd0_d1_mfp, sd0_d2_d3_mfp, uart3_ctsb_mfp, sd0_d0_mfp, sd0_d1_mfp, sd0_d2_d3_mfp,
sd1_d0_d3_mfp, sd0_cmd_mfp, sd0_clk_mfp, sd1_cmd_mfp, sd1_d0_d3_mfp, sd0_cmd_mfp, sd0_clk_mfp, sd1_cmd_mfp,
uart0_rx_mfp, clko_25m_mfp, csi_cn_cp_mfp, sens0_ckout_mfp, uart0_rx_mfp, clko_25m_mfp, csi_cn_cp_mfp, sens0_ckout_mfp,
uart0_tx_mfp, i2c0_mfp, csi_dn_dp_mfp, sen0_pclk_mfp, uart0_tx_mfp, i2c0_mfp, csi_dn_dp_mfp, sen0_pclk_mfp,
pcm1_in_mfp, pcm1_clk_mfp, pcm1_sync_mfp, pcm1_out_mfp, pcm1_in_mfp, pcm1_clk_mfp, pcm1_sync_mfp, pcm1_out_mfp,
dnand_data_wr_mfp, dnand_acle_ce0_mfp, nand_ceb2_mfp, dnand_data_wr_mfp, dnand_acle_ce0_mfp, nand_ceb2_mfp,
nand_ceb3_mfp] nand_ceb3_mfp]
minItems: 1 minItems: 1
maxItems: 32 maxItems: 32
...@@ -100,10 +100,10 @@ patternProperties: ...@@ -100,10 +100,10 @@ patternProperties:
Specify the alternative function to be configured for the Specify the alternative function to be configured for the
given gpio pin groups. given gpio pin groups.
enum: [nor, eth_rmii, eth_smii, spi0, spi1, spi2, spi3, sens0, enum: [nor, eth_rmii, eth_smii, spi0, spi1, spi2, spi3, sens0,
sens1, uart0, uart1, uart2, uart3, uart4, uart5, uart6, i2s0, sens1, uart0, uart1, uart2, uart3, uart4, uart5, uart6, i2s0,
i2s1, pcm1, pcm0, ks, jtag, pwm0, pwm1, pwm2, pwm3, pwm4, pwm5, i2s1, pcm1, pcm0, ks, jtag, pwm0, pwm1, pwm2, pwm3, pwm4, pwm5,
p0, sd0, sd1, sd2, i2c0, i2c1, i2c3, dsi, lvds, usb30, clko_25m, p0, sd0, sd1, sd2, i2c0, i2c1, i2c3, dsi, lvds, usb30, clko_25m,
mipi_csi, nand, spdif, ts, lcd0] mipi_csi, nand, spdif, ts, lcd0]
required: required:
- groups - groups
...@@ -126,14 +126,14 @@ patternProperties: ...@@ -126,14 +126,14 @@ patternProperties:
items: items:
oneOf: oneOf:
- enum: [sirq_drv, rmii_txd01_txen_drv, rmii_rxer_drv, - enum: [sirq_drv, rmii_txd01_txen_drv, rmii_rxer_drv,
rmii_crs_drv, rmii_rxd10_drv, rmii_ref_clk_drv, rmii_crs_drv, rmii_rxd10_drv, rmii_ref_clk_drv,
smi_mdc_mdio_drv, i2s_d0_drv, i2s_bclk0_drv, i2s3_drv, smi_mdc_mdio_drv, i2s_d0_drv, i2s_bclk0_drv, i2s3_drv,
i2s13_drv, pcm1_drv, ks_in_drv, ks_out_drv, lvds_all_drv, i2s13_drv, pcm1_drv, ks_in_drv, ks_out_drv, lvds_all_drv,
lcd_dsi_drv, dsi_drv, sd0_d0_d3_drv, sd1_d0_d3_drv, lcd_dsi_drv, dsi_drv, sd0_d0_d3_drv, sd1_d0_d3_drv,
sd0_cmd_drv, sd0_clk_drv, sd1_cmd_drv, sd1_clk_drv, sd0_cmd_drv, sd0_clk_drv, sd1_cmd_drv, sd1_clk_drv,
spi0_all_drv, uart0_rx_drv, uart0_tx_drv, uart2_all_drv, spi0_all_drv, uart0_rx_drv, uart0_tx_drv, uart2_all_drv,
i2c0_all_drv, i2c12_all_drv, sens0_pclk_drv, i2c0_all_drv, i2c12_all_drv, sens0_pclk_drv,
sens0_ckout_drv, uart3_all_drv] sens0_ckout_drv, uart3_all_drv]
minItems: 1 minItems: 1
maxItems: 32 maxItems: 32
...@@ -144,29 +144,29 @@ patternProperties: ...@@ -144,29 +144,29 @@ patternProperties:
items: items:
oneOf: oneOf:
- enum: [dnand_dqs, dnand_dqsn, eth_txd0, eth_txd1, eth_txen, - enum: [dnand_dqs, dnand_dqsn, eth_txd0, eth_txd1, eth_txen,
eth_rxer, eth_crs_dv, eth_rxd1, eth_rxd0, eth_ref_clk, eth_rxer, eth_crs_dv, eth_rxd1, eth_rxd0, eth_ref_clk,
eth_mdc, eth_mdio, sirq0, sirq1, sirq2, i2s_d0, i2s_bclk0, eth_mdc, eth_mdio, sirq0, sirq1, sirq2, i2s_d0, i2s_bclk0,
i2s_lrclk0, i2s_mclk0, i2s_d1, i2s_bclk1, i2s_lrclk1, i2s_lrclk0, i2s_mclk0, i2s_d1, i2s_bclk1, i2s_lrclk1,
i2s_mclk1, ks_in0, ks_in1, ks_in2, ks_in3, ks_out0, ks_out1, i2s_mclk1, ks_in0, ks_in1, ks_in2, ks_in3, ks_out0, ks_out1,
ks_out2, lvds_oep, lvds_oen, lvds_odp, lvds_odn, lvds_ocp, ks_out2, lvds_oep, lvds_oen, lvds_odp, lvds_odn, lvds_ocp,
lvds_ocn, lvds_obp, lvds_obn, lvds_oap, lvds_oan, lvds_eep, lvds_ocn, lvds_obp, lvds_obn, lvds_oap, lvds_oan, lvds_eep,
lvds_een, lvds_edp, lvds_edn, lvds_ecp, lvds_ecn, lvds_ebp, lvds_een, lvds_edp, lvds_edn, lvds_ecp, lvds_ecn, lvds_ebp,
lvds_ebn, lvds_eap, lvds_ean, lcd0_d18, lcd0_d17, dsi_dp3, lvds_ebn, lvds_eap, lvds_ean, lcd0_d18, lcd0_d17, dsi_dp3,
dsi_dn3, dsi_dp1, dsi_dn1, dsi_cp, dsi_cn, dsi_dp0, dsi_dn0, dsi_dn3, dsi_dp1, dsi_dn1, dsi_cp, dsi_cn, dsi_dp0, dsi_dn0,
dsi_dp2, dsi_dn2, sd0_d0, sd0_d1, sd0_d2, sd0_d3, sd1_d0, dsi_dp2, dsi_dn2, sd0_d0, sd0_d1, sd0_d2, sd0_d3, sd1_d0,
sd1_d1, sd1_d2, sd1_d3, sd0_cmd, sd0_clk, sd1_cmd, sd1_clk, sd1_d1, sd1_d2, sd1_d3, sd0_cmd, sd0_clk, sd1_cmd, sd1_clk,
spi0_sclk, spi0_ss, spi0_miso, spi0_mosi, uart0_rx, spi0_sclk, spi0_ss, spi0_miso, spi0_mosi, uart0_rx,
uart0_tx, i2c0_sclk, i2c0_sdata, sensor0_pclk, uart0_tx, i2c0_sclk, i2c0_sdata, sensor0_pclk,
sensor0_ckout, dnand_ale, dnand_cle, dnand_ceb0, dnand_ceb1, sensor0_ckout, dnand_ale, dnand_cle, dnand_ceb0, dnand_ceb1,
dnand_ceb2, dnand_ceb3, uart2_rx, uart2_tx, uart2_rtsb, dnand_ceb2, dnand_ceb3, uart2_rx, uart2_tx, uart2_rtsb,
uart2_ctsb, uart3_rx, uart3_tx, uart3_rtsb, uart3_ctsb, uart2_ctsb, uart3_rx, uart3_tx, uart3_rtsb, uart3_ctsb,
pcm1_in, pcm1_clk, pcm1_sync, pcm1_out, i2c1_sclk, pcm1_in, pcm1_clk, pcm1_sync, pcm1_out, i2c1_sclk,
i2c1_sdata, i2c2_sclk, i2c2_sdata, csi_dn0, csi_dp0, i2c1_sdata, i2c2_sclk, i2c2_sdata, csi_dn0, csi_dp0,
csi_dn1, csi_dp1, csi_dn2, csi_dp2, csi_dn3, csi_dp3, csi_dn1, csi_dp1, csi_dn2, csi_dp2, csi_dn3, csi_dp3,
csi_cn, csi_cp, dnand_d0, dnand_d1, dnand_d2, dnand_d3, csi_cn, csi_cp, dnand_d0, dnand_d1, dnand_d2, dnand_d3,
dnand_d4, dnand_d5, dnand_d6, dnand_d7, dnand_rb, dnand_rdb, dnand_d4, dnand_d5, dnand_d6, dnand_d7, dnand_rb, dnand_rdb,
dnand_rdbn, dnand_wrb, porb, clko_25m, bsel, pkg0, pkg1, dnand_rdbn, dnand_wrb, porb, clko_25m, bsel, pkg0, pkg1,
pkg2, pkg3] pkg2, pkg3]
minItems: 1 minItems: 1
maxItems: 64 maxItems: 64
......
...@@ -106,7 +106,7 @@ patternProperties: ...@@ -106,7 +106,7 @@ patternProperties:
required: required:
- pinmux - pinmux
additionalProperties: false additionalProperties: false
required: required:
- compatible - compatible
......
...@@ -71,9 +71,9 @@ patternProperties: ...@@ -71,9 +71,9 @@ patternProperties:
Specify the alternative function to be configured for the specified Specify the alternative function to be configured for the specified
pins. Functions are only valid for gpio pins. pins. Functions are only valid for gpio pins.
enum: [ gpio, cci_i2c0, blsp_uim1, blsp_uim2, blsp_uim3, blsp_uim5, enum: [ gpio, cci_i2c0, blsp_uim1, blsp_uim2, blsp_uim3, blsp_uim5,
blsp_i2c1, blsp_i2c2, blsp_i2c3, blsp_i2c5, blsp_spi1, blsp_i2c1, blsp_i2c2, blsp_i2c3, blsp_i2c5, blsp_spi1,
blsp_spi2, blsp_spi3, blsp_spi5, blsp_uart1, blsp_uart2, blsp_spi2, blsp_spi3, blsp_spi5, blsp_uart1, blsp_uart2,
blsp_uart3, blsp_uart5, cam_mclk0, cam_mclk1, wlan ] blsp_uart3, blsp_uart5, cam_mclk0, cam_mclk1, wlan ]
drive-strength: drive-strength:
enum: [2, 4, 6, 8, 10, 12, 14, 16] enum: [2, 4, 6, 8, 10, 12, 14, 16]
......
...@@ -40,24 +40,24 @@ patternProperties: ...@@ -40,24 +40,24 @@ patternProperties:
Function to mux. Function to mux.
$ref: "/schemas/types.yaml#/definitions/string" $ref: "/schemas/types.yaml#/definitions/string"
enum: [i2c0, i2c1, i2c2, i2c3, i2c4, i2c5, i2c6, i2c7, i2c8, enum: [i2c0, i2c1, i2c2, i2c3, i2c4, i2c5, i2c6, i2c7, i2c8,
spi0, spi1, spi2, spi3, spi4, spi5, spi6, spi0, spi1, spi2, spi3, spi4, spi5, spi6,
uart0, uart1, uart2, uart3, pwm, pcmif_out, pcmif_in] uart0, uart1, uart2, uart3, pwm, pcmif_out, pcmif_in]
groups: groups:
description: description:
Name of the pin group to use for the functions. Name of the pin group to use for the functions.
$ref: "/schemas/types.yaml#/definitions/string" $ref: "/schemas/types.yaml#/definitions/string"
enum: [i2c0_grp, i2c1_grp, i2c2_grp, i2c3_grp, i2c4_grp, enum: [i2c0_grp, i2c1_grp, i2c2_grp, i2c3_grp, i2c4_grp,
i2c5_grp, i2c6_grp, i2c7_grp, i2c8_grp, i2c5_grp, i2c6_grp, i2c7_grp, i2c8_grp,
spi0_grp, spi0_cs0_grp, spi0_cs1_grp, spi0_cs2_grp, spi0_grp, spi0_cs0_grp, spi0_cs1_grp, spi0_cs2_grp,
spi1_grp, spi2_grp, spi3_grp, spi4_grp, spi5_grp, spi6_grp, spi1_grp, spi2_grp, spi3_grp, spi4_grp, spi5_grp, spi6_grp,
uart0_grp, uart1_grp, uart2_grp, uart3_grp, uart0_grp, uart1_grp, uart2_grp, uart3_grp,
pwm0_gpio4_grp, pwm0_gpio8_grp, pwm0_gpio12_grp, pwm0_gpio4_grp, pwm0_gpio8_grp, pwm0_gpio12_grp,
pwm0_gpio16_grp, pwm1_gpio5_grp, pwm1_gpio9_grp, pwm0_gpio16_grp, pwm1_gpio5_grp, pwm1_gpio9_grp,
pwm1_gpio13_grp, pwm1_gpio17_grp, pwm2_gpio6_grp, pwm1_gpio13_grp, pwm1_gpio17_grp, pwm2_gpio6_grp,
pwm2_gpio10_grp, pwm2_gpio14_grp, pwm2_gpio18_grp, pwm2_gpio10_grp, pwm2_gpio14_grp, pwm2_gpio18_grp,
pwm3_gpio7_grp, pwm3_gpio11_grp, pwm3_gpio15_grp, pwm3_gpio7_grp, pwm3_gpio11_grp, pwm3_gpio15_grp,
pwm3_gpio19_grp, pcmif_out_grp, pcmif_in_grp] pwm3_gpio19_grp, pcmif_out_grp, pcmif_in_grp]
drive-strength: drive-strength:
enum: [2, 4, 6, 8, 16, 24, 32] enum: [2, 4, 6, 8, 16, 24, 32]
......
...@@ -28,9 +28,9 @@ description: | ...@@ -28,9 +28,9 @@ description: |
properties: properties:
mode-normal: mode-normal:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description:
Default value to set on a reboot if no command was provided. Default value to set on a reboot if no command was provided.
patternProperties: patternProperties:
"^mode-.*$": "^mode-.*$":
......
...@@ -15,10 +15,10 @@ properties: ...@@ -15,10 +15,10 @@ properties:
oneOf: oneOf:
- const: ingenic,jz4740-battery - const: ingenic,jz4740-battery
- items: - items:
- enum: - enum:
- ingenic,jz4725b-battery - ingenic,jz4725b-battery
- ingenic,jz4770-battery - ingenic,jz4770-battery
- const: ingenic,jz4740-battery - const: ingenic,jz4740-battery
io-channels: io-channels:
maxItems: 1 maxItems: 1
......
...@@ -84,12 +84,12 @@ allOf: ...@@ -84,12 +84,12 @@ allOf:
then: then:
properties: properties:
summit,mains-current-limit-microamp: summit,mains-current-limit-microamp:
enum: [ 300000, 500000, 700000, 1000000, enum: [ 300000, 500000, 700000, 1000000,
1500000, 1800000, 2000000] 1500000, 1800000, 2000000]
summit,usb-current-limit-microamp: summit,usb-current-limit-microamp:
enum: [ 300000, 500000, 700000, 1000000, enum: [ 300000, 500000, 700000, 1000000,
1500000, 1800000, 2000000] 1500000, 1800000, 2000000]
summit,charge-current-compensation-microamp: summit,charge-current-compensation-microamp:
enum: [200000, 450000, 600000, 900000] enum: [200000, 450000, 600000, 900000]
...@@ -97,12 +97,12 @@ allOf: ...@@ -97,12 +97,12 @@ allOf:
else: else:
properties: properties:
summit,mains-current-limit-microamp: summit,mains-current-limit-microamp:
enum: [ 300000, 500000, 700000, 900000, 1200000, enum: [ 300000, 500000, 700000, 900000, 1200000,
1500000, 1800000, 2000000, 2200000, 2500000] 1500000, 1800000, 2000000, 2200000, 2500000]
summit,usb-current-limit-microamp: summit,usb-current-limit-microamp:
enum: [ 300000, 500000, 700000, 900000, 1200000, enum: [ 300000, 500000, 700000, 900000, 1200000,
1500000, 1800000, 2000000, 2200000, 2500000] 1500000, 1800000, 2000000, 2200000, 2500000]
summit,charge-current-compensation-microamp: summit,charge-current-compensation-microamp:
enum: [250000, 700000, 900000, 1200000] enum: [250000, 700000, 900000, 1200000]
......
...@@ -25,8 +25,8 @@ select: ...@@ -25,8 +25,8 @@ select:
properties: properties:
compatible: compatible:
items: items:
- enum: - enum:
- sifive,fu540-c000-ccache - sifive,fu540-c000-ccache
required: required:
- compatible - compatible
......
...@@ -19,9 +19,9 @@ properties: ...@@ -19,9 +19,9 @@ properties:
- const: fsl,imx21-rnga - const: fsl,imx21-rnga
- items: - items:
- enum: - enum:
- fsl,imx6sl-rngb - fsl,imx6sl-rngb
- fsl,imx6sll-rngb - fsl,imx6sll-rngb
- fsl,imx6ull-rngb - fsl,imx6ull-rngb
- const: fsl,imx25-rngb - const: fsl,imx25-rngb
- const: fsl,imx35-rngc - const: fsl,imx35-rngc
......
...@@ -20,30 +20,30 @@ properties: ...@@ -20,30 +20,30 @@ properties:
- const: fsl,imx21-uart - const: fsl,imx21-uart
- items: - items:
- enum: - enum:
- fsl,imx25-uart - fsl,imx25-uart
- fsl,imx27-uart - fsl,imx27-uart
- fsl,imx31-uart - fsl,imx31-uart
- fsl,imx35-uart - fsl,imx35-uart
- fsl,imx50-uart - fsl,imx50-uart
- fsl,imx51-uart - fsl,imx51-uart
- fsl,imx53-uart - fsl,imx53-uart
- fsl,imx6q-uart - fsl,imx6q-uart
- const: fsl,imx21-uart - const: fsl,imx21-uart
- items: - items:
- enum: - enum:
- fsl,imx6sl-uart - fsl,imx6sl-uart
- fsl,imx6sll-uart - fsl,imx6sll-uart
- fsl,imx6sx-uart - fsl,imx6sx-uart
- const: fsl,imx6q-uart - const: fsl,imx6q-uart
- const: fsl,imx21-uart - const: fsl,imx21-uart
- items: - items:
- enum: - enum:
- fsl,imx6ul-uart - fsl,imx6ul-uart
- fsl,imx7d-uart - fsl,imx7d-uart
- fsl,imx8mm-uart - fsl,imx8mm-uart
- fsl,imx8mn-uart - fsl,imx8mn-uart
- fsl,imx8mp-uart - fsl,imx8mp-uart
- fsl,imx8mq-uart - fsl,imx8mq-uart
- const: fsl,imx6q-uart - const: fsl,imx6q-uart
reg: reg:
......
...@@ -10,8 +10,8 @@ maintainers: ...@@ -10,8 +10,8 @@ maintainers:
- Codrin Ciubotariu <codrin.ciubotariu@microchip.com> - Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
description: description:
The Microchip Sony/Philips Digital Interface Receiver is a The Microchip Sony/Philips Digital Interface Receiver is a serial port
serial port compliant with the IEC-60958 standard. compliant with the IEC-60958 standard.
properties: properties:
"#sound-dai-cells": "#sound-dai-cells":
......
...@@ -10,8 +10,8 @@ maintainers: ...@@ -10,8 +10,8 @@ maintainers:
- Codrin Ciubotariu <codrin.ciubotariu@microchip.com> - Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
description: description:
The Microchip Sony/Philips Digital Interface Transmitter is a The Microchip Sony/Philips Digital Interface Transmitter is a serial port
serial port compliant with the IEC-60958 standard. compliant with the IEC-60958 standard.
properties: properties:
"#sound-dai-cells": "#sound-dai-cells":
......
...@@ -26,8 +26,10 @@ properties: ...@@ -26,8 +26,10 @@ properties:
reg: reg:
maxItems: 2 maxItems: 2
description: LPAIF core registers description: LPAIF core registers
reg-names: reg-names:
maxItems: 2 maxItems: 2
clocks: clocks:
minItems: 3 minItems: 3
maxItems: 6 maxItems: 6
...@@ -39,8 +41,10 @@ properties: ...@@ -39,8 +41,10 @@ properties:
interrupts: interrupts:
maxItems: 2 maxItems: 2
description: LPAIF DMA buffer interrupt description: LPAIF DMA buffer interrupt
interrupt-names: interrupt-names:
maxItems: 2 maxItems: 2
qcom,adsp: qcom,adsp:
$ref: /schemas/types.yaml#/definitions/phandle $ref: /schemas/types.yaml#/definitions/phandle
description: Phandle for the audio DSP node description: Phandle for the audio DSP node
...@@ -141,31 +145,31 @@ allOf: ...@@ -141,31 +145,31 @@ allOf:
properties: properties:
clock-names: clock-names:
oneOf: oneOf:
- items: #for I2S - items: #for I2S
- const: pcnoc-sway-clk - const: pcnoc-sway-clk
- const: audio-core - const: audio-core
- const: mclk0 - const: mclk0
- const: pcnoc-mport-clk - const: pcnoc-mport-clk
- const: mi2s-bit-clk0 - const: mi2s-bit-clk0
- const: mi2s-bit-clk1 - const: mi2s-bit-clk1
- items: #for HDMI - items: #for HDMI
- const: pcnoc-sway-clk - const: pcnoc-sway-clk
- const: audio-core - const: audio-core
- const: pcnoc-mport-clk - const: pcnoc-mport-clk
reg-names: reg-names:
anyOf: anyOf:
- items: #for I2S - items: #for I2S
- const: lpass-lpaif - const: lpass-lpaif
- items: #for I2S and HDMI - items: #for I2S and HDMI
- const: lpass-hdmiif - const: lpass-hdmiif
- const: lpass-lpaif - const: lpass-lpaif
interrupt-names: interrupt-names:
anyOf: anyOf:
- items: #for I2S - items: #for I2S
- const: lpass-irq-lpaif - const: lpass-irq-lpaif
- items: #for I2S and HDMI - items: #for I2S and HDMI
- const: lpass-irq-lpaif - const: lpass-irq-lpaif
- const: lpass-irq-hdmi - const: lpass-irq-hdmi
required: required:
- iommus - iommus
- power-domains - power-domains
......
...@@ -33,8 +33,8 @@ properties: ...@@ -33,8 +33,8 @@ properties:
compatible: compatible:
items: items:
- enum: - enum:
- arm,sp804 - arm,sp804
- hisilicon,sp804 - hisilicon,sp804
- const: arm,primecell - const: arm,primecell
interrupts: interrupts:
...@@ -58,11 +58,11 @@ properties: ...@@ -58,11 +58,11 @@ properties:
clock is used for all clock inputs. clock is used for all clock inputs.
oneOf: oneOf:
- items: - items:
- description: clock for timer 1 - description: clock for timer 1
- description: clock for timer 2 - description: clock for timer 2
- description: bus clock - description: bus clock
- items: - items:
- description: unified clock for both timers and the bus - description: unified clock for both timers and the bus
clock-names: true clock-names: true
# The original binding did not specify any clock names, and there is no # The original binding did not specify any clock names, and there is no
......
...@@ -44,8 +44,8 @@ properties: ...@@ -44,8 +44,8 @@ properties:
enum: [super-speed, high-speed, full-speed] enum: [super-speed, high-speed, full-speed]
phys: phys:
minItems: 1 minItems: 1
maxItems: 2 maxItems: 2
phy-names: phy-names:
minItems: 1 minItems: 1
......
...@@ -17,7 +17,7 @@ description: |- ...@@ -17,7 +17,7 @@ description: |-
properties: properties:
compatible: compatible:
const: ti,hd3ss3220 const: ti,hd3ss3220
reg: reg:
maxItems: 1 maxItems: 1
......
...@@ -15,10 +15,10 @@ properties: ...@@ -15,10 +15,10 @@ properties:
- const: fsl,imx21-owire - const: fsl,imx21-owire
- items: - items:
- enum: - enum:
- fsl,imx27-owire - fsl,imx27-owire
- fsl,imx50-owire - fsl,imx50-owire
- fsl,imx51-owire - fsl,imx51-owire
- fsl,imx53-owire - fsl,imx53-owire
- const: fsl,imx21-owire - const: fsl,imx21-owire
reg: reg:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment