On Mon, May 20, 2019 at 9:50 AM Maxime Ripard <maxime.ripard@xxxxxxxxxxx> wrote: > > The SPI controllers have a bunch of generic options that are needed in a > device tree. Add a YAML schemas for those. > > Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxx> > > --- > > Changes from v2: > - Change the nodename pattern > - Add a note to mention that the binding has moved > > Changes from v1: > - Rework the nodename pattern > - Limit the index of the usable chip selects to 256 > - Rework the slave devices regex > - Remove the requirement on #address-cells and #size-cells > - Declare the slave and slave devices nodes as objects > - Add spi-max-frequency > - Fix the bus width range > --- > Documentation/devicetree/bindings/spi/spi-bus.txt | 112 +----- > Documentation/devicetree/bindings/spi/spi-controller.yaml | 161 +++++++- > 2 files changed, 162 insertions(+), 111 deletions(-) > create mode 100644 Documentation/devicetree/bindings/spi/spi-controller.yaml Reviewed-by: Rob Herring <robh@xxxxxxxxxx>