Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 1 | Qualcomm audio devices for ALSA sound soc |
| 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 | |
| 45 | * msm-auxpcm |
| 46 | |
| 47 | [First Level Nodes] |
| 48 | |
| 49 | Required 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 | |
| 75 | Required 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 | |
| 86 | Required properties: |
| 87 | |
| 88 | - compatible : "qcom,msm-pcm-hostless" |
| 89 | |
| 90 | Example: |
| 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 Singh | a3453a7 | 2012-07-03 12:31:09 -0700 | [diff] [blame^] | 104 | qcom,msm-compr-dsp { |
| 105 | compatible = "qcom,msm-compr-dsp"; |
| 106 | }; |
| 107 | |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 108 | 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 Singh | a3453a7 | 2012-07-03 12:31:09 -0700 | [diff] [blame^] | 132 | qcom,msm-auxpcm-dev-id = <4106>; |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 133 | compatible = "qcom,msm-auxpcm-dev"; |
| 134 | }; |
| 135 | |
| 136 | qcom,msm-auxpcm-tx { |
Harmandeep Singh | a3453a7 | 2012-07-03 12:31:09 -0700 | [diff] [blame^] | 137 | qcom,msm-auxpcm-dev-id = <4107>; |
Phani Kumar Uppalapati | 87841c8 | 2012-06-14 21:28:43 -0700 | [diff] [blame] | 138 | compatible = "qcom,msm-auxpcm-dev"; |
| 139 | }; |
| 140 | }; |
| 141 | |
| 142 | qcom,msm-pcm-hostless { |
| 143 | compatible = "qcom,msm-pcm-hostless"; |
| 144 | }; |
| 145 | |