mirror_ubuntu-kernels/Documentation/devicetree/bindings/mtd
Rob Herring e8917266ae dt-bindings: More dropping redundant minItems/maxItems
Another round of removing redundant minItems/maxItems from new schema in
the recent merge window.

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: Stephen Boyd <sboyd@kernel.org>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Will Deacon <will@kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Kamal Dasu <kdasu.kdev@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: linux-clk@vger.kernel.org
Cc: iommu@lists.linux-foundation.org
Cc: linux-mtd@lists.infradead.org
Cc: linux-rtc@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20210713193453.690290-1-robh@kernel.org
2021-07-15 08:45:27 -06:00
..
partitions dt-bindings: mtd: brcm,trx: Add brcm,trx-magic 2021-05-10 12:11:48 +02:00
allwinner,sun4i-a10-nand.yaml dt-bindings: Remove cases of 'allOf' containing a '$ref' 2020-05-03 11:10:41 -05:00
amlogic,meson-nand.txt dt: bindings: mtd: replace references to nand.txt with nand-controller.yaml 2019-05-22 09:08:20 -05:00
arasan,nand-controller.yaml dt-bindings: Whitespace clean-ups in schema files 2020-08-14 08:55:58 -06:00
arm,pl353-nand-r2p1.yaml dt-bindings: mtd: pl353-nand: Describe this hardware controller 2021-06-18 09:45:21 +02:00
aspeed-smc.txt
atmel-dataflash.txt
atmel-nand.txt dt-bindings: atmel-nand: add microchip,sam9x60-pmecc 2020-01-14 15:06:57 +01:00
brcm,brcmnand.yaml dt-bindings: More dropping redundant minItems/maxItems 2021-07-15 08:45:27 -06:00
cadence-nand-controller.txt docs: dt: fix several broken doc references 2020-02-24 12:27:19 -06:00
common.txt dt-bindings: mtd: add YAML schema for the generic MTD bindings 2021-05-10 12:42:49 +02:00
cortina,gemini-flash.txt dt-bindings: mtd: Convert mtd-physmap to DT schema 2021-06-09 14:42:45 -05:00
davinci-nand.txt mtd: Replace HTTP links with HTTPS ones 2020-08-02 22:17:19 +02:00
denali,nand.yaml dt-bindings: Add missing 'unevaluatedProperties' 2020-10-07 11:26:41 -05:00
diskonchip.txt
elm.txt dt-bindings: mtd: elm: Correct compatible string requirement 2017-06-22 21:10:47 +02:00
flctl-nand.txt
fsl-upm-nand.txt dt-bindings: mtd: fsl-upm-nand: Deprecate chip-delay and fsl, upm-wait-flags 2020-07-07 21:03:44 +02:00
fsmc-nand.txt dt: bindings: mtd: replace references to nand.txt with nand-controller.yaml 2019-05-22 09:08:20 -05:00
gpio-control-nand.txt mtd: nand: gpio: update binding 2017-05-10 18:18:55 -07:00
gpmc-nand.txt dt: bindings: mtd: replace references to nand.txt with nand-controller.yaml 2019-05-22 09:08:20 -05:00
gpmc-nor.txt dt-bindings: Remove leading 0x from bindings notation 2017-12-06 14:56:33 -06:00
gpmc-onenand.txt dt-bindings: mtd: gpmc-onenand: Update properties description 2018-01-12 15:34:02 +01:00
gpmi-nand.yaml dt-bindings: mtd: gpmi-nand: Fix matching of clocks on different SoCs 2020-12-10 22:37:32 +01:00
hisi504-nand.txt dt: bindings: mtd: replace references to nand.txt with nand-controller.yaml 2019-05-22 09:08:20 -05:00
hisilicon,fmc-spi-nor.txt
ibm,ndfc.txt dt-bindings: powerpc/4xx: move 4xx NDFC and EMAC bindings to subsystem directories 2018-04-27 16:56:56 -05:00
ingenic,nand.yaml dt-bindings: Add missing 'unevaluatedProperties' 2020-10-07 11:26:41 -05:00
intel,lgm-nand.yaml dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC 2020-12-10 22:37:32 +01:00
jedec,spi-nor.yaml dt-bindings: mtd: spi-nor: add otp property 2021-05-10 12:42:53 +02:00
lpc32xx-mlc.txt dt-bindings: Use lower case hex in unit-addresses 2017-12-26 10:37:05 -06:00
lpc32xx-slc.txt
marvell-nand.txt dt: bindings: mtd: replace references to nand.txt with nand-controller.yaml 2019-05-22 09:08:20 -05:00
microchip,mchp23k256.txt mtd: mchp23k256: Add support for mchp23lcv1024 2017-06-08 16:32:11 -07:00
microchip,mchp48l640.yaml mtd: devices: add devicetree documentation for microchip 48l640 2021-06-11 20:43:05 +02:00
mtd-physmap.yaml dt-bindings: mtd: Convert mtd-physmap to DT schema 2021-06-09 14:42:45 -05:00
mtd.yaml dt-bindings: mtd: add OTP bindings 2021-05-10 12:42:51 +02:00
mtk-nand.txt MTD changes: 2018-06-08 10:39:20 -07:00
mxc-nand.yaml dt-bindings: Whitespace clean-ups in schema files 2020-08-14 08:55:58 -06:00
mxic-nand.txt dt-bindings: mtd: Document Macronix raw NAND controller bindings 2019-08-26 09:25:41 +02:00
nand-controller.yaml dt-binding: mtd: nand: Document the cs-gpios property 2021-05-26 10:55:10 +02:00
nand-macronix.txt dt-bindings: mtd: Document Macronix NAND device bindings 2020-03-11 16:17:54 +01:00
nvidia-tegra20-nand.txt dt: bindings: mtd: replace references to nand.txt with nand-controller.yaml 2019-05-22 09:08:20 -05:00
nxp-spifi.txt
orion-nand.txt
oxnas-nand.txt dt: bindings: mtd: replace references to nand.txt with nand-controller.yaml 2019-05-22 09:08:20 -05:00
partition.txt dt-bindings: mtd: convert "fixed-partitions" to the json-schema 2020-12-10 21:57:02 -06:00
qcom,nandc.yaml dt-bindings: mtd: Convert Qcom NANDc binding to YAML 2021-04-07 10:06:20 +02:00
rockchip,nand-controller.yaml dt-bindings: mtd: Describe Rockchip RK3xxx NAND flash controller 2020-12-10 22:37:33 +01:00
samsung-s3c2410.txt dt: bindings: mtd: replace references to nand.txt with nand-controller.yaml 2019-05-22 09:08:20 -05:00
spear_smi.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
spi-nand.txt dt-bindings: Add bindings for SPI NAND devices 2018-07-18 09:24:11 +02:00
st-fsm.txt dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
st,stm32-fmc2-nand.yaml dt-bindings: Add missing 'unevaluatedProperties' 2020-10-07 11:26:41 -05:00
ti,am654-hbmc.yaml dt-bindings: mtd: Convert ti, am654-hbmc.txt to YAML schema 2021-06-11 20:57:26 +02:00
vf610-nfc.txt dt: bindings: mtd: replace references to nand.txt with nand-controller.yaml 2019-05-22 09:08:20 -05:00