blob: 16a5c778cf040cde19ac4ae872857382d2bd5f66 [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
Harmandeep Singha3453a72012-07-03 12:31:09 -070021* msm-compr-dsp
22
23Required properties:
24
25 - compatible : "qcom,msm-compr-dsp"
26
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -070027* msm-voip-dsp
28
29Required properties:
30
31 - compatible : "qcom,msm-voip-dsp"
32
33* msm-stub-codec
34
35Required properties:
36
37 - compatible : "qcom,msm-stub-codec"
38
39* msm-dai-fe
40
41Required properties:
42
43 - compatible : "qcom,msm-dai-fe"
44
45* msm-auxpcm
46
47[First Level Nodes]
48
49Required properties:
50
51 - compatible : "qcom,msm-auxpcm-resource"
52
53 - qcom,msm-cpudai-auxpcm-clk: clock for auxpcm
54
55 - qcom,msm-cpudai-auxpcm-mode: mode information
56 0 - for PCM
57
58 - qcom,msm-cpudai-auxpcm-sync: sync information
59
60 - qcom,msm-cpudai-auxpcm-frame: No.of bytes per frame
61 5 - 256BPF
62
63 - qcom,msm-cpudai-auxpcm-quant: Type of quantization
64 2 - Linear quantization
65
66 - qcom,msm-cpudai-auxpcm-slot: Slot number for multichannel scenario
67 Value is 1
68
69 - qcom,msm-cpudai-auxpcm-data: Data field - 0
70
71 - qcom,msm-cpudai-auxpcm-pcm-clk-rate: Clock rate for pcm - 2048000
72
73[Second Level Nodes]
74
75Required Properties:
76
77 - qcom,msm-auxpcm-dev-id: This property specifies the device
78 port id.
79 For Rx device, the port id is 4106
80 and for Tx device, the port id is 4107
81
82 - compatible: "qcom,msm-auxpcm-dev"
83
84* msm-pcm-hostless
85
86Required properties:
87
88 - compatible : "qcom,msm-pcm-hostless"
89
90Example:
91
92 qcom,msm-pcm {
93 compatible = "qcom,msm-pcm-dsp";
94 };
95
96 qcom,msm-pcm-routing {
97 compatible = "qcom,msm-pcm-routing";
98 };
99
100 qcom,msm-pcm-lpa {
101 compatible = "qcom,msm-pcm-lpa";
102 };
103
Harmandeep Singha3453a72012-07-03 12:31:09 -0700104 qcom,msm-compr-dsp {
105 compatible = "qcom,msm-compr-dsp";
106 };
107
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700108 qcom,msm-voip-dsp {
109 compatible = "qcom,msm-voip-dsp";
110 };
111
112 qcom,msm-stub-codec {
113 compatible = "qcom,msm-stub-codec";
114 };
115
116 qcom,msm-dai-fe {
117 compatible = "qcom,msm-dai-fe";
118 };
119
120 qcom,msm-auxpcm {
121 compatible = "qcom,msm-auxpcm-resource";
122 qcom,msm-cpudai-auxpcm-clk = "pcm_clk";
123 qcom,msm-cpudai-auxpcm-mode = <0>;
124 qcom,msm-cpudai-auxpcm-sync = <1>;
125 qcom,msm-cpudai-auxpcm-frame = <5>;
126 qcom,msm-cpudai-auxpcm-quant = <2>;
127 qcom,msm-cpudai-auxpcm-slot = <1>;
128 qcom,msm-cpudai-auxpcm-data = <0>;
129 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>;
130
131 qcom,msm-auxpcm-rx {
Harmandeep Singha3453a72012-07-03 12:31:09 -0700132 qcom,msm-auxpcm-dev-id = <4106>;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700133 compatible = "qcom,msm-auxpcm-dev";
134 };
135
136 qcom,msm-auxpcm-tx {
Harmandeep Singha3453a72012-07-03 12:31:09 -0700137 qcom,msm-auxpcm-dev-id = <4107>;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700138 compatible = "qcom,msm-auxpcm-dev";
139 };
140 };
141
142 qcom,msm-pcm-hostless {
143 compatible = "qcom,msm-pcm-hostless";
144 };
145