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