summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2021-02-12 12:15:05 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2021-02-17 16:12:51 -0300
commit1ad12539e591b4aee0bb7b254110f99aacbe938d (patch)
treed17ddf910f4b6bbfde2ba7c44605bcb773c5daa9 /recipes-bsp
parentab82bf33d4f95dacfdfbc56a5b34c6fa51d67e9c (diff)
downloadmeta-freescale-1ad12539e591b4aee0bb7b254110f99aacbe938d.tar.gz
alsa-state: Add support for SOF with wm8960 codec
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-bsp')
-rwxr-xr-xrecipes-bsp/alsa-state/alsa-state/imx/asound.state689
1 files changed, 689 insertions, 0 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.state b/recipes-bsp/alsa-state/alsa-state/imx/asound.state
index c0dfc0e8..d158d188 100755
--- a/recipes-bsp/alsa-state/alsa-state/imx/asound.state
+++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.state
@@ -9157,3 +9157,692 @@ state.wm8960audio3 {
9157 } 9157 }
9158 } 9158 }
9159} 9159}
9160state.wm8960audio4 {
9161 control.1 {
9162 iface MIXER
9163 name 'Capture Volume'
9164 value.0 35
9165 value.1 35
9166 comment {
9167 access 'read write'
9168 type INTEGER
9169 count 2
9170 range '0 - 63'
9171 dbmin -1725
9172 dbmax 3000
9173 dbvalue.0 900
9174 dbvalue.1 900
9175 }
9176 }
9177 control.2 {
9178 iface MIXER
9179 name 'Capture Volume ZC Switch'
9180 value.0 0
9181 value.1 0
9182 comment {
9183 access 'read write'
9184 type INTEGER
9185 count 2
9186 range '0 - 1'
9187 }
9188 }
9189 control.3 {
9190 iface MIXER
9191 name 'Capture Switch'
9192 value.0 true
9193 value.1 true
9194 comment {
9195 access 'read write'
9196 type BOOLEAN
9197 count 2
9198 }
9199 }
9200 control.4 {
9201 iface MIXER
9202 name 'Right Input Boost Mixer RINPUT3 Volume'
9203 value 0
9204 comment {
9205 access 'read write'
9206 type INTEGER
9207 count 1
9208 range '0 - 7'
9209 dbmin -9999999
9210 dbmax 600
9211 dbvalue.0 -9999999
9212 }
9213 }
9214 control.5 {
9215 iface MIXER
9216 name 'Right Input Boost Mixer RINPUT2 Volume'
9217 value 0
9218 comment {
9219 access 'read write'
9220 type INTEGER
9221 count 1
9222 range '0 - 7'
9223 dbmin -9999999
9224 dbmax 600
9225 dbvalue.0 -9999999
9226 }
9227 }
9228 control.6 {
9229 iface MIXER
9230 name 'Left Input Boost Mixer LINPUT3 Volume'
9231 value 0
9232 comment {
9233 access 'read write'
9234 type INTEGER
9235 count 1
9236 range '0 - 7'
9237 dbmin -9999999
9238 dbmax 600
9239 dbvalue.0 -9999999
9240 }
9241 }
9242 control.7 {
9243 iface MIXER
9244 name 'Left Input Boost Mixer LINPUT2 Volume'
9245 value 0
9246 comment {
9247 access 'read write'
9248 type INTEGER
9249 count 1
9250 range '0 - 7'
9251 dbmin -9999999
9252 dbmax 600
9253 dbvalue.0 -9999999
9254 }
9255 }
9256 control.8 {
9257 iface MIXER
9258 name 'Right Input Boost Mixer RINPUT1 Volume'
9259 value 0
9260 comment {
9261 access 'read write'
9262 type INTEGER
9263 count 1
9264 range '0 - 3'
9265 dbmin 0
9266 dbmax 2900
9267 dbvalue.0 0
9268 }
9269 }
9270 control.9 {
9271 iface MIXER
9272 name 'Left Input Boost Mixer LINPUT1 Volume'
9273 value 0
9274 comment {
9275 access 'read write'
9276 type INTEGER
9277 count 1
9278 range '0 - 3'
9279 dbmin 0
9280 dbmax 2900
9281 dbvalue.0 0
9282 }
9283 }
9284 control.10 {
9285 iface MIXER
9286 name 'Playback Volume'
9287 value.0 235
9288 value.1 235
9289 comment {
9290 access 'read write'
9291 type INTEGER
9292 count 2
9293 range '0 - 255'
9294 dbmin -9999999
9295 dbmax 0
9296 dbvalue.0 -1000
9297 dbvalue.1 -1000
9298 }
9299 }
9300 control.11 {
9301 iface MIXER
9302 name 'Headphone Playback Volume'
9303 value.0 101
9304 value.1 101
9305 comment {
9306 access 'read write'
9307 type INTEGER
9308 count 2
9309 range '0 - 127'
9310 dbmin -9999999
9311 dbmax 600
9312 dbvalue.0 -2000
9313 dbvalue.1 -2000
9314 }
9315 }
9316 control.12 {
9317 iface MIXER
9318 name 'Headphone Playback ZC Switch'
9319 value.0 false
9320 value.1 false
9321 comment {
9322 access 'read write'
9323 type BOOLEAN
9324 count 2
9325 }
9326 }
9327 control.13 {
9328 iface MIXER
9329 name 'Speaker Playback Volume'
9330 value.0 110
9331 value.1 110
9332 comment {
9333 access 'read write'
9334 type INTEGER
9335 count 2
9336 range '0 - 127'
9337 dbmin -9999999
9338 dbmax 600
9339 dbvalue.0 -1100
9340 dbvalue.1 -1100
9341 }
9342 }
9343 control.14 {
9344 iface MIXER
9345 name 'Speaker Playback ZC Switch'
9346 value.0 false
9347 value.1 false
9348 comment {
9349 access 'read write'
9350 type BOOLEAN
9351 count 2
9352 }
9353 }
9354 control.15 {
9355 iface MIXER
9356 name 'Speaker DC Volume'
9357 value 0
9358 comment {
9359 access 'read write'
9360 type INTEGER
9361 count 1
9362 range '0 - 5'
9363 }
9364 }
9365 control.16 {
9366 iface MIXER
9367 name 'Speaker AC Volume'
9368 value 0
9369 comment {
9370 access 'read write'
9371 type INTEGER
9372 count 1
9373 range '0 - 5'
9374 }
9375 }
9376 control.17 {
9377 iface MIXER
9378 name 'PCM Playback -6dB Switch'
9379 value false
9380 comment {
9381 access 'read write'
9382 type BOOLEAN
9383 count 1
9384 }
9385 }
9386 control.18 {
9387 iface MIXER
9388 name 'ADC Polarity'
9389 value 'No Inversion'
9390 comment {
9391 access 'read write'
9392 type ENUMERATED
9393 count 1
9394 item.0 'No Inversion'
9395 item.1 'Left Inverted'
9396 item.2 'Right Inverted'
9397 item.3 'Stereo Inversion'
9398 }
9399 }
9400 control.19 {
9401 iface MIXER
9402 name 'ADC High Pass Filter Switch'
9403 value false
9404 comment {
9405 access 'read write'
9406 type BOOLEAN
9407 count 1
9408 }
9409 }
9410 control.20 {
9411 iface MIXER
9412 name 'DAC Polarity'
9413 value 'No Inversion'
9414 comment {
9415 access 'read write'
9416 type ENUMERATED
9417 count 1
9418 item.0 'No Inversion'
9419 item.1 'Left Inverted'
9420 item.2 'Right Inverted'
9421 item.3 'Stereo Inversion'
9422 }
9423 }
9424 control.21 {
9425 iface MIXER
9426 name 'DAC Deemphasis Switch'
9427 value false
9428 comment {
9429 access 'read write'
9430 type BOOLEAN
9431 count 1
9432 }
9433 }
9434 control.22 {
9435 iface MIXER
9436 name '3D Filter Upper Cut-Off'
9437 value High
9438 comment {
9439 access 'read write'
9440 type ENUMERATED
9441 count 1
9442 item.0 High
9443 item.1 Low
9444 }
9445 }
9446 control.23 {
9447 iface MIXER
9448 name '3D Filter Lower Cut-Off'
9449 value Low
9450 comment {
9451 access 'read write'
9452 type ENUMERATED
9453 count 1
9454 item.0 Low
9455 item.1 High
9456 }
9457 }
9458 control.24 {
9459 iface MIXER
9460 name '3D Volume'
9461 value 0
9462 comment {
9463 access 'read write'
9464 type INTEGER
9465 count 1
9466 range '0 - 15'
9467 }
9468 }
9469 control.25 {
9470 iface MIXER
9471 name '3D Switch'
9472 value false
9473 comment {
9474 access 'read write'
9475 type BOOLEAN
9476 count 1
9477 }
9478 }
9479 control.26 {
9480 iface MIXER
9481 name 'ALC Function'
9482 value Off
9483 comment {
9484 access 'read write'
9485 type ENUMERATED
9486 count 1
9487 item.0 Off
9488 item.1 Right
9489 item.2 Left
9490 item.3 Stereo
9491 }
9492 }
9493 control.27 {
9494 iface MIXER
9495 name 'ALC Max Gain'
9496 value 7
9497 comment {
9498 access 'read write'
9499 type INTEGER
9500 count 1
9501 range '0 - 7'
9502 }
9503 }
9504 control.28 {
9505 iface MIXER
9506 name 'ALC Target'
9507 value 4
9508 comment {
9509 access 'read write'
9510 type INTEGER
9511 count 1
9512 range '0 - 15'
9513 }
9514 }
9515 control.29 {
9516 iface MIXER
9517 name 'ALC Min Gain'
9518 value 0
9519 comment {
9520 access 'read write'
9521 type INTEGER
9522 count 1
9523 range '0 - 7'
9524 }
9525 }
9526 control.30 {
9527 iface MIXER
9528 name 'ALC Hold Time'
9529 value 0
9530 comment {
9531 access 'read write'
9532 type INTEGER
9533 count 1
9534 range '0 - 15'
9535 }
9536 }
9537 control.31 {
9538 iface MIXER
9539 name 'ALC Mode'
9540 value ALC
9541 comment {
9542 access 'read write'
9543 type ENUMERATED
9544 count 1
9545 item.0 ALC
9546 item.1 Limiter
9547 }
9548 }
9549 control.32 {
9550 iface MIXER
9551 name 'ALC Decay'
9552 value 3
9553 comment {
9554 access 'read write'
9555 type INTEGER
9556 count 1
9557 range '0 - 15'
9558 }
9559 }
9560 control.33 {
9561 iface MIXER
9562 name 'ALC Attack'
9563 value 2
9564 comment {
9565 access 'read write'
9566 type INTEGER
9567 count 1
9568 range '0 - 15'
9569 }
9570 }
9571 control.34 {
9572 iface MIXER
9573 name 'Noise Gate Threshold'
9574 value 0
9575 comment {
9576 access 'read write'
9577 type INTEGER
9578 count 1
9579 range '0 - 31'
9580 }
9581 }
9582 control.35 {
9583 iface MIXER
9584 name 'Noise Gate Switch'
9585 value false
9586 comment {
9587 access 'read write'
9588 type BOOLEAN
9589 count 1
9590 }
9591 }
9592 control.36 {
9593 iface MIXER
9594 name 'ADC PCM Capture Volume'
9595 value.0 195
9596 value.1 195
9597 comment {
9598 access 'read write'
9599 type INTEGER
9600 count 2
9601 range '0 - 255'
9602 dbmin -9999999
9603 dbmax 3000
9604 dbvalue.0 0
9605 dbvalue.1 0
9606 }
9607 }
9608 control.37 {
9609 iface MIXER
9610 name 'Left Output Mixer Boost Bypass Volume'
9611 value 2
9612 comment {
9613 access 'read write'
9614 type INTEGER
9615 count 1
9616 range '0 - 7'
9617 dbmin -2100
9618 dbmax 0
9619 dbvalue.0 -1500
9620 }
9621 }
9622 control.38 {
9623 iface MIXER
9624 name 'Left Output Mixer LINPUT3 Volume'
9625 value 2
9626 comment {
9627 access 'read write'
9628 type INTEGER
9629 count 1
9630 range '0 - 7'
9631 dbmin -2100
9632 dbmax 0
9633 dbvalue.0 -1500
9634 }
9635 }
9636 control.39 {
9637 iface MIXER
9638 name 'Right Output Mixer Boost Bypass Volume'
9639 value 2
9640 comment {
9641 access 'read write'
9642 type INTEGER
9643 count 1
9644 range '0 - 7'
9645 dbmin -2100
9646 dbmax 0
9647 dbvalue.0 -1500
9648 }
9649 }
9650 control.40 {
9651 iface MIXER
9652 name 'Right Output Mixer RINPUT3 Volume'
9653 value 2
9654 comment {
9655 access 'read write'
9656 type INTEGER
9657 count 1
9658 range '0 - 7'
9659 dbmin -2100
9660 dbmax 0
9661 dbvalue.0 -1500
9662 }
9663 }
9664 control.41 {
9665 iface MIXER
9666 name 'ADC Data Output Select'
9667 value 'Left Data = Left ADC; Right Data = Left ADC'
9668 comment {
9669 access 'read write'
9670 type ENUMERATED
9671 count 1
9672 item.0 'Left Data = Left ADC; Right Data = Right ADC'
9673 item.1 'Left Data = Left ADC; Right Data = Left ADC'
9674 item.2 'Left Data = Right ADC; Right Data = Right ADC'
9675 item.3 'Left Data = Right ADC; Right Data = Left ADC'
9676 }
9677 }
9678 control.42 {
9679 iface MIXER
9680 name 'Mono Output Mixer Left Switch'
9681 value false
9682 comment {
9683 access 'read write'
9684 type BOOLEAN
9685 count 1
9686 }
9687 }
9688 control.43 {
9689 iface MIXER
9690 name 'Mono Output Mixer Right Switch'
9691 value false
9692 comment {
9693 access 'read write'
9694 type BOOLEAN
9695 count 1
9696 }
9697 }
9698 control.44 {
9699 iface MIXER
9700 name 'Right Output Mixer PCM Playback Switch'
9701 value true
9702 comment {
9703 access 'read write'
9704 type BOOLEAN
9705 count 1
9706 }
9707 }
9708 control.45 {
9709 iface MIXER
9710 name 'Right Output Mixer RINPUT3 Switch'
9711 value false
9712 comment {
9713 access 'read write'
9714 type BOOLEAN
9715 count 1
9716 }
9717 }
9718 control.46 {
9719 iface MIXER
9720 name 'Right Output Mixer Boost Bypass Switch'
9721 value false
9722 comment {
9723 access 'read write'
9724 type BOOLEAN
9725 count 1
9726 }
9727 }
9728 control.47 {
9729 iface MIXER
9730 name 'Left Output Mixer PCM Playback Switch'
9731 value true
9732 comment {
9733 access 'read write'
9734 type BOOLEAN
9735 count 1
9736 }
9737 }
9738 control.48 {
9739 iface MIXER
9740 name 'Left Output Mixer LINPUT3 Switch'
9741 value false
9742 comment {
9743 access 'read write'
9744 type BOOLEAN
9745 count 1
9746 }
9747 }
9748 control.49 {
9749 iface MIXER
9750 name 'Left Output Mixer Boost Bypass Switch'
9751 value false
9752 comment {
9753 access 'read write'
9754 type BOOLEAN
9755 count 1
9756 }
9757 }
9758 control.50 {
9759 iface MIXER
9760 name 'Right Input Mixer Boost Switch'
9761 value false
9762 comment {
9763 access 'read write'
9764 type BOOLEAN
9765 count 1
9766 }
9767 }
9768 control.51 {
9769 iface MIXER
9770 name 'Left Input Mixer Boost Switch'
9771 value true
9772 comment {
9773 access 'read write'
9774 type BOOLEAN
9775 count 1
9776 }
9777 }
9778 control.52 {
9779 iface MIXER
9780 name 'Right Boost Mixer RINPUT2 Switch'
9781 value false
9782 comment {
9783 access 'read write'
9784 type BOOLEAN
9785 count 1
9786 }
9787 }
9788 control.53 {
9789 iface MIXER
9790 name 'Right Boost Mixer RINPUT3 Switch'
9791 value false
9792 comment {
9793 access 'read write'
9794 type BOOLEAN
9795 count 1
9796 }
9797 }
9798 control.54 {
9799 iface MIXER
9800 name 'Right Boost Mixer RINPUT1 Switch'
9801 value false
9802 comment {
9803 access 'read write'
9804 type BOOLEAN
9805 count 1
9806 }
9807 }
9808 control.55 {
9809 iface MIXER
9810 name 'Left Boost Mixer LINPUT2 Switch'
9811 value false
9812 comment {
9813 access 'read write'
9814 type BOOLEAN
9815 count 1
9816 }
9817 }
9818 control.56 {
9819 iface MIXER
9820 name 'Left Boost Mixer LINPUT3 Switch'
9821 value false
9822 comment {
9823 access 'read write'
9824 type BOOLEAN
9825 count 1
9826 }
9827 }
9828 control.57 {
9829 iface MIXER
9830 name 'Left Boost Mixer LINPUT1 Switch'
9831 value true
9832 comment {
9833 access 'read write'
9834 type BOOLEAN
9835 count 1
9836 }
9837 }
9838 control.58 {
9839 iface CARD
9840 name 'Headphone Jack'
9841 value true
9842 comment {
9843 access read
9844 type BOOLEAN
9845 count 1
9846 }
9847 }
9848}