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
This commit is contained in:
Rob Herring 2021-06-15 13:15:43 -06:00
parent dc4014752e
commit 972d6a7dce
103 changed files with 2 additions and 166 deletions

View File

@ -20,7 +20,6 @@ properties:
reg:
minItems: 2
maxItems: 3
items:
- description: AHCI registers
- description: SATA configuration and IPFS registers

View File

@ -51,7 +51,6 @@ properties:
clocks:
minItems: 2
maxItems: 4
items:
- description: High Frequency Oscillator (usually at 24MHz)
- description: Low Frequency Oscillator (usually at 32kHz)
@ -60,7 +59,6 @@ properties:
clock-names:
minItems: 2
maxItems: 4
items:
- const: hosc
- const: losc

View File

@ -46,7 +46,6 @@ properties:
nvmem-cell-names:
minItems: 1
maxItems: 2
items:
- const: calib
- const: calib_backup

View File

@ -27,7 +27,6 @@ properties:
- description: Sleep clock source
- description: PLL test clock source (Optional clock)
minItems: 2
maxItems: 3
clock-names:
items:
@ -35,7 +34,6 @@ properties:
- const: sleep_clk
- const: core_bi_pll_test_se # Optional clock
minItems: 2
maxItems: 3
'#clock-cells':
const: 1

View File

@ -36,7 +36,6 @@ properties:
- description: USB3 phy wrapper pipe clock source (Optional clock)
- description: USB3 phy sec pipe clock source (Optional clock)
minItems: 2
maxItems: 13
clock-names:
items:
@ -54,7 +53,6 @@ properties:
- const: usb3_phy_wrapper_gcc_usb30_pipe_clk # Optional clock
- const: usb3_uni_phy_sec_gcc_usb30_pipe_clk # Optional clock
minItems: 2
maxItems: 13
'#clock-cells':
const: 1

View File

@ -40,7 +40,6 @@ properties:
clock-names:
minItems: 1
maxItems: 4
items:
- const: ext-26m
- const: ext-32k

View File

@ -30,7 +30,6 @@ properties:
- description: Module clock
- description: MBus clock
minItems: 2
maxItems: 3
clock-names:
items:
@ -38,7 +37,6 @@ properties:
- const: mod
- const: ram
minItems: 2
maxItems: 3
resets:
maxItems: 1

View File

@ -27,7 +27,6 @@ properties:
- description: MXS DCP DCP interrupt
- description: MXS DCP secure interrupt
minItems: 2
maxItems: 3
clocks:
maxItems: 1

View File

@ -26,14 +26,12 @@ properties:
reg:
minItems: 1
maxItems: 2
items:
- description: Display Backend registers
- description: SAT registers
reg-names:
minItems: 1
maxItems: 2
items:
- const: be
- const: sat
@ -43,7 +41,6 @@ properties:
clocks:
minItems: 3
maxItems: 4
items:
- description: The backend interface clock
- description: The backend module clock
@ -52,7 +49,6 @@ properties:
clock-names:
minItems: 3
maxItems: 4
items:
- const: ahb
- const: mod
@ -61,14 +57,12 @@ properties:
resets:
minItems: 1
maxItems: 2
items:
- description: The Backend reset line
- description: The SAT reset line
reset-names:
minItems: 1
maxItems: 2
items:
- const: be
- const: sat

View File

@ -24,7 +24,6 @@ properties:
clocks:
minItems: 1
maxItems: 2
items:
- description: Bus Clock
- description: Module Clock

View File

@ -46,7 +46,6 @@ properties:
clocks:
minItems: 3
maxItems: 6
items:
- description: Bus Clock
- description: Register Clock
@ -57,7 +56,6 @@ properties:
clock-names:
minItems: 3
maxItems: 6
items:
- const: iahb
- const: isfr
@ -68,14 +66,12 @@ properties:
resets:
minItems: 1
maxItems: 2
items:
- description: HDMI Controller Reset
- description: HDCP Reset
reset-names:
minItems: 1
maxItems: 2
items:
- const: ctrl
- const: hdcp

View File

@ -27,7 +27,6 @@ properties:
clocks:
minItems: 2
maxItems: 4
items:
- description: Bus Clock
- description: Module Clock
@ -36,7 +35,6 @@ properties:
clock-names:
minItems: 2
maxItems: 4
items:
- const: bus
- const: mod

View File

