summaryrefslogtreecommitdiff
path: root/recipes-bsp/alsa-state
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2014-03-19 17:59:55 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2014-04-01 10:11:35 +0200
commit8259cd92d8d3588ddfc9e6faa37c93311a648d85 (patch)
treed9ada370507a00e40c15e17c2481ca85e7593ec8 /recipes-bsp/alsa-state
parent4c20716ce65d3a0714a22050f468a790799d6a42 (diff)
alsa-state: add file for iMX6
Diffstat (limited to 'recipes-bsp/alsa-state')
-rw-r--r--recipes-bsp/alsa-state/alsa-state/apalis-imx6/asound.state379
1 files changed, 379 insertions, 0 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state/apalis-imx6/asound.state b/recipes-bsp/alsa-state/alsa-state/apalis-imx6/asound.state
new file mode 100644
index 0000000..644f836
--- /dev/null
+++ b/recipes-bsp/alsa-state/alsa-state/apalis-imx6/asound.state
@@ -0,0 +1,379 @@
+state.sgtl5000audio {
+ control.1 {
+ iface MIXER
+ name 'PCM Playback Volume'
+ value.0 117
+ value.1 117
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 156'
+ }
+ }
+ control.2 {
+ iface MIXER
+ name 'Capture Volume'
+ value.0 12
+ value.1 12
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 15'
+ }
+ }
+ control.3 {
+ iface MIXER
+ name 'Capture Attenuate Switch (-6dB)'
+ value 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 2'
+ dbmin -600
+ dbmax 600
+ dbvalue.0 -600
+ }
+ }
+ control.4 {
+ iface MIXER
+ name 'Capture ZC Switch'
+ value true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.5 {
+ iface MIXER
+ name 'Headphone Playback Volume'
+ value.0 63
+ value.1 63
+ comment {
+ access 'read write'
+ type INTEGER
+ count 2
+ range '0 - 127'
+ dbmin -5150
+ dbmax 1200
+ dbvalue.0 -2000
+ dbvalue.1 -2000
+ }
+ }
+ control.6 {
+ iface MIXER
+ name 'Headphone Playback ZC Switch'
+ value true
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.7 {
+ iface MIXER
+ name 'Mic Volume'
+ value 2
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 3'
+ dbmin 0
+ dbmax 4000
+ dbvalue.0 3000
+ }
+ }
+ control.8 {
+ iface MIXER
+ name 'Mic Bias Volt'
+ value 4
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 7'
+ }
+ }
+ control.9 {
+ iface MIXER
+ name 'Mic Bias Impedance'
+ value 2
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 3'
+ }
+ }
+ control.10 {
+ iface MIXER
+ name 'Bass Enable'
+ value false
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.11 {
+ iface MIXER
+ name 'Bass Filter Feq'
+ value 1
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 7'
+ dbmin 80
+ dbmax 225
+ dbvalue.0 100
+ }
+ }
+ control.12 {
+ iface MIXER
+ name 'Bass Volume'
+ value 58
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 63'
+ }
+ }
+ control.13 {
+ iface MIXER
+ name 'Bass Level'
+ value 96
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 127'
+ }
+ }
+ control.14 {
+ iface MIXER
+ name 'Surround Width'
+ value 4
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 7'
+ }
+ }
+ control.15 {
+ iface MIXER
+ name 'Main Channel Volume'
+ value 100
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 200'
+ dbmin 0
+ dbmax 200
+ dbvalue.0 100
+ }
+ }
+ control.16 {
+ iface MIXER
+ name 'Mixer Channel Volume'
+ value 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 200'
+ dbmin 0
+ dbmax 200
+ dbvalue.0 0
+ }
+ }
+ control.17 {
+ iface MIXER
+ name 'AVC Enable'
+ value false
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.18 {
+ iface MIXER
+ name 'AVC Hard Limit'
+ value false
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.19 {
+ iface MIXER
+ name 'AVC Max Gain'
+ value 1
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 2'
+ dbmin 0
+ dbmax 1200
+ dbvalue.0 600
+ }
+ }
+ control.20 {
+ iface MIXER
+ name 'AVC Threshold (-dB)'
+ value 12
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 96'
+ dbmin 0
+ dbmax 96
+ dbvalue.0 12
+ }
+ }
+ control.21 {
+ iface MIXER
+ name 'DAP_MIXER Mixer Channel'
+ value false
+ comment {
+ access 'read write'
+ type BOOLEAN
+ count 1
+ }
+ }
+ control.22 {
+ iface MIXER
+ name I2S_OUT
+ value ADC
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 ADC
+ item.1 I2S_IN
+ item.2 reserved
+ item.3 DAP
+ }
+ }
+ control.23 {
+ iface MIXER
+ name DAC_IN
+ value I2S_IN
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 ADC
+ item.1 I2S_IN
+ item.2 reserved
+ item.3 DAP
+ }
+ }
+ control.24 {
+ iface MIXER
+ name MIX_MUX
+ value ADC
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 ADC
+ item.1 I2S_IN
+ }
+ }
+ control.25 {
+ iface MIXER
+ name DAP_IN
+ value ADC
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 ADC
+ item.1 I2S_IN
+ }
+ }
+ control.26 {
+ iface MIXER
+ name 'Headphone Mux'
+ value DAC
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 DAC
+ item.1 LINE_IN
+ }
+ }
+ control.27 {
+ iface MIXER
+ name 'Capture Mux'
+ value MIC_IN
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 MIC_IN
+ item.1 LINE_IN
+ }
+ }
+ control.28 {
+ iface MIXER
+ name 'Jack Function'
+ value off
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 off
+ item.1 on
+ }
+ }
+ control.29 {
+ iface MIXER
+ name 'Speaker Function'
+ value off
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 off
+ item.1 on
+ }
+ }
+ control.30 {
+ iface MIXER
+ name 'Line In Function'
+ value off
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 off
+ item.1 on
+ }
+ }
+}
+state.imxhdmisoc {
+ control.1 {
+ iface MIXER
+ name 'IEC958 Playback Default'
+ value '0400020200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
+ comment {
+ access 'read write'
+ type IEC958
+ count 1
+ }
+ }
+}