linux/Documentation/devicetree/bindings/serial
Rob Herring 972d6a7dce 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
2021-06-21 13:56:46 -06:00
..
8250.yaml dt-bindings: serial: 8250: Remove duplicated compatible strings 2021-05-03 11:46:00 -05:00
actions,owl-uart.txt dt-bindings: serial: Document Actions Semi Owl UARTs 2017-06-20 10:24:15 +08:00
altera_jtaguart.txt
altera_uart.txt
amlogic,meson-uart.yaml dt-bindings: Clean-up schema indentation formatting 2020-04-16 16:59:22 -05:00
arc-uart.txt dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
arm_sbsa_uart.txt
arm,mps2-uart.txt dt-bindings: document the MPS2 UART bindings 2016-04-30 09:26:55 -07:00
brcm,bcm2835-aux-uart.txt dt/bindings: serial: bcm2835: add binding documentation for bcm2835-aux-uart 2016-02-06 23:13:30 -08:00
brcm,bcm6345-uart.txt tty/bcm63xx_uart: allow naming clock in device tree 2017-11-07 18:33:18 +00:00
brcm,bcm7271-uart.yaml dt-bindings: Add support for the Broadcom UART driver 2021-03-26 15:18:30 +01:00
cavium-uart.txt
cdns,uart.txt dt-bindings: xilinx-uartps: Add support for cts-override 2019-04-29 16:20:24 +02:00
cirrus,clps711x-uart.txt serial: clps711x: Changing the compatibility string to match with the smallest supported chip 2016-07-06 17:38:16 +02:00
digicolor-usart.txt
efm32-uart.txt dt-bindings: Remove leading 0x from bindings notation 2017-12-06 14:56:33 -06:00
fsl-imx-uart.yaml dt-bindings: serial: imx: Switch to my personal address 2021-01-31 13:47:39 +01:00
fsl-lpuart.yaml dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
fsl-mxs-auart.yaml dt-bindings: serial: imx: Switch to my personal address 2021-01-31 13:47:39 +01:00
fsl,s32-linflexuart.txt dt-bindings: serial: Document Freescale LINFlexD UART 2019-09-04 12:43:56 +02:00
ingenic,uart.yaml Bluetooth: btbcm: Rewrite bindings in YAML and add reset 2021-03-08 10:25:49 +01:00
lantiq_asc.txt dt-bindings: serial: lantiq: Add optional properties for CCF 2018-11-09 08:43:27 -08:00
litex,liteuart.yaml dt-bindings: serial: add the required property 'additionalProperties' 2020-12-18 15:15:20 -06:00
maxim,max310x.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
microchip,pic32-uart.txt devicetree: fix name of pinctrl-bindings.txt 2018-06-15 18:10:01 -03:00
milbeaut-uart.txt dt-bindings: serial: Add Milbeaut serial driver description 2019-02-26 12:30:45 +01:00
mrvl,pxa-ssp.txt
mtk-uart.txt dt-bindings: serial: Add compatible for Mediatek MT8195 2021-03-23 10:37:50 +01:00
mvebu-uart.txt dt-bindings: mvebu-uart: DT fix s/interrupts-names/interrupt-names/ 2018-05-01 08:18:10 -05:00
nvidia,tegra20-hsuart.txt serial: tegra: DT for Adjusted baud rates 2019-09-05 10:00:05 +02:00
nvidia,tegra194-tcu.txt dt-bindings: serial: Add bindings for nvidia,tegra194-tcu 2019-01-30 09:31:30 +01:00
nxp-lpc32xx-hsuart.txt
nxp,lpc1850-uart.txt
nxp,sc16is7xx.txt dt-bindings: sc16is7xx: Add flag to activate IrDA mode 2020-05-29 12:42:56 +02:00
omap_serial.txt dt-bindings: serial: 8250_omap: Add compatible for UART controller on AM64 SoC 2020-11-06 17:17:55 +01:00
pl011.yaml SoC platform removal 2021-02-20 18:16:30 -08:00
qca,ar9330-uart.yaml dt-bindings: serial: qca,ar9330-uart: Convert to json-schema 2020-05-18 12:29:34 -06:00
qcom,msm-uart.txt
qcom,msm-uartdm.txt dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
rda,8810pl-uart.txt dt-bindings: serial: Document RDA Micro UART 2018-12-31 13:09:51 -08:00
renesas,em-uart.yaml dt-bindings: serial: Add renesas,em-uart bindings 2020-05-28 15:12:01 -06:00
renesas,hscif.yaml Devicetree updates for v5.12: 2021-02-22 10:05:12 -08:00
renesas,sci.yaml dt-bindings: Add missing 'unevaluatedProperties' 2020-10-07 11:26:41 -05:00
renesas,scif.yaml dt-bindings: Add missing array size constraints 2021-01-11 17:42:25 -06:00
renesas,scifa.yaml dt-bindings: Add missing array size constraints 2021-01-11 17:42:25 -06:00
renesas,scifb.yaml dt-bindings: Add missing array size constraints 2021-01-11 17:42:25 -06:00
rs485.txt dt-bindings: serial: Convert rs485 bindings to json-schema 2020-01-23 14:34:15 -06:00
rs485.yaml dt-bindings: Explicitly allow additional properties in common schemas 2020-10-07 11:30:06 -05:00
samsung_uart.yaml dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
serial.yaml Devicetree updates for v5.13: 2021-04-28 15:50:24 -07:00
sifive-serial.yaml dt-bindings: update sifive uart compatible string 2021-02-22 17:51:10 -08:00
snps-dw-apb-uart.yaml dt-bindings: Add missing 'unevaluatedProperties' 2020-10-07 11:26:41 -05:00
socionext,uniphier-uart.yaml dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
sprd-uart.yaml dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
st-asc.txt
st,stm32-uart.yaml dt-bindings: serial: stm32: override FIFO threshold properties 2021-04-22 12:11:25 +02:00
vt8500-uart.txt
xlnx,opb-uartlite.txt dt-bindings: serial: Add binding for uartlite 2018-08-02 10:08:44 +02:00