OSDN Git Service

ASoC: audio-graph-card: Refactor schema
authorSameer Pujar <spujar@nvidia.com>
Tue, 17 Nov 2020 01:33:46 +0000 (19:33 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 18 Nov 2020 18:00:19 +0000 (18:00 +0000)
commite52f3f291152042f1759b2b8838e7ca24556997e
tree52569fa80aa71d4547f2944fbf4bb137aa3d1336
parent5268e0bf7123c422892fec362f5be2bcae9bbb95
ASoC: audio-graph-card: Refactor schema

There can be customized sound cards which are based on generic audio
graph. In such cases most of the stuff is reused from generic audio
graph. To facilitate this, refactor audio graph schema into multiple
files and the base schema can be reused for specific sound cards.

The graph card nodes and port nodes are separate entities, so they
should be separate schemas.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
[robh: Split out port schema. Add graph.yaml in subsequent commit]
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/20201117013349.2458416-2-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/audio-graph-card.yaml
Documentation/devicetree/bindings/sound/audio-graph-port.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/sound/audio-graph.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/sound/renesas,rsnd.yaml