On Mon, Oct 23, 2023 at 05:36:09AM +0000, Kuninori Morimoto wrote:
This patch adds ch-maps property to enable handling CPU:Codec = N:M connection.
Signed-off-by: Kuninori Morimoto kuninori.morimoto.gx@renesas.com
.../devicetree/bindings/sound/audio-graph-port.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml index 60b5e3fd1115..47f04cdd6670 100644 --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml @@ -19,7 +19,12 @@ definitions: properties: mclk-fs: $ref: simple-card.yaml#/definitions/mclk-fs
ch-map-idx:
description: It indicates index of ch_maps array for CPU / Codec if number of
CPU(N) / Codec(M) DAIs were not same in one dai-link. ch-map-idx is not needed if the
numbers were 1:M or N:1 or N=M. see soc.h::[dai_link->ch_maps Image sample] and
${LINUX}/sound/soc/generic/audio-graph-card2-custom-sample.dtsi. It is good sample.
Why do we have a dtsi file hidden away here?
We have examples and actual users. Do we really need a 3rd way?
Rob