@ -48,7 +48,6 @@ properties:
clocks:
minItems: 2
maxItems: 6
items:
- description: The TCON TOP interface clock
- description: The TCON TOP TV0 clock
@ -59,7 +58,6 @@ properties:
clock-names:
minItems: 2
maxItems: 6
items:
- const: bus
- const: tcon-tv0

View File

@ -39,7 +39,6 @@ properties:
Names of maps with programmable addresses. It can contain any map
needing a non-default address.
minItems: 1
maxItems: 4
items:
- const: main
- const: edid

View File

@ -18,7 +18,6 @@ properties:
reg:
minItems: 1
maxItems: 2
items:
- description:
Register block of mhdptx apb registers up to PHY mapped area (AUX_CONFIG_P).
@ -29,7 +28,6 @@ properties:
reg-names:
minItems: 1
maxItems: 2
items:
- const: mhdptx
- const: j721e-intg

View File

@ -29,7 +29,6 @@ properties:
clocks:
minItems: 2
maxItems: 5
items:
- {}
- {}
@ -41,7 +40,6 @@ properties:
clock-names:
minItems: 2
maxItems: 5
items:
- {}
- {}

View File

@ -29,7 +29,6 @@ properties:
- description: DSI bus clock
- description: Pixel clock
minItems: 2
maxItems: 3
clock-names:
items:
@ -37,7 +36,6 @@ properties:
- const: ref
- const: px_clk
minItems: 2
maxItems: 3
resets:
maxItems: 1

View File

@ -22,7 +22,6 @@ properties:
- description: events interrupt line.
- description: errors interrupt line.
minItems: 1
maxItems: 2
clocks:
maxItems: 1

View File

@ -65,7 +65,6 @@ properties:
The APB clock and at least one video clock are mandatory, the audio clock
is optional.
minItems: 2
maxItems: 4
items:
- description: dp_apb_clk is the APB clock
- description: dp_aud_clk is the Audio clock
@ -78,13 +77,11 @@ properties:
clock-names:
oneOf:
- minItems: 2
maxItems: 3
items:
- const: dp_apb_clk
- enum: [ dp_vtc_pixel_clk_in, dp_live_video_in_clk ]
- enum: [ dp_vtc_pixel_clk_in, dp_live_video_in_clk ]
- minItems: 3
maxItems: 4
items:
- const: dp_apb_clk
- const: dp_aud_clk
@ -116,7 +113,6 @@ properties:
maxItems: 2
phy-names:
minItems: 1
maxItems: 2
items:
- const: dp-phy0
- const: dp-phy1

View File

@ -52,7 +52,6 @@ properties:
interrupt-names:
minItems: 9
maxItems: 17
items:
- const: error
- pattern: "^ch([0-9]|1[0-5])$"

View File

@ -30,14 +30,12 @@ properties:
interrupts:
minItems: 1
maxItems: 2
items:
- description: uncorrectable error interrupt
- description: correctable error interrupt
interrupt-names:
minItems: 1
maxItems: 2
items:
- const: ue
- const: ce

View File

@ -32,7 +32,6 @@ properties:
oneOf:
- allOf:
- minItems: 1
maxItems: 2
items:
- pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+|spd)$"
- pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$"

View File

@ -91,7 +91,6 @@ properties:
interrupts:
# Either 1 or 2 interrupts can be present
minItems: 1
maxItems: 2
items:
- description: tx or combined interrupt
- description: rx interrupt
@ -105,7 +104,6 @@ properties:
interrupt-names:
# minItems must be specified here because the default would be 2
minItems: 1
maxItems: 2
items:
- const: tx irq
- const: rx irq

View File

@ -34,7 +34,6 @@ properties:
- enum: [ bridge, gca ]
- enum: [ bridge, gca ]
minItems: 2
maxItems: 4
interrupts:
items:

View File

@ -36,7 +36,6 @@ properties:
- description: AHB/slave interface clock (only required if GPU can gate
slave interface independently)
minItems: 1
maxItems: 4
clock-names:
items:

View File

@ -21,7 +21,6 @@ properties:
reg:
minItems: 1
maxItems: 2
items:
- description: address offset and range of bus
- description: address offset and range of bus buffer

View File

@ -21,7 +21,6 @@ properties:
reg:
minItems: 1
maxItems: 2
items:
- description: BSC register range
- description: Auto-I2C register range

View File

@ -43,14 +43,12 @@ properties:
clocks:
minItems: 1
maxItems: 2
items:
- description: Reference clock for the I2C bus
- description: Bus clock (Only for Armada 7K/8K)
clock-names:
minItems: 1
maxItems: 2
items:
- const: core
- const: reg

