Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Drop redundant minItems/maxItems

If a property has an 'items' list, then a 'minItems' or 'maxItems' with the
same size as the list is redundant and can be dropped. Note that is DT
schema specific behavior and not standard json-schema behavior. The tooling
will fixup the final schema adding any unspecified minItems/maxItems.

This condition is partially checked with the meta-schema already, but
only if both 'minItems' and 'maxItems' are equal to the 'items' length.
An improved meta-schema is pending.

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Kamal Dasu <kdasu.kdev@gmail.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Vivien Didelot <vivien.didelot@gmail.com>
Cc: Vladimir Oltean <olteanv@gmail.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # for MMC
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Acked-By: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20210615191543.1043414-1-robh@kernel.org

+2 -166
-1
Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml
··· 20 20 21 21 reg: 22 22 minItems: 2 23 - maxItems: 3 24 23 items: 25 24 - description: AHCI registers 26 25 - description: SATA configuration and IPFS registers
-2
Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml
··· 51 51 52 52 clocks: 53 53 minItems: 2 54 - maxItems: 4 55 54 items: 56 55 - description: High Frequency Oscillator (usually at 24MHz) 57 56 - description: Low Frequency Oscillator (usually at 32kHz) ··· 59 60 60 61 clock-names: 61 62 minItems: 2 62 - maxItems: 4 63 63 items: 64 64 - const: hosc 65 65 - const: losc
-1
Documentation/devicetree/bindings/clock/qcom,gcc-apq8064.yaml
··· 46 46 47 47 nvmem-cell-names: 48 48 minItems: 1 49 - maxItems: 2 50 49 items: 51 50 - const: calib 52 51 - const: calib_backup
-2
Documentation/devicetree/bindings/clock/qcom,gcc-sdx55.yaml
··· 27 27 - description: Sleep clock source 28 28 - description: PLL test clock source (Optional clock) 29 29 minItems: 2 30 - maxItems: 3 31 30 32 31 clock-names: 33 32 items: ··· 34 35 - const: sleep_clk 35 36 - const: core_bi_pll_test_se # Optional clock 36 37 minItems: 2 37 - maxItems: 3 38 38 39 39 '#clock-cells': 40 40 const: 1
-2
Documentation/devicetree/bindings/clock/qcom,gcc-sm8350.yaml
··· 36 36 - description: USB3 phy wrapper pipe clock source (Optional clock) 37 37 - description: USB3 phy sec pipe clock source (Optional clock) 38 38 minItems: 2 39 - maxItems: 13 40 39 41 40 clock-names: 42 41 items: ··· 53 54 - const: usb3_phy_wrapper_gcc_usb30_pipe_clk # Optional clock 54 55 - const: usb3_uni_phy_sec_gcc_usb30_pipe_clk # Optional clock 55 56 minItems: 2 56 - maxItems: 13 57 57 58 58 '#clock-cells': 59 59 const: 1
-1
Documentation/devicetree/bindings/clock/sprd,sc9863a-clk.yaml
··· 40 40 41 41 clock-names: 42 42 minItems: 1 43 - maxItems: 4 44 43 items: 45 44 - const: ext-26m 46 45 - const: ext-32k
-2
Documentation/devicetree/bindings/crypto/allwinner,sun8i-ce.yaml
··· 30 30 - description: Module clock 31 31 - description: MBus clock 32 32 minItems: 2 33 - maxItems: 3 34 33 35 34 clock-names: 36 35 items: ··· 37 38 - const: mod 38 39 - const: ram 39 40 minItems: 2 40 - maxItems: 3 41 41 42 42 resets: 43 43 maxItems: 1
-1
Documentation/devicetree/bindings/crypto/fsl-dcp.yaml
··· 27 27 - description: MXS DCP DCP interrupt 28 28 - description: MXS DCP secure interrupt 29 29 minItems: 2 30 - maxItems: 3 31 30 32 31 clocks: 33 32 maxItems: 1
-6
Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-backend.yaml
··· 26 26 27 27 reg: 28 28 minItems: 1 29 - maxItems: 2 30 29 items: 31 30 - description: Display Backend registers 32 31 - description: SAT registers 33 32 34 33 reg-names: 35 34 minItems: 1 36 - maxItems: 2 37 35 items: 38 36 - const: be 39 37 - const: sat ··· 41 43 42 44 clocks: 43 45 minItems: 3 44 - maxItems: 4 45 46 items: 46 47 - description: The backend interface clock 47 48 - description: The backend module clock ··· 49 52 50 53 clock-names: 51 54 minItems: 3 52 - maxItems: 4 53 55 items: 54 56 - const: ahb 55 57 - const: mod ··· 57 61 58 62 resets: 59 63 minItems: 1 60 - maxItems: 2 61 64 items: 62 65 - description: The Backend reset line 63 66 - description: The SAT reset line 64 67 65 68 reset-names: 66 69 minItems: 1 67 - maxItems: 2 68 70 items: 69 71 - const: be 70 72 - const: sat
-1
Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml
··· 24 24 25 25 clocks: 26 26 minItems: 1 27 - maxItems: 2 28 27 items: 29 28 - description: Bus Clock 30 29 - description: Module Clock
-4
Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-dw-hdmi.yaml
··· 46 46 47 47 clocks: 48 48 minItems: 3 49 - maxItems: 6 50 49 items: 51 50 - description: Bus Clock 52 51 - description: Register Clock ··· 56 57 57 58 clock-names: 58 59 minItems: 3 59 - maxItems: 6 60 60 items: 61 61 - const: iahb 62 62 - const: isfr ··· 66 68 67 69 resets: 68 70 minItems: 1 69 - maxItems: 2 70 71 items: 71 72 - description: HDMI Controller Reset 72 73 - description: HDCP Reset 73 74 74 75 reset-names: 75 76 minItems: 1 76 - maxItems: 2 77 77 items: 78 78 - const: ctrl 79 79 - const: hdcp
-2
Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-hdmi-phy.yaml
··· 27 27 28 28 clocks: 29 29 minItems: 2 30 - maxItems: 4 31 30 items: 32 31 - description: Bus Clock 33 32 - description: Module Clock ··· 35 36 36 37 clock-names: 37 38 minItems: 2 38 - maxItems: 4 39 39 items: 40 40 - const: bus 41 41 - const: mod
-2
Documentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml
··· 48 48 49 49 clocks: 50 50 minItems: 2 51 - maxItems: 6 52 51 items: 53 52 - description: The TCON TOP interface clock 54 53 - description: The TCON TOP TV0 clock ··· 58 59 59 60 clock-names: 60 61 minItems: 2 61 - maxItems: 6 62 62 items: 63 63 - const: bus 64 64 - const: tcon-tv0
-1
Documentation/devicetree/bindings/display/bridge/adi,adv7511.yaml
··· 39 39 Names of maps with programmable addresses. It can contain any map 40 40 needing a non-default address. 41 41 minItems: 1 42 - maxItems: 4 43 42 items: 44 43 - const: main 45 44 - const: edid
-2
Documentation/devicetree/bindings/display/bridge/cdns,mhdp8546.yaml
··· 18 18 19 19 reg: 20 20 minItems: 1 21 - maxItems: 2 22 21 items: 23 22 - description: 24 23 Register block of mhdptx apb registers up to PHY mapped area (AUX_CONFIG_P). ··· 28 29 29 30 reg-names: 30 31 minItems: 1 31 - maxItems: 2 32 32 items: 33 33 - const: mhdptx 34 34 - const: j721e-intg
-2
Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml
··· 29 29 30 30 clocks: 31 31 minItems: 2 32 - maxItems: 5 33 32 items: 34 33 - {} 35 34 - {} ··· 40 41 41 42 clock-names: 42 43 minItems: 2 43 - maxItems: 5 44 44 items: 45 45 - {} 46 46 - {}
-2
Documentation/devicetree/bindings/display/st,stm32-dsi.yaml
··· 29 29 - description: DSI bus clock 30 30 - description: Pixel clock 31 31 minItems: 2 32 - maxItems: 3 33 32 34 33 clock-names: 35 34 items: ··· 36 37 - const: ref 37 38 - const: px_clk 38 39 minItems: 2 39 - maxItems: 3 40 40 41 41 resets: 42 42 maxItems: 1
-1
Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml
··· 22 22 - description: events interrupt line. 23 23 - description: errors interrupt line. 24 24 minItems: 1 25 - maxItems: 2 26 25 27 26 clocks: 28 27 maxItems: 1
-4
Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml
··· 65 65 The APB clock and at least one video clock are mandatory, the audio clock 66 66 is optional. 67 67 minItems: 2 68 - maxItems: 4 69 68 items: 70 69 - description: dp_apb_clk is the APB clock 71 70 - description: dp_aud_clk is the Audio clock ··· 77 78 clock-names: 78 79 oneOf: 79 80 - minItems: 2 80 - maxItems: 3 81 81 items: 82 82 - const: dp_apb_clk 83 83 - enum: [ dp_vtc_pixel_clk_in, dp_live_video_in_clk ] 84 84 - enum: [ dp_vtc_pixel_clk_in, dp_live_video_in_clk ] 85 85 - minItems: 3 86 - maxItems: 4 87 86 items: 88 87 - const: dp_apb_clk 89 88 - const: dp_aud_clk ··· 113 116 maxItems: 2 114 117 phy-names: 115 118 minItems: 1 116 - maxItems: 2 117 119 items: 118 120 - const: dp-phy0 119 121 - const: dp-phy1
-1
Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml
··· 52 52 53 53 interrupt-names: 54 54 minItems: 9 55 - maxItems: 17 56 55 items: 57 56 - const: error 58 57 - pattern: "^ch([0-9]|1[0-5])$"
-2
Documentation/devicetree/bindings/edac/amazon,al-mc-edac.yaml
··· 30 30 31 31 interrupts: 32 32 minItems: 1 33 - maxItems: 2 34 33 items: 35 34 - description: uncorrectable error interrupt 36 35 - description: correctable error interrupt 37 36 38 37 interrupt-names: 39 38 minItems: 1 40 - maxItems: 2 41 39 items: 42 40 - const: ue 43 41 - const: ce
-1
Documentation/devicetree/bindings/eeprom/at24.yaml
··· 32 32 oneOf: 33 33 - allOf: 34 34 - minItems: 1 35 - maxItems: 2 36 35 items: 37 36 - pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+|spd)$" 38 37 - pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$"
-2
Documentation/devicetree/bindings/example-schema.yaml
··· 91 91 interrupts: 92 92 # Either 1 or 2 interrupts can be present 93 93 minItems: 1 94 - maxItems: 2 95 94 items: 96 95 - description: tx or combined interrupt 97 96 - description: rx interrupt ··· 104 105 interrupt-names: 105 106 # minItems must be specified here because the default would be 2 106 107 minItems: 1 107 - maxItems: 2 108 108 items: 109 109 - const: tx irq 110 110 - const: rx irq
-1
Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.yaml
··· 34 34 - enum: [ bridge, gca ] 35 35 - enum: [ bridge, gca ] 36 36 minItems: 2 37 - maxItems: 4 38 37 39 38 interrupts: 40 39 items:
-1
Documentation/devicetree/bindings/gpu/vivante,gc.yaml
··· 36 36 - description: AHB/slave interface clock (only required if GPU can gate 37 37 slave interface independently) 38 38 minItems: 1 39 - maxItems: 4 40 39 41 40 clock-names: 42 41 items:
-1
Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
··· 21 21 22 22 reg: 23 23 minItems: 1 24 - maxItems: 2 25 24 items: 26 25 - description: address offset and range of bus 27 26 - description: address offset and range of bus buffer
-1
Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml
··· 21 21 22 22 reg: 23 23 minItems: 1 24 - maxItems: 2 25 24 items: 26 25 - description: BSC register range 27 26 - description: Auto-I2C register range
-2
Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml
··· 43 43 44 44 clocks: 45 45 minItems: 1 46 - maxItems: 2 47 46 items: 48 47 - description: Reference clock for the I2C bus 49 48 - description: Bus clock (Only for Armada 7K/8K) 50 49 51 50 clock-names: 52 51 minItems: 1 53 - maxItems: 2 54 52 items: 55 53 - const: core 56 54 - const: reg
-1
Documentation/devicetree/bindings/i2c/mellanox,i2c-mlxbf.yaml
··· 20 20 21 21 reg: 22 22 minItems: 3 23 - maxItems: 4 24 23 items: 25 24 - description: Smbus block registers 26 25 - description: Cause master registers
-1
Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.yaml
··· 41 41 42 42 clock-names: 43 43 minItems: 2 44 - maxItems: 4 45 44 items: 46 45 - const: clkin 47 46 - const: core
-2
Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml
··· 38 38 dfsdm clock can also feed CLKOUT, when CLKOUT is used. 39 39 - description: audio clock can be used as an alternate to feed CLKOUT. 40 40 minItems: 1 41 - maxItems: 2 42 41 43 42 clock-names: 44 43 items: 45 44 - const: dfsdm 46 45 - const: audio 47 46 minItems: 1 48 - maxItems: 2 49 47 50 48 "#address-cells": 51 49 const: 1
-1
Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml
··· 35 35 - description: output interrupt 6 36 36 - description: output interrupt 7 37 37 minItems: 1 38 - maxItems: 8 39 38 40 39 clocks: 41 40 maxItems: 1
-1
Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
··· 50 50 - const: int2 51 51 - const: int3 52 52 minItems: 1 53 - maxItems: 4 54 53 55 54 '#interrupt-cells': 56 55 const: 2
-1
Documentation/devicetree/bindings/iommu/arm,smmu-v3.yaml
··· 38 38 If provided, then the combined interrupt will be used in preference to 39 39 any others. 40 40 - minItems: 2 41 - maxItems: 4 42 41 items: 43 42 - const: eventq # Event Queue not empty 44 43 - const: gerror # Global Error activated
-1
Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml
··· 49 49 50 50 interrupts: 51 51 minItems: 1 52 - maxItems: 2 53 52 description: 54 53 Specifiers for the MMU fault interrupts. Not required for cache IPMMUs. 55 54 items:
-2
Documentation/devicetree/bindings/mailbox/st,stm32-ipcc.yaml
··· 32 32 - description: tx channel free 33 33 - description: wakeup source 34 34 minItems: 2 35 - maxItems: 3 36 35 37 36 interrupt-names: 38 37 items: ··· 39 40 - const: tx 40 41 - const: wakeup 41 42 minItems: 2 42 - maxItems: 3 43 43 44 44 wakeup-source: true 45 45
-1
Documentation/devicetree/bindings/media/amlogic,gx-vdec.yaml
··· 67 67 68 68 clock-names: 69 69 minItems: 4 70 - maxItems: 5 71 70 items: 72 71 - const: dos_parser 73 72 - const: dos
-1
Documentation/devicetree/bindings/media/i2c/adv7604.yaml
··· 30 30 31 31 reg-names: 32 32 minItems: 1 33 - maxItems: 13 34 33 items: 35 34 - const: main 36 35 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ]
-1
Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml
··· 43 43 44 44 clocks: 45 45 minItems: 1 46 - maxItems: 3 47 46 items: 48 47 - description: AXI bus interface clock 49 48 - description: Peripheral clock
-1
Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
··· 30 30 31 31 power-domain-names: 32 32 minItems: 2 33 - maxItems: 3 34 33 items: 35 34 - const: venus 36 35 - const: vcodec0
-1
Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
··· 30 30 31 31 power-domain-names: 32 32 minItems: 3 33 - maxItems: 4 34 33 items: 35 34 - const: venus 36 35 - const: vcodec0
-1
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml
··· 30 30 31 31 power-domain-names: 32 32 minItems: 2 33 - maxItems: 3 34 33 items: 35 34 - const: venus 36 35 - const: vcodec0
-2
Documentation/devicetree/bindings/media/renesas,drif.yaml
··· 67 67 maxItems: 1 68 68 69 69 clock-names: 70 - maxItems: 1 71 70 items: 72 71 - const: fck 73 72 ··· 79 80 80 81 dma-names: 81 82 minItems: 1 82 - maxItems: 2 83 83 items: 84 84 - const: rx 85 85 - const: rx
+2 -4
Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml
··· 53 53 apb and smi are mandatory. the async is only for generation 1 smi HW. 54 54 gals(global async local sync) also is optional, see below. 55 55 minItems: 2 56 - maxItems: 4 57 56 items: 58 57 - description: apb is Advanced Peripheral Bus clock, It's the clock for 59 58 setting the register. 60 59 - description: smi is the clock for transfer data and command. 61 - - description: async is asynchronous clock, it help transform the smi 62 - clock into the emi clock domain. 63 - - description: gals0 is the path0 clock of gals. 60 + - description: Either asynchronous clock to help transform the smi clock 61 + into the emi clock domain on Gen1 h/w, or the path0 clock of gals. 64 62 - description: gals1 is the path1 clock of gals. 65 63 66 64 clock-names:
-1
Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml
··· 37 37 description: | 38 38 apb and smi are mandatory. gals(global async local sync) is optional. 39 39 minItems: 2 40 - maxItems: 3 41 40 items: 42 41 - description: apb is Advanced Peripheral Bus clock, It's the clock for 43 42 setting the register.
-2
Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
··· 64 64 65 65 clocks: 66 66 minItems: 2 67 - maxItems: 4 68 67 items: 69 68 - description: Bus Clock 70 69 - description: Module Clock ··· 72 73 73 74 clock-names: 74 75 minItems: 2 75 - maxItems: 4 76 76 items: 77 77 - const: ahb 78 78 - const: mmc
-1
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
··· 116 116 117 117 pinctrl-names: 118 118 minItems: 1 119 - maxItems: 4 120 119 items: 121 120 - const: default 122 121 - const: state_100mhz
-2
Documentation/devicetree/bindings/mmc/mtk-sd.yaml
··· 38 38 description: 39 39 Should contain phandle for the clock feeding the MMC controller. 40 40 minItems: 2 41 - maxItems: 8 42 41 items: 43 42 - description: source clock (required). 44 43 - description: HCLK which used for host (required). ··· 50 51 51 52 clock-names: 52 53 minItems: 2 53 - maxItems: 8 54 54 items: 55 55 - const: source 56 56 - const: hclk
-2
Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml
··· 75 75 76 76 clock-names: 77 77 minItems: 1 78 - maxItems: 2 79 78 items: 80 79 - const: core 81 80 - const: cd ··· 106 107 107 108 pinctrl-names: 108 109 minItems: 1 109 - maxItems: 2 110 110 items: 111 111 - const: default 112 112 - const: state_uhs
-1
Documentation/devicetree/bindings/mmc/sdhci-am654.yaml
··· 45 45 46 46 clock-names: 47 47 minItems: 1 48 - maxItems: 2 49 48 items: 50 49 - const: clk_ahb 51 50 - const: clk_xin
-1
Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
··· 57 57 58 58 clock-names: 59 59 minItems: 1 60 - maxItems: 2 61 60 items: 62 61 - const: io 63 62 - const: core
-2
Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
··· 43 43 properties: 44 44 clocks: 45 45 minItems: 3 46 - maxItems: 4 47 46 items: 48 47 - description: GMAC main clock 49 48 - description: First parent clock of the internal mux ··· 51 52 52 53 clock-names: 53 54 minItems: 3 54 - maxItems: 4 55 55 items: 56 56 - const: stmmaceth 57 57 - const: clkin0
-2
Documentation/devicetree/bindings/net/brcm,bcm4908-enet.yaml
··· 23 23 24 24 interrupts: 25 25 minItems: 1 26 - maxItems: 2 27 26 items: 28 27 - description: RX interrupt 29 28 - description: TX interrupt 30 29 31 30 interrupt-names: 32 31 minItems: 1 33 - maxItems: 2 34 32 items: 35 33 - const: rx 36 34 - const: tx
-2
Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
··· 30 30 - description: interrupt line0 31 31 - description: interrupt line1 32 32 minItems: 1 33 - maxItems: 2 34 33 35 34 interrupt-names: 36 35 items: 37 36 - const: int0 38 37 - const: int1 39 38 minItems: 1 40 - maxItems: 2 41 39 42 40 clocks: 43 41 items:
-2
Documentation/devicetree/bindings/net/dsa/brcm,sf2.yaml
··· 48 48 49 49 clocks: 50 50 minItems: 1 51 - maxItems: 2 52 51 items: 53 52 - description: switch's main clock 54 53 - description: dividing of the switch core clock 55 54 56 55 clock-names: 57 56 minItems: 1 58 - maxItems: 2 59 57 items: 60 58 - const: sw_switch 61 59 - const: sw_switch_mdiv
-1
Documentation/devicetree/bindings/net/mdio-gpio.yaml
··· 28 28 29 29 gpios: 30 30 minItems: 2 31 - maxItems: 3 32 31 items: 33 32 - description: MDC 34 33 - description: MDIO
-2
Documentation/devicetree/bindings/net/snps,dwmac.yaml
··· 82 82 83 83 interrupts: 84 84 minItems: 1 85 - maxItems: 3 86 85 items: 87 86 - description: Combined signal for various interrupt events 88 87 - description: The interrupt to manage the remote wake-up packet detection ··· 89 90 90 91 interrupt-names: 91 92 minItems: 1 92 - maxItems: 3 93 93 items: 94 94 - const: macirq 95 95 - const: eth_wake_irq
-1
Documentation/devicetree/bindings/net/stm32-dwmac.yaml
··· 46 46 47 47 clocks: 48 48 minItems: 3 49 - maxItems: 5 50 49 items: 51 50 - description: GMAC main clock 52 51 - description: MAC TX clock
-2
Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
··· 25 25 26 26 interrupts: 27 27 minItems: 1 28 - maxItems: 2 29 28 items: 30 29 - description: PCIe host controller 31 30 - description: builtin MSI controller 32 31 33 32 interrupt-names: 34 33 minItems: 1 35 - maxItems: 2 36 34 items: 37 35 - const: pcie 38 36 - const: msi
-1
Documentation/devicetree/bindings/pci/loongson.yaml
··· 24 24 25 25 reg: 26 26 minItems: 1 27 - maxItems: 2 28 27 items: 29 28 - description: CFG0 standard config space register 30 29 - description: CFG1 extended config space register
-1
Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
··· 70 70 71 71 reset-names: 72 72 minItems: 1 73 - maxItems: 2 74 73 items: 75 74 - const: phy 76 75 - const: mac
-2
Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml
··· 26 26 27 27 interrupts: 28 28 minItems: 1 29 - maxItems: 2 30 29 items: 31 30 - description: PCIe host controller 32 31 - description: builtin MSI controller 33 32 34 33 interrupt-names: 35 34 minItems: 1 36 - maxItems: 2 37 35 items: 38 36 - const: pcie 39 37 - const: msi
-1
Documentation/devicetree/bindings/perf/arm,cmn.yaml
··· 21 21 22 22 interrupts: 23 23 minItems: 1 24 - maxItems: 4 25 24 items: 26 25 - description: Overflow interrupt for DTC0 27 26 - description: Overflow interrupt for DTC1
-1
Documentation/devicetree/bindings/phy/brcm,bcm63xx-usbh-phy.yaml
··· 28 28 29 29 clock-names: 30 30 minItems: 1 31 - maxItems: 2 32 31 items: 33 32 - const: usbh 34 33 - const: usb_ref
-3
Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml
··· 22 22 23 23 reg: 24 24 minItems: 1 25 - maxItems: 6 26 25 items: 27 26 - description: the base CTRL register 28 27 - description: XHCI EC register ··· 32 33 33 34 reg-names: 34 35 minItems: 1 35 - maxItems: 6 36 36 items: 37 37 - const: ctrl 38 38 - const: xhci_ec ··· 49 51 50 52 clock-names: 51 53 minItems: 1 52 - maxItems: 2 53 54 items: 54 55 - const: sw_usb 55 56 - const: sw_usb3
-1
Documentation/devicetree/bindings/phy/brcm,sata-phy.yaml
··· 35 35 36 36 reg-names: 37 37 minItems: 1 38 - maxItems: 2 39 38 items: 40 39 - const: phy 41 40 - const: phy-ctrl
-2
Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
··· 131 131 132 132 clocks: 133 133 minItems: 1 134 - maxItems: 2 135 134 items: 136 135 - description: Reference clock, (HS is 48Mhz, SS/P is 24~27Mhz) 137 136 - description: Reference clock of analog phy ··· 140 141 141 142 clock-names: 142 143 minItems: 1 143 - maxItems: 2 144 144 items: 145 145 - const: ref 146 146 - const: da_ref
-2
Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml
··· 31 31 32 32 resets: 33 33 minItems: 1 34 - maxItems: 2 35 34 items: 36 35 - description: Sierra PHY reset. 37 36 - description: Sierra APB reset. This is optional. 38 37 39 38 reset-names: 40 39 minItems: 1 41 - maxItems: 2 42 40 items: 43 41 - const: sierra_reset 44 42 - const: sierra_apb
-4
Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
··· 52 52 53 53 reg: 54 54 minItems: 1 55 - maxItems: 2 56 55 items: 57 56 - description: Offset of the Torrent PHY configuration registers. 58 57 - description: Offset of the DPTX PHY configuration registers. 59 58 60 59 reg-names: 61 60 minItems: 1 62 - maxItems: 2 63 61 items: 64 62 - const: torrent_phy 65 63 - const: dptx_phy 66 64 67 65 resets: 68 66 minItems: 1 69 - maxItems: 2 70 67 items: 71 68 - description: Torrent PHY reset. 72 69 - description: Torrent APB reset. This is optional. 73 70 74 71 reset-names: 75 72 minItems: 1 76 - maxItems: 2 77 73 items: 78 74 - const: torrent_reset 79 75 - const: torrent_apb
-1
Documentation/devicetree/bindings/phy/qcom,ipq806x-usb-phy-hs.yaml
··· 30 30 31 31 clock-names: 32 32 minItems: 1 33 - maxItems: 2 34 33 items: 35 34 - const: ref 36 35 - const: xo
-1
Documentation/devicetree/bindings/phy/qcom,ipq806x-usb-phy-ss.yaml
··· 30 30 31 31 clock-names: 32 32 minItems: 1 33 - maxItems: 2 34 33 items: 35 34 - const: ref 36 35 - const: xo
-1
Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
··· 49 49 50 50 reg: 51 51 minItems: 1 52 - maxItems: 2 53 52 items: 54 53 - description: Address and length of PHY's common serdes block. 55 54 - description: Address and length of PHY's DP_COM control block.
-2
Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
··· 36 36 37 37 clocks: 38 38 minItems: 2 39 - maxItems: 3 40 39 items: 41 40 - description: phy config clock 42 41 - description: 19.2 MHz ref clk ··· 43 44 44 45 clock-names: 45 46 minItems: 2 46 - maxItems: 3 47 47 items: 48 48 - const: cfg_ahb 49 49 - const: ref
-2
Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml
··· 39 39 40 40 clock-names: 41 41 minItems: 1 42 - maxItems: 2 43 42 items: 44 43 - const: fck 45 44 - const: usb_x1 ··· 60 61 61 62 resets: 62 63 minItems: 1 63 - maxItems: 2 64 64 items: 65 65 - description: reset of USB 2.0 host side 66 66 - description: reset of USB 2.0 peripheral side
-1
Documentation/devicetree/bindings/phy/renesas,usb3-phy.yaml
··· 33 33 # If you want to use the ssc, the clock-frequency of usb_extal 34 34 # must not be 0. 35 35 minItems: 2 36 - maxItems: 3 37 36 items: 38 37 - const: usb3-if # The funcional clock 39 38 - const: usb3s_clk # The usb3's external clock
-1
Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml
··· 26 26 - description: PAD Pull Control + PAD Schmitt Trigger Enable + PAD Control 27 27 - description: PAD Drive Capacity Select 28 28 minItems: 1 29 - maxItems: 4 30 29 31 30 clocks: 32 31 maxItems: 1
-1
Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml
··· 37 37 38 38 clock-names: 39 39 minItems: 1 40 - maxItems: 2 41 40 items: 42 41 - const: vpu 43 42 - const: vapb
-1
Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
··· 37 37 38 38 clocks: 39 39 minItems: 1 40 - maxItems: 2 41 40 items: 42 41 - description: Module Clock 43 42 - description: Bus Clock
-2
Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml
··· 72 72 - from local to remote, where ACK from the remote means that communnication 73 73 as been stopped on the remote side. 74 74 minItems: 1 75 - maxItems: 4 76 75 77 76 mbox-names: 78 77 items: ··· 80 81 - const: shutdown 81 82 - const: detach 82 83 minItems: 1 83 - maxItems: 4 84 84 85 85 memory-region: 86 86 description:
-1
Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml
··· 116 116 list, in the specified order, each representing the corresponding 117 117 internal RAM memory region. 118 118 minItems: 1 119 - maxItems: 3 120 119 items: 121 120 - const: l2ram 122 121 - const: l1pram
-1
Documentation/devicetree/bindings/reset/fsl,imx-src.yaml
··· 59 59 - description: SRC interrupt 60 60 - description: CPU WDOG interrupts out of SRC 61 61 minItems: 1 62 - maxItems: 2 63 62 64 63 '#reset-cells': 65 64 const: 1
-1
Documentation/devicetree/bindings/riscv/sifive-l2-cache.yaml
··· 56 56 57 57 interrupts: 58 58 minItems: 3 59 - maxItems: 4 60 59 items: 61 60 - description: DirError interrupt 62 61 - description: DataError interrupt
-1
Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml
··· 32 32 33 33 interrupts: 34 34 minItems: 1 35 - maxItems: 2 36 35 items: 37 36 - description: RTC Alarm 0 38 37 - description: RTC Alarm 1
-1
Documentation/devicetree/bindings/rtc/imxdi-rtc.yaml
··· 21 21 - description: rtc alarm interrupt 22 22 - description: dryice security violation interrupt 23 23 minItems: 1 24 - maxItems: 2 25 24 26 25 clocks: 27 26 maxItems: 1
-2
Documentation/devicetree/bindings/serial/fsl-lpuart.yaml
··· 36 36 - description: ipg clock 37 37 - description: baud clock 38 38 minItems: 1 39 - maxItems: 2 40 39 41 40 clock-names: 42 41 items: 43 42 - const: ipg 44 43 - const: baud 45 44 minItems: 1 46 - maxItems: 2 47 45 48 46 dmas: 49 47 items:
-1
Documentation/devicetree/bindings/serial/samsung_uart.yaml
··· 44 44 clock-names: 45 45 description: N = 0 is allowed for SoCs without internal baud clock mux. 46 46 minItems: 2 47 - maxItems: 5 48 47 items: 49 48 - const: uart 50 49 - pattern: '^clk_uart_baud[0-3]$'
-1
Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
··· 164 164 165 165 interrupts: 166 166 minItems: 1 167 - maxItems: 2 168 167 items: 169 168 - description: UART core irq 170 169 - description: Wakeup irq (RX GPIO)
-2
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
··· 100 100 properties: 101 101 reg: 102 102 minItems: 2 # On AM437x one of two PRUSS units don't contain Shared RAM. 103 - maxItems: 3 104 103 items: 105 104 - description: Address and size of the Data RAM0. 106 105 - description: Address and size of the Data RAM1. ··· 110 111 111 112 reg-names: 112 113 minItems: 2 113 - maxItems: 3 114 114 items: 115 115 - const: dram0 116 116 - const: dram1
-1
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-graph-card.yaml
··· 28 28 minItems: 2 29 29 30 30 clock-names: 31 - minItems: 2 32 31 items: 33 32 - const: pll_a 34 33 - const: plla_out0
-2
Documentation/devicetree/bindings/sound/nvidia,tegra210-i2s.yaml
··· 34 34 35 35 clocks: 36 36 minItems: 1 37 - maxItems: 2 38 37 items: 39 38 - description: I2S bit clock 40 39 - description: ··· 47 48 48 49 clock-names: 49 50 minItems: 1 50 - maxItems: 2 51 51 items: 52 52 - const: i2s 53 53 - const: sync_input
-3
Documentation/devicetree/bindings/sound/st,stm32-sai.yaml
··· 26 26 - description: Base address and size of SAI common register set. 27 27 - description: Base address and size of SAI identification register set. 28 28 minItems: 1 29 - maxItems: 2 30 29 31 30 ranges: 32 31 maxItems: 1 ··· 80 81 - description: sai_ck clock feeding the internal clock generator. 81 82 - description: MCLK clock from a SAI set as master clock provider. 82 83 minItems: 1 83 - maxItems: 2 84 84 85 85 clock-names: 86 86 items: 87 87 - const: sai_ck 88 88 - const: MCLK 89 89 minItems: 1 90 - maxItems: 2 91 90 92 91 dmas: 93 92 maxItems: 1
-1
Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
··· 35 35 36 36 clocks: 37 37 minItems: 1 38 - maxItems: 2 39 38 items: 40 39 - description: controller register bus clock 41 40 - description: baud rate generator and delay control clock
-2
Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.yaml
··· 56 56 57 57 reg-names: 58 58 minItems: 1 59 - maxItems: 5 60 59 items: 61 60 - const: mspi 62 61 - const: bspi ··· 70 71 interrupt-names: 71 72 oneOf: 72 73 - minItems: 1 73 - maxItems: 7 74 74 items: 75 75 - const: mspi_done 76 76 - const: mspi_halted
-2
Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml
··· 23 23 24 24 clocks: 25 25 minItems: 1 26 - maxItems: 2 27 26 items: 28 27 - description: Bus Clock 29 28 - description: Module Clock 30 29 31 30 clock-names: 32 31 minItems: 1 33 - maxItems: 2 34 32 items: 35 33 - const: bus 36 34 - const: mod
-1
Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
··· 77 77 78 78 nvmem-cell-names: 79 79 minItems: 1 80 - maxItems: 2 81 80 items: 82 81 - const: calib 83 82 - enum:
-1
Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.yaml
··· 24 24 25 25 interrupts: 26 26 minItems: 2 27 - maxItems: 4 28 27 items: 29 28 - description: Timer 0 Interrupt 30 29 - description: Timer 1 Interrupt
-1
Documentation/devicetree/bindings/timer/arm,arch_timer.yaml
··· 35 35 36 36 interrupts: 37 37 minItems: 1 38 - maxItems: 5 39 38 items: 40 39 - description: secure timer irq 41 40 - description: non-secure timer irq
-2
Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml
··· 71 71 72 72 interrupts: 73 73 minItems: 1 74 - maxItems: 2 75 74 items: 76 75 - description: physical timer irq 77 76 - description: virtual timer irq 78 77 79 78 reg: 80 79 minItems: 1 81 - maxItems: 2 82 80 items: 83 81 - description: 1st view base address 84 82 - description: 2nd optional view base address
-1
Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml
··· 22 22 23 23 interrupts: 24 24 minItems: 1 25 - maxItems: 2 26 25 items: 27 26 - description: Timer 1 interrupt 28 27 - description: Timer 2 interrupt
-2
Documentation/devicetree/bindings/usb/maxim,max3420-udc.yaml
··· 30 30 - description: usb irq from max3420 31 31 - description: vbus detection irq 32 32 minItems: 1 33 - maxItems: 2 34 33 35 34 interrupt-names: 36 35 items: 37 36 - const: udc 38 37 - const: vbus 39 38 minItems: 1 40 - maxItems: 2 41 39 42 40 spi-max-frequency: 43 41 maximum: 26000000
-4
Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml
··· 25 25 26 26 reg: 27 27 minItems: 2 28 - maxItems: 3 29 28 items: 30 29 - description: XUSB device controller registers 31 30 - description: XUSB device PCI Config registers ··· 32 33 33 34 reg-names: 34 35 minItems: 2 35 - maxItems: 3 36 36 items: 37 37 - const: base 38 38 - const: fpci ··· 43 45 44 46 clocks: 45 47 minItems: 4 46 - maxItems: 5 47 48 items: 48 49 - description: Clock to enable core XUSB dev clock. 49 50 - description: Clock to enable XUSB super speed clock. ··· 52 55 53 56 clock-names: 54 57 minItems: 4 55 - maxItems: 5 56 58 items: 57 59 - const: dev 58 60 - const: ss
-3
Documentation/devicetree/bindings/usb/renesas,usbhs.yaml
··· 53 53 54 54 clocks: 55 55 minItems: 1 56 - maxItems: 3 57 56 items: 58 57 - description: USB 2.0 host 59 58 - description: USB 2.0 peripheral ··· 85 86 86 87 dma-names: 87 88 minItems: 2 88 - maxItems: 4 89 89 items: 90 90 - const: ch0 91 91 - const: ch1 ··· 98 100 99 101 resets: 100 102 minItems: 1 101 - maxItems: 2 102 103 items: 103 104 - description: USB 2.0 host 104 105 - description: USB 2.0 peripheral
-1
Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.yaml
··· 27 27 - description: Low speed clock 28 28 - description: Optional peripheral clock 29 29 minItems: 1 30 - maxItems: 2 31 30 32 31 clock-names: 33 32 items: