1 Qualcomm Audio Front End (Q6AFE) binding
3 AFE is one of the APR audio service on Q6DSP
4 Please refer to qcom,apr.txt for details of the common apr service bindings
5 used by all apr services. Must contain the following properties.
9 Value type: <stringlist>
10 Definition: must be "qcom,q6afe-v<MAJOR-NUMBER>.<MINOR-NUMBER>"
11 Or "qcom,q6afe" where the version number can be queried
15 = AFE DAIs (Digial Audio Interface)
16 "dais" subnode of the AFE node. It represents afe dais, each afe dai is a
17 subnode of "dais" representing board specific dai setup.
18 "dais" node should have following properties followed by dai children.
35 == AFE DAI is subnode of "dais" and represent a dai, it includes board specific
36 configuration of each dai. Must contain the following properties.
41 Definition: Must be dai id
44 Usage: required for mi2s interface
45 Value type: <prop-encoded-array>
46 Definition: Must be list of serial data lines used by this dai.
47 should be one or more of the 1-4 sd lines.
50 Usage: required for tdm interface
51 Value type: <prop-encoded-array>
52 Definition: Synchronization mode.
53 0 - Short sync bit mode
55 2 - Short sync slot mode
58 Usage: required for tdm interface
59 Value type: <prop-encoded-array>
60 Definition: Synchronization source.
65 Usage: required for tdm interface
66 Value type: <prop-encoded-array>
67 Definition: Data out signal to drive with other masters.
71 - qcom,tdm-invert-sync:
72 Usage: required for tdm interface
73 Value type: <prop-encoded-array>
74 Definition: Invert the sync.
78 - qcom,tdm-data-delay:
79 Usage: required for tdm interface
80 Value type: <prop-encoded-array>
81 Definition: Number of bit clock to delay data
82 with respect to sync edge.
87 - qcom,tdm-data-align:
88 Usage: required for tdm interface
89 Value type: <prop-encoded-array>
90 Definition: Indicate how data is packed
91 within the slot. For example, 32 slot width in case of
92 sample bit width is 24.
99 compatible = "qcom,q6afe";
103 #sound-dai-cells = <1>;
104 #address-cells = <1>;
113 qcom,tdm-sync-mode = <1>:
114 qcom,tdm-sync-src = <1>;
115 qcom,tdm-data-out = <0>;
116 qcom,tdm-invert-sync = <1>;
117 qcom,tdm-data-delay = <1>;
118 qcom,tdm-data-align = <0>;
124 qcom,tdm-sync-mode = <1>:
125 qcom,tdm-sync-src = <1>;
126 qcom,tdm-data-out = <0>;
127 qcom,tdm-invert-sync = <1>;
128 qcom,tdm-data-delay <1>:
129 qcom,tdm-data-align = <0>;
134 qcom,sd-lines = <1 3>;
144 qcom,sd-lines = <1 4>;
154 qcom,sd-lines = <2 4>;