View File

@ -20,7 +20,6 @@ properties:
reg:
minItems: 3
maxItems: 4
items:
- description: Smbus block registers
- description: Cause master registers

View File

@ -41,7 +41,6 @@ properties:
clock-names:
minItems: 2
maxItems: 4
items:
- const: clkin
- const: core

View File

@ -38,14 +38,12 @@ properties:
dfsdm clock can also feed CLKOUT, when CLKOUT is used.
- description: audio clock can be used as an alternate to feed CLKOUT.
minItems: 1
maxItems: 2
clock-names:
items:
- const: dfsdm
- const: audio
minItems: 1
maxItems: 2
"#address-cells":
const: 1

View File

@ -35,7 +35,6 @@ properties:
- description: output interrupt 6
- description: output interrupt 7
minItems: 1
maxItems: 8
clocks:
maxItems: 1

View File

@ -50,7 +50,6 @@ properties:
- const: int2
- const: int3
minItems: 1
maxItems: 4
'#interrupt-cells':
const: 2

View File

@ -38,7 +38,6 @@ properties:
If provided, then the combined interrupt will be used in preference to
any others.
- minItems: 2
maxItems: 4
items:
- const: eventq # Event Queue not empty
- const: gerror # Global Error activated

View File

@ -49,7 +49,6 @@ properties:
interrupts:
minItems: 1
maxItems: 2
description:
Specifiers for the MMU fault interrupts. Not required for cache IPMMUs.
items:

View File

@ -32,7 +32,6 @@ properties:
- description: tx channel free
- description: wakeup source
minItems: 2
maxItems: 3
interrupt-names:
items:
@ -40,7 +39,6 @@ properties:
- const: tx
- const: wakeup
minItems: 2
maxItems: 3
wakeup-source: true

View File

@ -67,7 +67,6 @@ properties:
clock-names:
minItems: 4
maxItems: 5
items:
- const: dos_parser
- const: dos

View File

@ -30,7 +30,6 @@ properties:
reg-names:
minItems: 1
maxItems: 13
items:
- const: main
- enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ]

View File

@ -43,7 +43,6 @@ properties:
clocks:
minItems: 1
maxItems: 3
items:
- description: AXI bus interface clock
- description: Peripheral clock

View File

@ -30,7 +30,6 @@ properties:
power-domain-names:
minItems: 2
maxItems: 3
items:
- const: venus
- const: vcodec0

View File

@ -30,7 +30,6 @@ properties:
power-domain-names:
minItems: 3
maxItems: 4
items:
- const: venus
- const: vcodec0

View File

@ -30,7 +30,6 @@ properties:
power-domain-names:
minItems: 2
maxItems: 3
items:
- const: venus
- const: vcodec0

View File

@ -67,7 +67,6 @@ properties:
maxItems: 1
clock-names:
maxItems: 1
items:
- const: fck
@ -80,7 +79,6 @@ properties:
dma-names:
minItems: 1
maxItems: 2
items:
- const: rx
- const: rx

View File

@ -53,14 +53,12 @@ properties:
apb and smi are mandatory. the async is only for generation 1 smi HW.
gals(global async local sync) also is optional, see below.
minItems: 2
maxItems: 4
items:
- description: apb is Advanced Peripheral Bus clock, It's the clock for
setting the register.
- description: smi is the clock for transfer data and command.
- description: async is asynchronous clock, it help transform the smi
clock into the emi clock domain.
- description: gals0 is the path0 clock of gals.
- description: Either asynchronous clock to help transform the smi clock
into the emi clock domain on Gen1 h/w, or the path0 clock of gals.
- description: gals1 is the path1 clock of gals.
clock-names:

View File

@ -37,7 +37,6 @@ properties:
description: |
apb and smi are mandatory. gals(global async local sync) is optional.
minItems: 2
maxItems: 3
items:
- description: apb is Advanced Peripheral Bus clock, It's the clock for
setting the register.

View File

@ -64,7 +64,6 @@ properties:
clocks:
minItems: 2
maxItems: 4
items:
- description: Bus Clock
- description: Module Clock
@ -73,7 +72,6 @@ properties:
clock-names:
minItems: 2
maxItems: 4
items:
- const: ahb
- const: mmc

View File

@ -116,7 +116,6 @@ properties:
pinctrl-names:
minItems: 1
maxItems: 4
items:
- const: default
- const: state_100mhz

View File

