On Fri, 16 Apr 2021 21:47:23 +0200, Rafał Miłecki wrote: > From: Rafał Miłecki <rafal@xxxxxxxxxx> > > This helps validating DTS files. > > Changes that require mentioning: > 1. reg-names > "mspi_regs" and "bspi_regs" were renamed to "mspi" and "bspi" as that > is what's used in DTS files and in Linux driver > 2. interrupt-names > Names were reordered. "mspi_done" has to go first as it's always > required. > 3. spi-rx-bus-width > Property description was dropped as it's part of the > spi-controller.yaml > 4. Examples: > * drop partitions as they are well documented elsewhere > * regs and interrupts were formatted and reordered to match yaml > * <0x1c> was replaced with <&gic> > * "m25p80" node name became "flash" > * dropped invalid "m25p,fast-read" property > * dropped undocumented and Linux-unused "clock-names" > > This rewritten binding validates cleanly using the "dt_binding_check". > Some Linux stored DTS files will require reordering regs and interrupts > to make dtbs_check happy. > > Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx> > --- > V2: Add Kamal as maintainer > V3: Fix examples (see commit message for details) - thanks Rob > --- > .../bindings/spi/brcm,spi-bcm-qspi.txt | 245 ------------------ > .../bindings/spi/brcm,spi-bcm-qspi.yaml | 198 ++++++++++++++ > MAINTAINERS | 2 +- > 3 files changed, 199 insertions(+), 246 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.txt > create mode 100644 Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.yaml > Reviewed-by: Rob Herring <robh@xxxxxxxxxx>