.. | .. |
---|
49 | 49 | Usage: required for mi2s interface |
---|
50 | 50 | Value type: <prop-encoded-array> |
---|
51 | 51 | Definition: Must be list of serial data lines used by this dai. |
---|
52 | | - should be one or more of the 1-4 sd lines. |
---|
| 52 | + should be one or more of the 0-3 sd lines. |
---|
53 | 53 | |
---|
54 | 54 | - qcom,tdm-sync-mode: |
---|
55 | 55 | Usage: required for tdm interface |
---|
.. | .. |
---|
98 | 98 | 0 - MSB |
---|
99 | 99 | 1 - LSB |
---|
100 | 100 | |
---|
| 101 | += AFE CLOCKSS |
---|
| 102 | +"clocks" subnode of the AFE node. It represents q6afe clocks |
---|
| 103 | +"clocks" node should have following properties. |
---|
| 104 | +- compatible: |
---|
| 105 | + Usage: required |
---|
| 106 | + Value type: <stringlist> |
---|
| 107 | + Definition: must be "qcom,q6afe-clocks" |
---|
| 108 | + |
---|
| 109 | +- #clock-cells: |
---|
| 110 | + Usage: required |
---|
| 111 | + Value type: <u32> |
---|
| 112 | + Definition: Must be 2. Clock Id followed by |
---|
| 113 | + below valid clock coupling attributes. |
---|
| 114 | + 1 - for no coupled clock |
---|
| 115 | + 2 - for dividend of the coupled clock |
---|
| 116 | + 3 - for divisor of the coupled clock |
---|
| 117 | + 4 - for inverted and no couple clock |
---|
| 118 | + |
---|
101 | 119 | = EXAMPLE |
---|
102 | 120 | |
---|
103 | | -q6afe@4 { |
---|
| 121 | +apr-service@4 { |
---|
104 | 122 | compatible = "qcom,q6afe"; |
---|
105 | 123 | reg = <APR_SVC_AFE>; |
---|
106 | 124 | |
---|
.. | .. |
---|
110 | 128 | #address-cells = <1>; |
---|
111 | 129 | #size-cells = <0>; |
---|
112 | 130 | |
---|
113 | | - hdmi@1 { |
---|
114 | | - reg = <1>; |
---|
| 131 | + dai@1 { |
---|
| 132 | + reg = <HDMI_RX>; |
---|
115 | 133 | }; |
---|
116 | 134 | |
---|
117 | | - tdm@24 { |
---|
118 | | - reg = <24>; |
---|
| 135 | + dai@24 { |
---|
| 136 | + reg = <PRIMARY_TDM_RX_0>; |
---|
119 | 137 | qcom,tdm-sync-mode = <1>: |
---|
120 | 138 | qcom,tdm-sync-src = <1>; |
---|
121 | 139 | qcom,tdm-data-out = <0>; |
---|
.. | .. |
---|
125 | 143 | |
---|
126 | 144 | }; |
---|
127 | 145 | |
---|
128 | | - tdm@25 { |
---|
129 | | - reg = <25>; |
---|
| 146 | + dai@25 { |
---|
| 147 | + reg = <PRIMARY_TDM_TX_0>; |
---|
130 | 148 | qcom,tdm-sync-mode = <1>: |
---|
131 | 149 | qcom,tdm-sync-src = <1>; |
---|
132 | 150 | qcom,tdm-data-out = <0>; |
---|
.. | .. |
---|
135 | 153 | qcom,tdm-data-align = <0>; |
---|
136 | 154 | }; |
---|
137 | 155 | |
---|
138 | | - prim-mi2s-rx@16 { |
---|
139 | | - reg = <16>; |
---|
| 156 | + dai@16 { |
---|
| 157 | + reg = <PRIMARY_MI2S_RX>; |
---|
| 158 | + qcom,sd-lines = <0 2>; |
---|
| 159 | + }; |
---|
| 160 | + |
---|
| 161 | + dai@17 { |
---|
| 162 | + reg = <PRIMARY_MI2S_TX>; |
---|
| 163 | + qcom,sd-lines = <1>; |
---|
| 164 | + }; |
---|
| 165 | + |
---|
| 166 | + dai@18 { |
---|
| 167 | + reg = <SECONDARY_MI2S_RX>; |
---|
| 168 | + qcom,sd-lines = <0 3>; |
---|
| 169 | + }; |
---|
| 170 | + |
---|
| 171 | + dai@19 { |
---|
| 172 | + reg = <SECONDARY_MI2S_TX>; |
---|
| 173 | + qcom,sd-lines = <1>; |
---|
| 174 | + }; |
---|
| 175 | + |
---|
| 176 | + dai@20 { |
---|
| 177 | + reg = <TERTIARY_MI2S_RX>; |
---|
140 | 178 | qcom,sd-lines = <1 3>; |
---|
141 | 179 | }; |
---|
142 | 180 | |
---|
143 | | - prim-mi2s-tx@17 { |
---|
144 | | - reg = <17>; |
---|
145 | | - qcom,sd-lines = <2>; |
---|
| 181 | + dai@21 { |
---|
| 182 | + reg = <TERTIARY_MI2S_TX>; |
---|
| 183 | + qcom,sd-lines = <0>; |
---|
146 | 184 | }; |
---|
147 | 185 | |
---|
148 | | - sec-mi2s-rx@18 { |
---|
149 | | - reg = <18>; |
---|
150 | | - qcom,sd-lines = <1 4>; |
---|
| 186 | + dai@22 { |
---|
| 187 | + reg = <QUATERNARY_MI2S_RX>; |
---|
| 188 | + qcom,sd-lines = <0>; |
---|
151 | 189 | }; |
---|
152 | 190 | |
---|
153 | | - sec-mi2s-tx@19 { |
---|
154 | | - reg = <19>; |
---|
155 | | - qcom,sd-lines = <2>; |
---|
156 | | - }; |
---|
157 | | - |
---|
158 | | - tert-mi2s-rx@20 { |
---|
159 | | - reg = <20>; |
---|
160 | | - qcom,sd-lines = <2 4>; |
---|
161 | | - }; |
---|
162 | | - |
---|
163 | | - tert-mi2s-tx@21 { |
---|
164 | | - reg = <21>; |
---|
| 191 | + dai@23 { |
---|
| 192 | + reg = <QUATERNARY_MI2S_TX>; |
---|
165 | 193 | qcom,sd-lines = <1>; |
---|
166 | 194 | }; |
---|
| 195 | + }; |
---|
167 | 196 | |
---|
168 | | - quat-mi2s-rx@22 { |
---|
169 | | - reg = <22>; |
---|
170 | | - qcom,sd-lines = <1>; |
---|
171 | | - }; |
---|
172 | | - |
---|
173 | | - quat-mi2s-tx@23 { |
---|
174 | | - reg = <23>; |
---|
175 | | - qcom,sd-lines = <2>; |
---|
176 | | - }; |
---|
| 197 | + clocks { |
---|
| 198 | + compatible = "qcom,q6afe-clocks"; |
---|
| 199 | + #clock-cells = <2>; |
---|
177 | 200 | }; |
---|
178 | 201 | }; |
---|