@ -38,7 +38,6 @@ properties:
description:
Should contain phandle for the clock feeding the MMC controller.
minItems: 2
maxItems: 8
items:
- description: source clock (required).
- description: HCLK which used for host (required).
@ -51,7 +50,6 @@ properties:
clock-names:
minItems: 2
maxItems: 8
items:
- const: source
- const: hclk

View File

@ -75,7 +75,6 @@ properties:
clock-names:
minItems: 1
maxItems: 2
items:
- const: core
- const: cd
@ -107,7 +106,6 @@ properties:
pinctrl-names:
minItems: 1
maxItems: 2
items:
- const: default
- const: state_uhs

View File

@ -45,7 +45,6 @@ properties:
clock-names:
minItems: 1
maxItems: 2
items:
- const: clk_ahb
- const: clk_xin

View File

@ -57,7 +57,6 @@ properties:
clock-names:
minItems: 1
maxItems: 2
items:
- const: io
- const: core

View File

@ -43,7 +43,6 @@ allOf:
properties:
clocks:
minItems: 3
maxItems: 4
items:
- description: GMAC main clock
- description: First parent clock of the internal mux
@ -52,7 +51,6 @@ allOf:
clock-names:
minItems: 3
maxItems: 4
items:
- const: stmmaceth
- const: clkin0

View File

@ -23,14 +23,12 @@ properties:
interrupts:
minItems: 1
maxItems: 2
items:
- description: RX interrupt
- description: TX interrupt
interrupt-names:
minItems: 1
maxItems: 2
items:
- const: rx
- const: tx

View File

@ -30,14 +30,12 @@ properties:
- description: interrupt line0
- description: interrupt line1
minItems: 1
maxItems: 2
interrupt-names:
items:
- const: int0
- const: int1
minItems: 1
maxItems: 2
clocks:
items:

View File

@ -48,14 +48,12 @@ properties:
clocks:
minItems: 1
maxItems: 2
items:
- description: switch's main clock
- description: dividing of the switch core clock
clock-names:
minItems: 1
maxItems: 2
items:
- const: sw_switch
- const: sw_switch_mdiv

View File

@ -28,7 +28,6 @@ properties:
gpios:
minItems: 2
maxItems: 3
items:
- description: MDC
- description: MDIO

View File

@ -82,7 +82,6 @@ properties:
interrupts:
minItems: 1
maxItems: 3
items:
- description: Combined signal for various interrupt events
- description: The interrupt to manage the remote wake-up packet detection
@ -90,7 +89,6 @@ properties:
interrupt-names:
minItems: 1
maxItems: 3
items:
- const: macirq
- const: eth_wake_irq

View File

@ -46,7 +46,6 @@ properties:
clocks:
minItems: 3
maxItems: 5
items:
- description: GMAC main clock
- description: MAC TX clock

View File

@ -25,14 +25,12 @@ properties:
interrupts:
minItems: 1
maxItems: 2
items:
- description: PCIe host controller
- description: builtin MSI controller
interrupt-names:
minItems: 1
maxItems: 2
items:
- const: pcie
- const: msi

View File

@ -24,7 +24,6 @@ properties:
reg:
minItems: 1
maxItems: 2
items:
- description: CFG0 standard config space register
- description: CFG1 extended config space register

View File

@ -70,7 +70,6 @@ properties:
reset-names:
minItems: 1
maxItems: 2
items:
- const: phy
- const: mac

View File

@ -26,14 +26,12 @@ properties:
interrupts:
minItems: 1
maxItems: 2
items:
- description: PCIe host controller
- description: builtin MSI controller
interrupt-names:
minItems: 1
maxItems: 2
items:
- const: pcie
- const: msi

View File

@ -21,7 +21,6 @@ properties:
interrupts:
minItems: 1
maxItems: 4
items:
- description: Overflow interrupt for DTC0
- description: Overflow interrupt for DTC1

View File

@ -28,7 +28,6 @@ properties:
clock-names:
minItems: 1
maxItems: 2
items:
- const: usbh
- const: usb_ref

View File

@ -22,7 +22,6 @@ properties:
reg:
minItems: 1
maxItems: 6
items:
- description: the base CTRL register
- description: XHCI EC register
@ -33,7 +32,6 @@ properties:
reg-names:
minItems: 1
maxItems: 6
items:
- const: ctrl
- const: xhci_ec
@ -51,7 +49,6 @@ properties:
clock-names:
minItems: 1
maxItems: 2
items:
- const: sw_usb
- const: sw_usb3

View File

