Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: dt-bindings: fsl,audmix: Document audio graph port

This device can be used in conjunction with audio-graph-card to provide
an endpoint for binding with the other side of the audio link.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250226100508.2352568-3-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Shengjiu Wang and committed by
Mark Brown
5fee78e5 abcb9a1f

+60
+60
Documentation/devicetree/bindings/sound/fsl,audmix.yaml
··· 61 61 - description: serial audio input 2 62 62 maxItems: 1 63 63 64 + ports: 65 + $ref: /schemas/graph.yaml#/properties/ports 66 + patternProperties: 67 + '^port@[0-1]': 68 + $ref: audio-graph-port.yaml# 69 + unevaluatedProperties: false 70 + description: Input port from SAI TX 71 + 72 + properties: 73 + port@2: 74 + $ref: audio-graph-port.yaml# 75 + unevaluatedProperties: false 76 + description: Output port to SAI RX 77 + 64 78 required: 65 79 - compatible 66 80 - reg ··· 94 80 clock-names = "ipg"; 95 81 power-domains = <&pd_audmix>; 96 82 dais = <&sai4>, <&sai5>; 83 + 84 + ports { 85 + #address-cells = <1>; 86 + #size-cells = <0>; 87 + 88 + port@0 { 89 + reg = <0>; 90 + playback-only; 91 + 92 + amix_endpoint0: endpoint { 93 + dai-tdm-slot-num = <8>; 94 + dai-tdm-slot-width = <32>; 95 + dai-tdm-slot-width-map = <32 8 32>; 96 + dai-format = "dsp_a"; 97 + remote-endpoint = <&be00_ep>; 98 + }; 99 + }; 100 + 101 + port@1 { 102 + reg = <1>; 103 + playback-only; 104 + 105 + amix_endpoint1: endpoint { 106 + dai-tdm-slot-num = <8>; 107 + dai-tdm-slot-width = <32>; 108 + dai-tdm-slot-width-map = <32 8 32>; 109 + dai-format = "dsp_a"; 110 + remote-endpoint = <&be01_ep>; 111 + }; 112 + }; 113 + 114 + port@2 { 115 + reg = <2>; 116 + capture-only; 117 + 118 + amix_endpoint2: endpoint { 119 + dai-tdm-slot-num = <8>; 120 + dai-tdm-slot-width = <32>; 121 + dai-tdm-slot-width-map = <32 8 32>; 122 + dai-format = "dsp_a"; 123 + bitclock-master; 124 + frame-master; 125 + remote-endpoint = <&be02_ep>; 126 + }; 127 + }; 128 + }; 97 129 };