blob: b6086e73e6992e298959a0b093fba5ed900c1d44 [file] [log] [blame]
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -07001Qualcomm audio devices for ALSA sound soc
2
3* msm-pcm
4
5Required properties:
6
7 - compatible : "qcom,msm-pcm-dsp"
8
9* msm-pcm-routing
10
11Required properties:
12
13 - compatible : "qcom,msm-pcm-routing"
14
15* msm-pcm-lpa
16
17Required properties:
18
19 - compatible : "qcom,msm-pcm-lpa"
20
21* msm-voip-dsp
22
23Required properties:
24
25 - compatible : "qcom,msm-voip-dsp"
26
27* msm-stub-codec
28
29Required properties:
30
31 - compatible : "qcom,msm-stub-codec"
32
33* msm-dai-fe
34
35Required properties:
36
37 - compatible : "qcom,msm-dai-fe"
38
39* msm-auxpcm
40
41[First Level Nodes]
42
43Required properties:
44
45 - compatible : "qcom,msm-auxpcm-resource"
46
47 - qcom,msm-cpudai-auxpcm-clk: clock for auxpcm
48
49 - qcom,msm-cpudai-auxpcm-mode: mode information
50 0 - for PCM
51
52 - qcom,msm-cpudai-auxpcm-sync: sync information
53
54 - qcom,msm-cpudai-auxpcm-frame: No.of bytes per frame
55 5 - 256BPF
56
57 - qcom,msm-cpudai-auxpcm-quant: Type of quantization
58 2 - Linear quantization
59
60 - qcom,msm-cpudai-auxpcm-slot: Slot number for multichannel scenario
61 Value is 1
62
63 - qcom,msm-cpudai-auxpcm-data: Data field - 0
64
65 - qcom,msm-cpudai-auxpcm-pcm-clk-rate: Clock rate for pcm - 2048000
66
67[Second Level Nodes]
68
69Required Properties:
70
71 - qcom,msm-auxpcm-dev-id: This property specifies the device
72 port id.
73 For Rx device, the port id is 4106
74 and for Tx device, the port id is 4107
75
76 - compatible: "qcom,msm-auxpcm-dev"
77
78* msm-pcm-hostless
79
80Required properties:
81
82 - compatible : "qcom,msm-pcm-hostless"
83
84Example:
85
86 qcom,msm-pcm {
87 compatible = "qcom,msm-pcm-dsp";
88 };
89
90 qcom,msm-pcm-routing {
91 compatible = "qcom,msm-pcm-routing";
92 };
93
94 qcom,msm-pcm-lpa {
95 compatible = "qcom,msm-pcm-lpa";
96 };
97
98 qcom,msm-voip-dsp {
99 compatible = "qcom,msm-voip-dsp";
100 };
101
102 qcom,msm-stub-codec {
103 compatible = "qcom,msm-stub-codec";
104 };
105
106 qcom,msm-dai-fe {
107 compatible = "qcom,msm-dai-fe";
108 };
109
110 qcom,msm-auxpcm {
111 compatible = "qcom,msm-auxpcm-resource";
112 qcom,msm-cpudai-auxpcm-clk = "pcm_clk";
113 qcom,msm-cpudai-auxpcm-mode = <0>;
114 qcom,msm-cpudai-auxpcm-sync = <1>;
115 qcom,msm-cpudai-auxpcm-frame = <5>;
116 qcom,msm-cpudai-auxpcm-quant = <2>;
117 qcom,msm-cpudai-auxpcm-slot = <1>;
118 qcom,msm-cpudai-auxpcm-data = <0>;
119 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>;
120
121 qcom,msm-auxpcm-rx {
122 qcom,msm-auxpcm-dev-id = <4106>;
123 compatible = "qcom,msm-auxpcm-dev";
124 };
125
126 qcom,msm-auxpcm-tx {
127 qcom,msm-auxpcm-dev-id = <4107>;
128 compatible = "qcom,msm-auxpcm-dev";
129 };
130 };
131
132 qcom,msm-pcm-hostless {
133 compatible = "qcom,msm-pcm-hostless";
134 };
135