@ -35,7 +35,6 @@ properties:
reg-names:
minItems: 1
maxItems: 2
items:
- const: phy
- const: phy-ctrl

View File

@ -131,7 +131,6 @@ patternProperties:
clocks:
minItems: 1
maxItems: 2
items:
- description: Reference clock, (HS is 48Mhz, SS/P is 24~27Mhz)
- description: Reference clock of analog phy
@ -141,7 +140,6 @@ patternProperties:
clock-names:
minItems: 1
maxItems: 2
items:
- const: ref
- const: da_ref

View File

@ -31,14 +31,12 @@ properties:
resets:
minItems: 1
maxItems: 2
items:
- description: Sierra PHY reset.
- description: Sierra APB reset. This is optional.
reset-names:
minItems: 1
maxItems: 2
items:
- const: sierra_reset
- const: sierra_apb

View File

@ -52,28 +52,24 @@ properties:
reg:
minItems: 1
maxItems: 2
items:
- description: Offset of the Torrent PHY configuration registers.
- description: Offset of the DPTX PHY configuration registers.
reg-names:
minItems: 1
maxItems: 2
items:
- const: torrent_phy
- const: dptx_phy
resets:
minItems: 1
maxItems: 2
items:
- description: Torrent PHY reset.
- description: Torrent APB reset. This is optional.
reset-names:
minItems: 1
maxItems: 2
items:
- const: torrent_reset
- const: torrent_apb

View File

@ -30,7 +30,6 @@ properties:
clock-names:
minItems: 1
maxItems: 2
items:
- const: ref
- const: xo

View File

@ -30,7 +30,6 @@ properties:
clock-names:
minItems: 1
maxItems: 2
items:
- const: ref
- const: xo

View File

@ -49,7 +49,6 @@ properties:
reg:
minItems: 1
maxItems: 2
items:
- description: Address and length of PHY's common serdes block.
- description: Address and length of PHY's DP_COM control block.

View File

@ -36,7 +36,6 @@ properties:
clocks:
minItems: 2
maxItems: 3
items:
- description: phy config clock
- description: 19.2 MHz ref clk
@ -44,7 +43,6 @@ properties:
clock-names:
minItems: 2
maxItems: 3
items:
- const: cfg_ahb
- const: ref

View File

@ -39,7 +39,6 @@ properties:
clock-names:
minItems: 1
maxItems: 2
items:
- const: fck
- const: usb_x1
@ -61,7 +60,6 @@ properties:
resets:
minItems: 1
maxItems: 2
items:
- description: reset of USB 2.0 host side
- description: reset of USB 2.0 peripheral side

View File

@ -33,7 +33,6 @@ properties:
# If you want to use the ssc, the clock-frequency of usb_extal
# must not be 0.
minItems: 2
maxItems: 3
items:
- const: usb3-if # The funcional clock
- const: usb3s_clk # The usb3's external clock

View File

@ -26,7 +26,6 @@ properties:
- description: PAD Pull Control + PAD Schmitt Trigger Enable + PAD Control
- description: PAD Drive Capacity Select
minItems: 1
maxItems: 4
clocks:
maxItems: 1

View File

@ -37,7 +37,6 @@ properties:
clock-names:
minItems: 1
maxItems: 2
items:
- const: vpu
- const: vapb

View File

@ -37,7 +37,6 @@ properties:
clocks:
minItems: 1
maxItems: 2
items:
- description: Module Clock
- description: Bus Clock

View File

@ -72,7 +72,6 @@ properties:
- from local to remote, where ACK from the remote means that communnication
as been stopped on the remote side.
minItems: 1
maxItems: 4
mbox-names:
items:
@ -81,7 +80,6 @@ properties:
- const: shutdown
- const: detach
minItems: 1
maxItems: 4
memory-region:
description:

View File

@ -116,7 +116,6 @@ properties:
list, in the specified order, each representing the corresponding
internal RAM memory region.
minItems: 1
maxItems: 3
items:
- const: l2ram
- const: l1pram

View File

@ -59,7 +59,6 @@ properties:
- description: SRC interrupt
- description: CPU WDOG interrupts out of SRC
minItems: 1
maxItems: 2
'#reset-cells':
const: 1

View File

@ -56,7 +56,6 @@ properties:
interrupts:
minItems: 3
maxItems: 4
items:
- description: DirError interrupt
- description: DataError interrupt

View File

@ -32,7 +32,6 @@ properties:
interrupts:
minItems: 1
maxItems: 2
items:
- description: RTC Alarm 0
- description: RTC Alarm 1

