[PATCH V3] dt-bindings: mtd: brcm,brcmnand: convert to the json-schema

Rob Herring robh at kernel.org
Wed Apr 21 18:05:09 BST 2021


On Tue, 20 Apr 2021 23:20:08 +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> 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 at milecki.pl>
> ---
> V2: Drop example partitions that were using deprecated syntax-thanks Rob
> V3: "SoC specific "compatible" cases got limited controller versions"
>     Thanks Rob for teaching me the items: enum [] trick (no "-")
> ---
>  .../devicetree/bindings/mtd/brcm,brcmnand.txt | 186 --------------
>  .../bindings/mtd/brcm,brcmnand.yaml           | 242 ++++++++++++++++++
>  2 files changed, 242 insertions(+), 186 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt
>  create mode 100644 Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml
> 

Reviewed-by: Rob Herring <robh at kernel.org>



More information about the linux-mtd mailing list