On Thu, May 16, 2019 at 2:59 AM Maxime Ripard <maxime.ripard@xxxxxxxxxxx> wrote: > > The Allwinner SoCs feature an SPDIF controller across multiple SoC > generations. > > However, earlier generations were a bit simpler than the subsequent ones, > and for example would always have RX and TX capabilities, and no reset > lines. > > In order to express this, let's create two YAML schemas instead of the free > form text we had before. > > Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxx> > > --- > > Changes from v2: > - Add comments > > Changes from v1: > - Merged the two schemas together and used the draft-7 conditionals > --- > Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- > Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt | 42 +------------------------------ > 2 files changed, 101 insertions(+), 42 deletions(-) > create mode 100644 Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml > delete mode 100644 Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt Reviewed-by: Rob Herring <robh@xxxxxxxxxx>