View File

@ -21,7 +21,6 @@ properties:
- description: rtc alarm interrupt
- description: dryice security violation interrupt
minItems: 1
maxItems: 2
clocks:
maxItems: 1

View File

@ -36,14 +36,12 @@ properties:
- description: ipg clock
- description: baud clock
minItems: 1
maxItems: 2
clock-names:
items:
- const: ipg
- const: baud
minItems: 1
maxItems: 2
dmas:
items:

View File

@ -44,7 +44,6 @@ properties:
clock-names:
description: N = 0 is allowed for SoCs without internal baud clock mux.
minItems: 2
maxItems: 5
items:
- const: uart
- pattern: '^clk_uart_baud[0-3]$'

View File

@ -164,7 +164,6 @@ patternProperties:
interrupts:
minItems: 1
maxItems: 2
items:
- description: UART core irq
- description: Wakeup irq (RX GPIO)

View File

@ -100,7 +100,6 @@ patternProperties:
properties:
reg:
minItems: 2 # On AM437x one of two PRUSS units don't contain Shared RAM.
maxItems: 3
items:
- description: Address and size of the Data RAM0.
- description: Address and size of the Data RAM1.
@ -111,7 +110,6 @@ patternProperties:
reg-names:
minItems: 2
maxItems: 3
items:
- const: dram0
- const: dram1

View File

@ -28,7 +28,6 @@ properties:
minItems: 2
clock-names:
minItems: 2
items:
- const: pll_a
- const: plla_out0

View File

@ -34,7 +34,6 @@ properties:
clocks:
minItems: 1
maxItems: 2
items:
- description: I2S bit clock
- description:
@ -48,7 +47,6 @@ properties:
clock-names:
minItems: 1
maxItems: 2
items:
- const: i2s
- const: sync_input

View File

@ -26,7 +26,6 @@ properties:
- description: Base address and size of SAI common register set.
- description: Base address and size of SAI identification register set.
minItems: 1
maxItems: 2
ranges:
maxItems: 1
@ -81,14 +80,12 @@ patternProperties:
- description: sai_ck clock feeding the internal clock generator.
- description: MCLK clock from a SAI set as master clock provider.
minItems: 1
maxItems: 2
clock-names:
items:
- const: sai_ck
- const: MCLK
minItems: 1
maxItems: 2
dmas:
maxItems: 1

View File

@ -35,7 +35,6 @@ properties:
clocks:
minItems: 1
maxItems: 2
items:
- description: controller register bus clock
- description: baud rate generator and delay control clock

View File

@ -56,7 +56,6 @@ properties:
reg-names:
minItems: 1
maxItems: 5
items:
- const: mspi
- const: bspi
@ -71,7 +70,6 @@ properties:
interrupt-names:
oneOf:
- minItems: 1
maxItems: 7
items:
- const: mspi_done
- const: mspi_halted

View File

@ -23,14 +23,12 @@ properties:
clocks:
minItems: 1
maxItems: 2
items:
- description: Bus Clock
- description: Module Clock
clock-names:
minItems: 1
maxItems: 2
items:
- const: bus
- const: mod

View File

@ -77,7 +77,6 @@ properties:
nvmem-cell-names:
minItems: 1
maxItems: 2
items:
- const: calib
- enum:

View File

@ -24,7 +24,6 @@ properties:
interrupts:
minItems: 2
maxItems: 4
items:
- description: Timer 0 Interrupt
- description: Timer 1 Interrupt

View File

@ -35,7 +35,6 @@ properties:
interrupts:
minItems: 1
maxItems: 5
items:
- description: secure timer irq
- description: non-secure timer irq

View File

@ -71,14 +71,12 @@ patternProperties:
interrupts:
minItems: 1
maxItems: 2
items:
- description: physical timer irq
- description: virtual timer irq
reg:
minItems: 1
maxItems: 2
items:
- description: 1st view base address
- description: 2nd optional view base address

View File

@ -22,7 +22,6 @@ properties:
interrupts:
minItems: 1
maxItems: 2
items:
- description: Timer 1 interrupt
- description: Timer 2 interrupt

View File

@ -30,14 +30,12 @@ properties:
- description: usb irq from max3420
- description: vbus detection irq
minItems: 1
maxItems: 2
interrupt-names:
items:
- const: udc
- const: vbus
minItems: 1
maxItems: 2
spi-max-frequency:
maximum: 26000000

Some files were not shown because too many files have changed in this diff Show More