dt-bindings: mtd: brcmnand: convert to the json-schema
authorRafał Miłecki <rafal@milecki.pl>
Fri, 23 Apr 2021 05:05:36 +0000 (07:05 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 10 May 2021 09:59:07 +0000 (11:59 +0200)
commit27736ddd24cb99b9bef2b36b42381eb41da15958
tree68efa560261f57060cebea2f85b84f2879d3c21b
parent21020becdf0ce946d3fc2c4bf4da33453affcd5a
dt-bindings: mtd: brcmnand: convert to the json-schema

This helps validating DTS files.

Changes that require mentioning:
1. Property "clock" was renamed to "clocks"
2. Duplicated properties (defined in nand-controller.yaml) were dropped
3. Compatible "brcm,nand-bcm63168" was added
4. SoC specific "compatible" cases got limited controller versions

Examples changes:
1. Nodes "nand" were renamed to "nand-controller"
2. Nodes "nandcs" were renamed to "nand"
3. Dropped partitions as they were using old syntax and are well
   documented elsewhere anyway

This rewritten binding validates cleanly using the "dt_binding_check".
Some Linux stored DTS files will require updating to make "dtbs_check"
happy.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210423050536.29504-1-zajec5@gmail.com
Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt [deleted file]
Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml [new file with mode: 0644]