1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: "http://devicetree.org/schemas/sound/qcom,q6dsp-lpass-ports.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Qualcomm DSP LPASS(Low Power Audio SubSystem) Audio Ports binding
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 This binding describes the Qualcomm DSP LPASS Audio ports
19 - qcom,q6apm-lpass-dais
30 #Digital Audio Interfaces
35 Q6DSP Digital Audio Interfaces.
40 Digital Audio Interface ID
43 $ref: /schemas/types.yaml#/definitions/uint32-array
45 List of serial data lines used by this dai.should be one or more of the 0-3 sd lines.
54 $ref: /schemas/types.yaml#/definitions/uint32
57 TDM Synchronization mode
58 0 = Short sync bit mode
60 2 = Short sync slot mode
63 $ref: /schemas/types.yaml#/definitions/uint32
66 TDM Synchronization source
71 $ref: /schemas/types.yaml#/definitions/uint32
74 TDM Data out signal to drive with other masters
79 $ref: /schemas/types.yaml#/definitions/uint32
87 $ref: /schemas/types.yaml#/definitions/uint32
90 TDM Number of bit clock to delay data
96 $ref: /schemas/types.yaml#/definitions/uint32
99 Indicate how data is packed within the slot. For example, 32 slot
100 width in case of sample bit width is 24TDM Invert the sync.
112 # TDM DAI ID range from PRIMARY_TDM_RX_0 - QUINARY_TDM_TX_7
121 - qcom,tdm-invert-sync
122 - qcom,tdm-data-delay
123 - qcom,tdm-data-align
129 # MI2S DAI ID range PRIMARY_MI2S_RX - QUATERNARY_MI2S_TX and
130 # QUINARY_MI2S_RX - QUINARY_MI2S_TX
141 additionalProperties: false
149 additionalProperties: false
153 #include <dt-bindings/soc/qcom,apr.h>
154 #include <dt-bindings/sound/qcom,q6afe.h>
156 compatible = "qcom,apr-v2";
157 #address-cells = <1>;
159 qcom,domain = <APR_DOMAIN_ADSP>;
162 compatible = "qcom,q6afe";
164 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
167 compatible = "qcom,q6afe-dais";
168 #address-cells = <1>;
170 #sound-dai-cells = <1>;
173 reg = <QUATERNARY_MI2S_RX>;
174 qcom,sd-lines = <0 1 2 3>;
180 #include <dt-bindings/soc/qcom,gpr.h>
182 compatible = "qcom,gpr";
183 #address-cells = <1>;
185 qcom,domain = <GPR_DOMAIN_ID_ADSP>;
188 compatible = "qcom,q6apm";
189 reg = <GPR_APM_MODULE_IID>;
192 compatible = "qcom,q6apm-lpass-dais";
193 #address-cells = <1>;
195 #sound-dai-cells = <1>;
198 reg = <QUATERNARY_MI2S_RX>;
199 qcom,sd-lines = <0 1 2 3>;