audio dtsi 相关参数描写

xref: /txgon/kernel/msm-4.9/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt

  • only in /txgon/kernel/msm-4.9/Documentation/devicetree/bindings/sound/
1 Qualcomm technologies inc audio devices for ALSA sound SoC
2 
3 * msm-pcm
4 
5 Required properties:
6 
7  - compatible : "qcom,msm-pcm-dsp"
8 
9  - qcom,msm-pcm-dsp-id : device node id
10 
11 * msm-pcm-low-latency
12 
13 Required properties:
14 
15  - compatible : "qcom,msm-pcm-dsp"
16 
17  - qcom,msm-pcm-dsp-id : device node id
18 
19    Optional properties
20 
21       - qcom,msm-pcm-low-latency : Flag indicating whether
22         the device node is of type low latency.
23 
24       - qcom,latency-level : Flag indicating whether the device node
25                             is of type regular low latency or ultra
26                             low latency.
27                             regular : regular low latency stream
28                             ultra : ultra low latency stream
29                             ull-pp : ultra low latency stream with post-processing capability
30 
31 * msm-pcm-dsp-noirq
32 
33 Required properties:
34 
35  - compatible : "qcom,msm-pcm-dsp-noirq";
36 
37    Optional properties
38 
39       - qcom,msm-pcm-low-latency : Flag indicating whether
40         the device node is of type low latency
41 
42       - qcom,latency-level : Flag indicating whether the device node
43                            is of type low latency or ultra low latency
44                            ultra : ultra low latency stream
45                            ull-pp : ultra low latency stream with post-processing capability
46 * msm-pcm-routing
47 
48 Required properties:
49 
50  - compatible : "qcom,msm-pcm-routing"
51 
52 * msm-pcm-lpa
53 
54 Required properties:
55 
56  - compatible : "qcom,msm-pcm-lpa"
57 
58 * msm-compr-dsp
59 
60 Required properties:
61 
62  - compatible : "qcom,msm-compr-dsp"
63 
64 * msm-compress-dsp
65 
66 Required properties:
67 
68  - compatible : "qcom,msm-compress-dsp"
69 
70 Optional properties
71  - qcom,adsp-version:
72 	This property can be used to specify the ADSP version/name.
73 	Based on ADSP version, we decide if we have to use older
74 	ADSP APIs or newer. Right now we are adding "MDSP 1.2" for
75 	8909 purpose.If the ADSP version is anything other than this
76 	we use new ADSP APIs.
77 
78 * msm-voip-dsp
79 
80 Required properties:
81 
82  - compatible : "qcom,msm-voip-dsp"
83 
84 * msm-pcm-voice
85 
86 Required properties:
87 
88  - compatible : "qcom,msm-pcm-voice"
89  - qcom,destroy-cvd : Flag indicating whether to destroy cvd at
90                       the end of call for low memory targets
91 
92 * msm-voice-host-pcm
93 
94 Required properties:
95 
96  - compatible : "qcom,msm-voice-host-pcm"
97 
98 * msm-voice-svc
99
100Required properties:
101
102 - compatible : "qcom,msm-voice-svc"
103
104* msm-stub-codec
105
106Required properties:
107
108 - compatible : "qcom,msm-stub-codec"
109
110* msm-hdmi-dba-codec-rx
111
112Required properties:
113 
114  - compatible : "qcom,msm-hdmi-dba-codec-rx"
115  - qcom,dba-bridge-chip: String info to indicate which bridge-chip
116                          is used for HDMI using DBA.
117 
118 * msm-dai-fe
119 
120 Required properties:
121 
122  - compatible : "qcom,msm-dai-fe"
123 
124 * msm-pcm-afe
125 
126 Required properties:
127 
128  - compatible : "qcom,msm-pcm-afe"
129 
130 * msm-pcm-dtmf
131 
132 Required properties:
133 
134  - compatible : "qcom,msm-pcm-dtmf"
135  - qcom,msm-pcm-dtmf : Enable DTMF driver in Audio. DTMF driver is
136    used for generation and detection of DTMF tones, when user is in
137    active voice call. APR commands are sent from DTMF driver to ADSP.
138 
139 * msm-dai-stub
140 
141 [First Level Nodes]
142 
143 Required properties:
144 
145  - compatible : "msm-dai-stub"
146 
147 [Second Level Nodes]
148 
149 Required properties:
150 
151  - compatible : "qcom,msm-dai-stub-dev"
152  - qcom,msm-dai-stub-dev-id : Stub dai port ID value is from 0 to 3.
153    This enables stub CPU dai in Audio. The stub dai is used when
154    there is no real backend in Audio.
155 
156 * msm-dai-q6-spdif
157 
158 Optional properties:
159 
160  - compatible : "msm-dai-q6-spdif"
161 
162 * msm-dai-q6-hdmi
163 
164 Required properties:
165  - compatible : "msm-dai-q6-hdmi"
166  - qcom,msm-dai-q6-dev-id : The hdmi multi channel port ID.
167    It is passed onto the dsp from the apps to form an audio
168    path to the HDMI device. Currently the only supported value
169    is 8, which indicates the rx path used for audio playback
170    on HDMI device.
171 
172 * msm-lsm-client
173 
174 Required properties:
175 
176  - compatible : "qcom,msm-lsm-client"
177 
178 * msm-pcm-loopback
179 
180 Required properties:
181 
182  - compatible : "qcom,msm-pcm-loopback"
183 
184 Optional properties:
185 
186  - qcom,msm-pcm-loopback-low-latency : Flag indicating whether
187    the device node is of type low latency.
188 
189 * msm-transcode-loopback
190 
191 Required properties:
192 
193  - compatible : "qcom,msm-transcode-loopback"
194 
195 * msm-dai-q6
196 
197 [First Level Nodes]
198 
199 Required properties:
200 
201  - compatible : "msm-dai-q6"
202 
203 Optional properties:
204 
205  - qcom,ext-spk-amp-supply : External speaker amplifier power supply.
206  - qcom,ext-spk-amp-gpio : External speaker amplifier enable signal.
207 
208 [Second Level Nodes]
209 
210 Required properties:
211 
212  - compatible : "qcom,msm-dai-q6-dev"
213  - qcom,msm-dai-q6-dev-id : The slimbus multi channel port ID
214                             Value is from 16384 to 16397
215                             BT SCO port ID value from 12288 to 12289
216                             RT Proxy port ID values from 224 to 225 and 240 to
217 			    241
218                             FM Rx and TX port ID values from 12292 to 12293
219                             incall record Rx and TX port ID values from 32771 to 32772
220                             inCall Music Delivery port ID is 32773
221 			    incall Music 2 Delivery port ID is 32770
222 
223 * msm-auxpcm
224 
225 Required properties:
226 
227  - compatible :                           "qcom,msm-auxpcm-dev"
228 
229  - qcom,msm-cpudai-auxpcm-mode:           mode information. The first value is
230                                           for 8khz mode, the second is for
231                                           16khz
232                                           0 - for PCM
233 
234  - qcom,msm-cpudai-auxpcm-sync:           sync information. The first value is
235                                           for 8khz mode, the second is for
236                                           16khz
237 
238  - qcom,msm-cpudai-auxpcm-frame:          No.of bytes per frame. The first
239                                           value is for 8khz mode, the second
240                                           is for 16khz
241                                           5 - 256BPF
242                                           4 - 128BPF
243 
244  - qcom,msm-cpudai-auxpcm-quant:          Type of quantization. The first
245                                           value is for 8khz mode, the second
246                                           is for 16khz
247                                           2 - Linear quantization
248 
249  - qcom,msm-cpudai-auxpcm-num-slots:      Number of slots per mode in the
250                                           msm-cpudai-auxpcm-slot-mapping
251                                           array.
252                                           The first value is for 8khz mode, the
253                                           second is for 16khz. Max number of
254                                           slots supported by DSP is 4, anything
255                                           above 4 will be truncated to 4 when
256                                           sent to DSP.
257 
258  - qcom,msm-cpudai-auxpcm-slot-mapping:   Array of slot numbers for multi
259                                           slot scenario. The first array
260                                           is for 8khz mode, the second is
261                                           for 16khz. The size of the array
262                                           is determined by the value in
263                                           qcom,msm-cpudai-auxpcm-num-slots
264 
265  - qcom,msm-cpudai-auxpcm-data:           Data field - 0. The first value is
266                                           for 8khz mode, the second is for
267                                           16khz
268 
269  - qcom,msm-cpudai-auxpcm-pcm-clk-rate:   Clock rate for pcm - 2048000. The
270                                           first value is for 8khz mode, the
271                                           second is for 16KHz mode. When clock
272 					  rate is set to zero, then external
273 					  clock is assumed.
274 
275  - qcom,msm-auxpcm-interface:             name of AUXPCM interface "primary"
276                                           indicates primary AUXPCM interface
277                                           "secondary" indicates secondary
278                                           AUXPCM interface
279 Optional properties:
280 
281 - pinctrl-names:			  Pinctrl state names for each pin
282 					  group configuration.
283 - pinctrl-x: 				  Defines pinctrl state for each pin
284 					  group
285 - qcom,msm-cpudai-afe-clk-ver:            Indicates version of AFE clock
286 					  interface to be used for enabling
287 					  PCM clock. If not defined, selects
288 					  default AFE clock interface.
289 
290 * msm-pcm-hostless
291 
292 Required properties:
293 
294  - compatible : "qcom,msm-pcm-hostless"
295 
296 * msm-audio-apr
297 
298 Required properties:
299 
300  - compatible : "qcom,msm-audio-apr"
301 		This device is added to represent APR module.
302 
303  - qcom,subsys-name: This value provides the subsystem name where codec
304 		is present. It can be "apr_modem" or "apr_adsp". This
305 		property enable apr driver to receive subsystem up/down
306 		notification from modem/adsp.
307 
308 Optional properties:
309 
310  - compatible : "qcom,msm-audio-apr-dummy"
311 		Add this compatible as child device to msm-audio-apr device.
312 		This child device is added after lpass is up to invoke
313		deferred probe devices.
314
315* msm-ocmem-audio
316
317Required properties:
318
319 - compatible :                            "qcom,msm-ocmem-audio"
320
321 - qcom,msm_bus,name:                      Client name
322
323 - qcom,msm_bus,num_cases:                 Total number of use cases
324
325 - qcom,msm_bus,active_only:               Context flag for requests in active
326					   or dual (active & sleep) contex
327
328 - qcom,msm_bus,num_paths:                 Total number of master-slave pairs
329
330 - qcom,msm_bus,vectors:                   Arrays of unsigned integers
331					   representing:
332					       master-id, slave-id, arbitrated
333					       bandwidth,
334					       instantaneous bandwidth
335* wcd9xxx_intc
336
337Required properties:
338
339  - compatible :                            "qcom,wcd9xxx-irq"
340 
341  - interrupt-controller :                  Mark this device node as an
342 					   interrupt controller
343 
344  - #interrupt-cells :                      Should be 1
345 
346  - interrupt-parent :                      Parent interrupt controller
347 
348  - qcom,gpio-connect                       Gpio that connects to parent
349                                            interrupt controller
350 
351 * audio-ext-clk-up
352 
353 Required properties:
354 
355  - compatible :                            "qcom,audio-ref-clk"
356 
357  - qcom,audio-ref-clk-gpio  :               PMIC or APQ gpio that will be
358                                             requested to enable reference
359                                             or external clock.
360 
361 Optional properties:
362 
363  - qcom,node_has_rpm_clock:                 Boolean property used to indicate
364                                             whether ref. clock can be enabled
365                                             with a gpio toggle or Kernel clock
366                                             API call.
367 
368  - clock-names:                             Name of the PMIC clock that needs
369                                             to be enabled for audio ref clock.
370                                             This clock is set as parent.
371 
372  - clocks:                                  phandle reference to the parent
373                                             clock.
374 
375  - qcom,mclk-clk-reg:                       Indicate the register address for mclk.
376 
377  - qcom,lpass-mclk-id:                      Property to update LPASS MCLK Id.
378 
379 * audio_slimslave
380 
381 Required properties:
382 
383  - compatible :                            "qcom,audio-slimslave"
384 
385  - elemental-addr:                         slimbus slave enumeration address.
386 
387 * msm-cpe-lsm
388 
389 Required properties:
390 
391  - compatible : "qcom,msm-cpe-lsm"
392  - qcom,msm-cpe-lsm-id : lsm afe port ID. CPE lsm driver uses
393    this property to find out the input afe port ID. Currently
394    only supported values are 1 and 3.
395 
396 * wcd_us_euro_gpio
397 
398 Required properties:
399 
400  - compatible : "qcom,msm-cdc-pinctrl"
401 
402Optional properties:
403 - qcom,lpi-gpios : This boolean property is added if GPIOs are under
404		    LPI TLMM.
405
406* msm-dai-slim
407
408Required properties:
409
410 - compatible :                            "qcom,msm-dai-slim"
411
412 - elemental-addr:                         slimbus slave enumeration address.
413
414* wcd_gpio_ctrl
415
416Required properties:
417
418 - compatible :                            "qcom,msm-cdc-pinctrl"
419
420 - qcom,cdc-rst-n-gpio :                   TLMM GPIO number
421
422 - pinctrl-names:                          Pinctrl state names for each pin
423                                           group configuration.
424  - pinctrl-x:                              Defines pinctrl state for each pin
425                                            group.
426 * msm_cdc_pinctrl
427 
428 Required properties:
429 
430  - compatible :                            "qcom,msm-cdc-pinctrl"
431 
432  - pinctrl-names:                          Pinctrl state names for each pin
433                                            group configuration.
434  - pinctrl-x:                              Defines pinctrl state for each pin
435                                            group.
436 
437 * wcd_dsp_glink
438 
439 Required properties:
440 
441  - compatible :                            "qcom,wcd-dsp-glink"
442  - qcom,msm-codec-glink-edge:              Name of the glink edge which is used
443                                            for IPC.
444                                            If no name is set, it defaults to "wdsp"
445 
446 * msm_ext_disp_audio_codec_rx
447 
448 Required properties:
449 
450  - compatible :                            "qcom,msm-ext-disp-audio-codec-rx"
451 
452 Example:
453 
454 	qcom,msm-pcm {
455 		compatible = "qcom,msm-pcm-dsp";
456 		qcom,msm-pcm-dsp-id = <0>;
457 	};
458 
459 	qcom,msm-pcm-low-latency {
460 		compatible = "qcom,msm-pcm-dsp";
461 		qcom,msm-pcm-dsp-id = <1>;
462 		qcom,msm-pcm-low-latency;
463 	};
464 
465 	qcom,msm-pcm-loopback-low-latency {
466 		compatible = "qcom,msm-pcm-loopback";
467 		qcom,msm-pcm-loopback-low-latency;
468 	};
469 
470         qcom,msm-pcm-routing {
471                 compatible = "qcom,msm-pcm-routing";
472         };
473 
474         qcom,msm-pcm-lpa {
475                 compatible = "qcom,msm-pcm-lpa";
476         };
477 
478         qcom,msm-compr-dsp {
479                 compatible = "qcom,msm-compr-dsp";
480         };
481 
482        qcom,msm-compress-dsp {
483                compatible = "qcom,msm-compress-dsp";
484        };
485
486        qcom,msm-voip-dsp {
487                compatible = "qcom,msm-voip-dsp";
488        };
489
490	qcom,msm-pcm-voice {
491		compatible = "qcom,msm-pcm-voice";
492		qcom,destroy-cvd;
493	};
494
495        qcom,msm-voice-host-pcm {
496                compatible = "qcom,msm-voice-host-pcm";
497        };
498
499        qcom,msm-stub-codec {
500                compatible = "qcom,msm-stub-codec";
501        };
502
503        qcom,msm-dai-fe {
504                compatible = "qcom,msm-dai-fe";
505        };
506
507 	qcom,msm-pcm-dtmf {
508 		compatible = "qcom,msm-pcm-dtmf";
509 	};
510 
511 	qcom,msm-dai-stub {
512 		compatible = "qcom,msm-dai-stub";
513 	};
514 
515 	qcom,msm-dai-q6-spdif {
516 		compatible = "qcom,msm-dai-q6-spdif";
517 	};
518 
519 	qcom,msm-dai-q6-hdmi {
520 		compatible = "qcom,msm-dai-q6-hdmi";
521 		qcom,msm-dai-q6-dev-id = <8>;
522 	};
523 
524 	dai_dp: qcom,msm-dai-q6-dp {
525 		compatible = "qcom,msm-dai-q6-hdmi";
526 		qcom,msm-dai-q6-dev-id = <24608>;
527 	};
528 
529 	qcom,msm-dai-q6 {
530 		compatible = "qcom,msm-dai-q6";
531 		qcom,msm-dai-q6-sb-0-rx {
532 			compatible = "qcom,msm-dai-q6-dev";
533 			qcom,msm-dai-q6-dev-id = <16384>;
534 		};
535 
536 		qcom,msm-dai-q6-sb-0-tx {
537 			compatible = "qcom,msm-dai-q6-dev";
538 			qcom,msm-dai-q6-dev-id = <16385>;
539 		};
540
541		qcom,msm-dai-q6-sb-1-rx {
542			compatible = "qcom,msm-dai-q6-dev";
543			qcom,msm-dai-q6-dev-id = <16386>;
544		};
545
546		qcom,msm-dai-q6-sb-1-tx {
547			compatible = "qcom,msm-dai-q6-dev";
548			qcom,msm-dai-q6-dev-id = <16387>;
549		};
550
551		qcom,msm-dai-q6-sb-3-rx {
552			compatible = "qcom,msm-dai-q6-dev";
553			qcom,msm-dai-q6-dev-id = <16390>;
554		};
555
556 		qcom,msm-dai-q6-sb-3-tx {
557 			compatible = "qcom,msm-dai-q6-dev";
558 			qcom,msm-dai-q6-dev-id = <16391>;
559 		};
560 
561 		qcom,msm-dai-q6-sb-4-rx {
562 			compatible = "qcom,msm-dai-q6-dev";
563 			qcom,msm-dai-q6-dev-id = <16392>;
564 		};
565 
566 		qcom,msm-dai-q6-sb-4-tx {
567 			compatible = "qcom,msm-dai-q6-dev";
568 			qcom,msm-dai-q6-dev-id = <16393>;
569 		};
570 
571 		qcom,msm-dai-q6-sb-5-tx {
572 			compatible = "qcom,msm-dai-q6-dev";
573 			qcom,msm-dai-q6-dev-id = <16395>;
574 		};
575 
576 		qcom,msm-dai-q6-sb-6-rx {
577 			compatible = "qcom,msm-dai-q6-dev";
578 			qcom,msm-dai-q6-dev-id = <16396>;
579 		};
580 
581 		qcom,msm-dai-q6-sb-6-tx {
582 			compatible = "qcom,msm-dai-q6-dev";
583 			qcom,msm-dai-q6-dev-id = <16397>;
584 		};
585 
586 		qcom,msm-dai-q6-bt-sco-rx {
587 			compatible = "qcom,msm-dai-q6-dev";
588 			qcom,msm-dai-q6-dev-id = <12288>;
589		};
590
591		qcom,msm-dai-q6-bt-sco-tx {
592			compatible = "qcom,msm-dai-q6-dev";
593			qcom,msm-dai-q6-dev-id = <12289>;
594		};
595
596		qcom,msm-dai-q6-int-fm-rx {
597 			compatible = "qcom,msm-dai-q6-dev";
598 			qcom,msm-dai-q6-dev-id = <12292>;
599 		};
600 
601 		qcom,msm-dai-q6-int-fm-tx {
602 			compatible = "qcom,msm-dai-q6-dev";
603 			qcom,msm-dai-q6-dev-id = <12293>;
604 		};
605 
606 		qcom,msm-dai-q6-be-afe-pcm-rx {
607 			compatible = "qcom,msm-dai-q6-dev";
608 			qcom,msm-dai-q6-dev-id = <224>;
609 		};
610 
611 		qcom,msm-dai-q6-be-afe-pcm-tx {
612 			compatible = "qcom,msm-dai-q6-dev";
613 			qcom,msm-dai-q6-dev-id = <225>;
614 		};
615 
616 		qcom,msm-dai-q6-afe-proxy-rx {
617 			compatible = "qcom,msm-dai-q6-dev";
618 			qcom,msm-dai-q6-dev-id = <241>;
619 		};
620 
621 		qcom,msm-dai-q6-afe-proxy-tx {
622 			compatible = "qcom,msm-dai-q6-dev";
623 			qcom,msm-dai-q6-dev-id = <240>;
624 		};
625 
626 		qcom,msm-dai-q6-incall-record-rx {
627 			compatible = "qcom,msm-dai-q6-dev";
628 			qcom,msm-dai-q6-dev-id = <32771>;
629 		};
630
631		qcom,msm-dai-q6-incall-record-tx {
632			compatible = "qcom,msm-dai-q6-dev";
633			qcom,msm-dai-q6-dev-id = <32772>;
634		};
635
636		qcom,msm-dai-q6-incall-music-rx {
637			compatible = "qcom,msm-dai-q6-dev";
638			qcom,msm-dai-q6-dev-id = <32773>;
639		};
640
641		qcom,msm-dai-q6-incall-music-2-rx {
642			compatible = "qcom,msm-dai-q6-dev";
643			qcom,msm-dai-q6-dev-id = <32770>;
644		};
645
646		qcom,msm-dai-q6-incall-music-dl-rx {
647			compatible = "qcom,msm-dai-q6-dev";
648			qcom,msm-dai-q6-dev-id = <32774>;
649		};
650	};
651
652	qcom,msm-pri-auxpcm {
653 		qcom,msm-cpudai-auxpcm-mode = <1>, <1>;
654 		qcom,msm-cpudai-auxpcm-sync = <1>, <1>;
655 		qcom,msm-cpudai-auxpcm-frame = <5>, <4>;
656 		qcom,msm-cpudai-auxpcm-quant = <2>, <2>;
657 		qcom,msm-cpudai-auxpcm-num-slots = <4>, <4>;
658 		qcom,msm-cpudai-auxpcm-slot-mapping = <1 0 0 0>, <1 3 0 0>;
659 		qcom,msm-cpudai-auxpcm-data = <0>, <0>;
660 		qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>, <2048000>;
661 		qcom,msm-auxpcm-interface = "primary";
662 		compatible = "qcom,msm-auxpcm-dev";
663 		pinctrl-names = "default", "idle";
664 		pinctrl-0 = <&pri_aux_pcm_active &pri_aux_pcm_din_active>;
665 		pinctrl-1 = <&pri_aux_pcm_sleep &pri_aux_pcm_din_sleep>;
666 	};
667 
668         qcom,msm-pcm-hostless {
669                 compatible = "qcom,msm-pcm-hostless";
670         };
671 
672 	qcom,msm-audio-apr {
673 		compatible = "qcom,msm-audio-apr";
674 		msm_audio_apr_dummy {
675 			compatible = "qcom,msm-audio-apr-dummy";
676 		};
677 
678 		qcom,subsys-name = "apr_adsp";
679 	};
680 
681 	qcom,msm-ocmem-audio {
682 		compatible = "qcom,msm-ocmem-audio";
683 		qcom,msm_bus,name = "audio-ocmem";
684 		qcom,msm_bus,num_cases = <2>;
685 		qcom,msm_bus,active_only = <0>;
686 		qcom,msm_bus,num_paths = <1>;
687 		qcom,msm_bus,vectors =
688 			<11 604 0 0>,
689 			<11 604 32505856 325058560>;
690 	};
691 
692 	wcd9xxx_intc: wcd9xxx-irq {
693 		compatible = "qcom,wcd9xxx-irq";
694 		interrupt-controller;
695		#interrupt-cells = <1>;
696		interrupt-parent = <&msmgpio>;
697		interrupts = <72 0>;
698		interrupt-names = "cdc-int";
699	};
700
701	clock_audio: audio_ext_clk {
702		compatible = "qcom,audio-ref-clk";
703		qcom,audio-ref-clk-gpios = <&pm8994_gpios 15 0>;
704		clock-names = "osr_clk";
705		clocks = <&clock_rpm clk_div_clk1>;
706		qcom,node_has_rpm_clock;
707		#clock-cells = <1>;
708		pinctrl-names = "sleep", "active";
709		pinctrl-0 = <&spkr_i2s_clk_sleep>;
710		pinctrl-1 = <&spkr_i2s_clk_active>;
711	};
712
713	audio_slimslave {
714		compatible = "qcom,audio-slimslave";
715		elemental-addr = [ff ff ff ff 17 02];
716	};
717
718	msm_dai_slim {
719		compatible = "qcom,msm_dai_slim";
720		elemental-addr = [ff ff ff fe 17 02];
721	};
722
723	wcd_gpio_ctrl {
724		compatible = "qcom,msm-cdc-pinctrl";
725		qcom,cdc-rst-n-gpio = <&tlmm 64 0>;
726		pinctrl-names = "aud_active", "aud_sleep";
727		pinctrl-0 = <&cdc_reset_active>;
728		pinctrl-1 = <&cdc_reset_sleep>;
729	};
730
731	msm_cdc_pinctrl {
732		compatible = "qcom,msm-cdc-pinctrl";
733		pinctrl-names = "aud_active", "aud_sleep";
734		pinctrl-0 = <&cdc_reset_active>;
735		pinctrl-1 = <&cdc_reset_sleep>;
736	};
737
738	wcd_dsp_glink {
739		compatible = "qcom,wcd-dsp-glink";
740		qcom,msm-codec-glink-edge = "bg";
741	};
742
743	msm_ext_disp_audio_codec_rx {
744		compatible = "qcom,msm-ext-disp-audio-codec-rx";
745	};
746
747
748* MSM8916 ASoC Machine driver
749
750Required properties:
751- compatible : "qcom,msm8x16-audio-codec"
752- qcom,model : The user-visible name of this sound card.
753- qcom,msm-snd-card-id : This id is used to recognize the sound card number
754 - qcom,msm-codec-type : This property is used to recognize the codec type
755   internal or external.
756 - qcom,msm-hs-micbias-type : This property is used to recognize the headset
757   micbias type, internal or external.
758 - qcom,msm-ext-pa : This property is used to inform machine driver about
759   the connection of external PA over available MI2S interfaces,
760   following values can be given to this property.
761   primary -> Primary MI2S interface
762   secondary -> Secondary MI2S interface
763   tertiary -> Tertiary MI2S interface
764   quaternary -> Quaternary MI2S interface
765 - qcom,msm-mclk-freq : This property is used to inform machine driver about
766 mclk frequency needs to be configured for internal and external PA.
767 - qcom,msm-mbhc-hphl-swh: This property is used to distinguish headset HPHL
768 switch type on target typically the switch type will be normally open or
769 normally close, value for this property 0 for normally close and 1 for
770 normally open.
771 -  qcom,msm-mbhc-gnd-swh: This property is used to distinguish headset GND
772 switch type on target typically the switch type will be normally open or
773 normally close, value for this property 0 for normally close and 1 for
774 normally open.
775 - qcom,audio-routing : A list of the connections between audio components.
776 - pinctrl-names : Pincntrl entries to configure the PDM gpio lines and
777 		  cross connection switch gpio accordingly
778 - pinctrl-0 : This explains the active state of the PDM gpio lines
779 - pinctrl-1 : This explains the suspend state of the PDM gpio lines
780 - pinctrl-2 : This explains the active state of the cross connection
781 	      gpio lines
782 - pinctrl-3 : This explains the suspend state of the cross connection
783               gpio lines
784 - qcom,tapan-mclk-clk-freq : Tapan mclk Freq in Hz.
785 - qcom,prim-auxpcm-gpio-clk  : GPIO on which Primary AUXPCM clk signal is coming.
786 - qcom,prim-auxpcm-gpio-sync : GPIO on which Primary AUXPCM SYNC signal is coming.
787- qcom,prim-auxpcm-gpio-din  : GPIO on which Primary AUXPCM DIN signal is coming.
788- qcom,prim-auxpcm-gpio-dout : GPIO on which Primary AUXPCM DOUT signal is coming.
789- qcom,prim-auxpcm-gpio-set : set of GPIO lines used for Primary AUXPCM port
790- qcom,tapan-codec-9302: Indicates that this device node is for WCD9302 audio
791			    codec.
792- asoc-platform: This is phandle list containing the references to platform device
793		 nodes that are used as part of the sound card dai-links.
794- asoc-platform-names: This property contains list of platform names. The order of
795		       the platform names should match to that of the phandle order
796		       given in "asoc-platform".
797 - asoc-cpu: This is phandle list containing the references to cpu dai device nodes
798 	    that are used as part of the sound card dai-links.
799 - asoc-cpu-names: This property contains list of cpu dai names. The order of the
800 		  cpu dai names should match to that of the phandle order given
801 		  in "asoc-cpu". The cpu names are in the form of "%s.%d" form,
  • 2
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值