On Sat, Jul 20, 2019 at 3:26 AM Maxime Ripard <maxime.ripard@xxxxxxxxxxx> wrote: > > The DMA controllers and consumers have a bunch of generic properties that > are needed in a device tree. Add a YAML schemas for those. > > Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxx> > > --- > > Changes from v2: > - Added a select statement. > > Changes from v1: > - Dropped the dma consumer schemas > - Fixed the node name of the examples > - Enhanced a bit the description for dma-requests in case of a router > - Split the bindings in two to handle the router and controller case > separately > - Made #dma-cells required > --- > .../devicetree/bindings/dma/dma-common.yaml | 45 +++++++ > .../bindings/dma/dma-controller.yaml | 35 ++++++ > .../devicetree/bindings/dma/dma-router.yaml | 50 ++++++++ > Documentation/devicetree/bindings/dma/dma.txt | 114 +----------------- > 4 files changed, 131 insertions(+), 113 deletions(-) > create mode 100644 Documentation/devicetree/bindings/dma/dma-common.yaml > create mode 100644 Documentation/devicetree/bindings/dma/dma-controller.yaml > create mode 100644 Documentation/devicetree/bindings/dma/dma-router.yaml Reviewed-by: Rob Herring <robh@xxxxxxxxxx>