There can be custom sound cards reusing most of the audio-graph implementation. To allow this refactor the audio-graph-card schema into following files. * audio-graph.yaml : defines all common bindings * audio-graph-card.yaml : define compatible property
Custom sound cards can just reference 'audio-graph.yaml' and define its own compatible and specific properties.
This depends on following series: http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20201102203656...
Sameer Pujar (2): ASoC: audio-graph-card: Refactor schema ASoC: renesas,rsnd: Update audio graph references
.../bindings/sound/audio-graph-card.yaml | 102 +------------------- .../devicetree/bindings/sound/audio-graph.yaml | 107 +++++++++++++++++++++ .../devicetree/bindings/sound/renesas,rsnd.yaml | 6 +- 3 files changed, 112 insertions(+), 103 deletions(-) create mode 100644 Documentation/devicetree/bindings/sound/audio-graph.yaml