Joonwoo Park | 6572ac5 | 2012-07-10 17:17:00 -0700 | [diff] [blame] | 1 | Qualcomm audio devices for ALSA sound SoC |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 2 | |
| 3 | * msm-pcm |
| 4 | |
| 5 | Required properties: |
| 6 | |
| 7 | - compatible : "qcom,msm-pcm-dsp" |
| 8 | |
| 9 | * msm-pcm-routing |
| 10 | |
| 11 | Required properties: |
| 12 | |
| 13 | - compatible : "qcom,msm-pcm-routing" |
| 14 | |
| 15 | * msm-pcm-lpa |
| 16 | |
| 17 | Required properties: |
| 18 | |
| 19 | - compatible : "qcom,msm-pcm-lpa" |
| 20 | |
Harmandeep Singh | a3453a7 | 2012-07-03 12:31:09 -0700 | [diff] [blame] | 21 | * msm-compr-dsp |
| 22 | |
| 23 | Required properties: |
| 24 | |
| 25 | - compatible : "qcom,msm-compr-dsp" |
| 26 | |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 27 | * msm-voip-dsp |
| 28 | |
| 29 | Required properties: |
| 30 | |
| 31 | - compatible : "qcom,msm-voip-dsp" |
| 32 | |
Phani Kumar Uppalapati | 0878e9d | 2012-08-24 14:52:00 -0700 | [diff] [blame^] | 33 | * msm-pcm-voice |
| 34 | |
| 35 | Required properties: |
| 36 | |
| 37 | - compatible : "qcom,msm-pcm-voice" |
| 38 | |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 39 | * msm-stub-codec |
| 40 | |
| 41 | Required properties: |
| 42 | |
| 43 | - compatible : "qcom,msm-stub-codec" |
| 44 | |
| 45 | * msm-dai-fe |
| 46 | |
| 47 | Required properties: |
| 48 | |
| 49 | - compatible : "qcom,msm-dai-fe" |
| 50 | |
Joonwoo Park | 6572ac5 | 2012-07-10 17:17:00 -0700 | [diff] [blame] | 51 | * msm-dai-q6 |
| 52 | |
| 53 | [First Level Nodes] |
| 54 | |
| 55 | Required properties: |
| 56 | |
| 57 | - compatible : "msm-dai-q6" |
| 58 | |
| 59 | [Second Level Nodes] |
| 60 | |
| 61 | Required properties: |
| 62 | |
| 63 | - compatible : "qcom,msm-dai-q6-dev" |
| 64 | - qcom,msm-dai-q6-dev-id : The slimbus multi channel port ID |
| 65 | Value is from 16384 to 16393 |
| 66 | |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 67 | * msm-auxpcm |
| 68 | |
| 69 | [First Level Nodes] |
| 70 | |
| 71 | Required properties: |
| 72 | |
| 73 | - compatible : "qcom,msm-auxpcm-resource" |
| 74 | |
| 75 | - qcom,msm-cpudai-auxpcm-clk: clock for auxpcm |
| 76 | |
| 77 | - qcom,msm-cpudai-auxpcm-mode: mode information |
| 78 | 0 - for PCM |
| 79 | |
| 80 | - qcom,msm-cpudai-auxpcm-sync: sync information |
| 81 | |
| 82 | - qcom,msm-cpudai-auxpcm-frame: No.of bytes per frame |
| 83 | 5 - 256BPF |
| 84 | |
| 85 | - qcom,msm-cpudai-auxpcm-quant: Type of quantization |
| 86 | 2 - Linear quantization |
| 87 | |
| 88 | - qcom,msm-cpudai-auxpcm-slot: Slot number for multichannel scenario |
| 89 | Value is 1 |
| 90 | |
| 91 | - qcom,msm-cpudai-auxpcm-data: Data field - 0 |
| 92 | |
| 93 | - qcom,msm-cpudai-auxpcm-pcm-clk-rate: Clock rate for pcm - 2048000 |
| 94 | |
| 95 | [Second Level Nodes] |
| 96 | |
| 97 | Required Properties: |
| 98 | |
| 99 | - qcom,msm-auxpcm-dev-id: This property specifies the device |
| 100 | port id. |
| 101 | For Rx device, the port id is 4106 |
| 102 | and for Tx device, the port id is 4107 |
| 103 | |
| 104 | - compatible: "qcom,msm-auxpcm-dev" |
| 105 | |
| 106 | * msm-pcm-hostless |
| 107 | |
| 108 | Required properties: |
| 109 | |
| 110 | - compatible : "qcom,msm-pcm-hostless" |
| 111 | |
Phani Kumar Uppalapati | 8b3a1bb | 2012-06-26 19:56:58 -0700 | [diff] [blame] | 112 | * msm-ocmem-audio |
| 113 | |
| 114 | Required properties: |
| 115 | |
| 116 | - compatible : "qcom,msm-ocmem-audio" |
| 117 | |
| 118 | - qcom,msm-ocmem-audio-src-id: Master port id |
| 119 | |
| 120 | - qcom,msm-ocmem-audio-dst-id: Slave port id |
| 121 | |
| 122 | - qcom,msm-ocmem-audio-ab: arbitrated bandwidth |
| 123 | in Bytes/s |
| 124 | |
| 125 | - qcom,msm-ocmem-audio-ib: instantaneous bandwidth |
| 126 | in Bytes/s |
| 127 | |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 128 | Example: |
| 129 | |
| 130 | qcom,msm-pcm { |
| 131 | compatible = "qcom,msm-pcm-dsp"; |
| 132 | }; |
| 133 | |
| 134 | qcom,msm-pcm-routing { |
| 135 | compatible = "qcom,msm-pcm-routing"; |
| 136 | }; |
| 137 | |
| 138 | qcom,msm-pcm-lpa { |
| 139 | compatible = "qcom,msm-pcm-lpa"; |
| 140 | }; |
| 141 | |
Harmandeep Singh | a3453a7 | 2012-07-03 12:31:09 -0700 | [diff] [blame] | 142 | qcom,msm-compr-dsp { |
| 143 | compatible = "qcom,msm-compr-dsp"; |
| 144 | }; |
| 145 | |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 146 | qcom,msm-voip-dsp { |
| 147 | compatible = "qcom,msm-voip-dsp"; |
| 148 | }; |
| 149 | |
| 150 | qcom,msm-stub-codec { |
| 151 | compatible = "qcom,msm-stub-codec"; |
| 152 | }; |
| 153 | |
| 154 | qcom,msm-dai-fe { |
| 155 | compatible = "qcom,msm-dai-fe"; |
| 156 | }; |
| 157 | |
Joonwoo Park | 6572ac5 | 2012-07-10 17:17:00 -0700 | [diff] [blame] | 158 | qcom,msm-dai-q6 { |
| 159 | compatible = "qcom,msm-dai-q6"; |
| 160 | qcom,msm-dai-q6-sb-0-rx { |
| 161 | compatible = "qcom,msm-dai-q6-dev"; |
| 162 | qcom,msm-dai-q6-dev-id = <16384>; |
| 163 | }; |
| 164 | |
| 165 | qcom,msm-dai-q6-sb-0-tx { |
| 166 | compatible = "qcom,msm-dai-q6-dev"; |
| 167 | qcom,msm-dai-q6-dev-id = <16385>; |
| 168 | }; |
| 169 | }; |
| 170 | |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 171 | qcom,msm-auxpcm { |
| 172 | compatible = "qcom,msm-auxpcm-resource"; |
| 173 | qcom,msm-cpudai-auxpcm-clk = "pcm_clk"; |
| 174 | qcom,msm-cpudai-auxpcm-mode = <0>; |
| 175 | qcom,msm-cpudai-auxpcm-sync = <1>; |
| 176 | qcom,msm-cpudai-auxpcm-frame = <5>; |
| 177 | qcom,msm-cpudai-auxpcm-quant = <2>; |
| 178 | qcom,msm-cpudai-auxpcm-slot = <1>; |
| 179 | qcom,msm-cpudai-auxpcm-data = <0>; |
| 180 | qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>; |
| 181 | |
| 182 | qcom,msm-auxpcm-rx { |
Harmandeep Singh | a3453a7 | 2012-07-03 12:31:09 -0700 | [diff] [blame] | 183 | qcom,msm-auxpcm-dev-id = <4106>; |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 184 | compatible = "qcom,msm-auxpcm-dev"; |
| 185 | }; |
| 186 | |
| 187 | qcom,msm-auxpcm-tx { |
Harmandeep Singh | a3453a7 | 2012-07-03 12:31:09 -0700 | [diff] [blame] | 188 | qcom,msm-auxpcm-dev-id = <4107>; |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 189 | compatible = "qcom,msm-auxpcm-dev"; |
| 190 | }; |
| 191 | }; |
| 192 | |
| 193 | qcom,msm-pcm-hostless { |
| 194 | compatible = "qcom,msm-pcm-hostless"; |
| 195 | }; |
| 196 | |
Phani Kumar Uppalapati | 8b3a1bb | 2012-06-26 19:56:58 -0700 | [diff] [blame] | 197 | qcom,msm-ocmem-audio { |
| 198 | compatible = "qcom,msm-ocmem-audio"; |
| 199 | qcom,msm-ocmem-audio-src-id = <11>; |
| 200 | qcom,msm-ocmem-audio-dst-id = <604>; |
| 201 | qcom,msm-ocmem-audio-ab = <209715200>; |
| 202 | qcom,msm-ocmem-audio-ib = <471859200>; |
| 203 | }; |
| 204 | |