# Use case Configuration for TI PandaBoard HiFi Music
# By Liam Girdwood <lrg@slimlogic.co.uk>

SectionVerb {
  	EnableSequence [
                cdev "hw:PandaBoard"
                # No more AMIC PDM Switch in current kernels
                #cset "name='AMIC_UL PDM Switch' 1"
                cset "name='MUX_UL00' 9"
                cset "name='MUX_UL01' 10"
                cset "name='Capture Volume' 4"
	]

	DisableSequence [
                cdev "hw:PandaBoard"
                # No more AMIC PDM Switch in current kernels
                #cset "name='AMIC_UL PDM Switch' 0"
                cset "name='MUX_UL00' 0"
                cset "name='MUX_UL01' 0"
                cset "name='Capture Volume' 0"
	]

	# Optional TQ and ALSA PCMs
	Value {
		TQ "Music"
		CapturePCM "hw:0,0"
	}

}

SectionDevice."Headset".0 {
	Comment "PandaBoard 3.5mm Headset"
	
	EnableSequence [
                cdev "hw:PandaBoard"
                cset "name='Analog Left Capture Route' 0"
                cset "name='Analog Right Capture Route' 0"
                cset "name='Capture Preamplifier Volume' 2"
	]

	DisableSequence [
                cdev "hw:PandaBoard"
                cset "name='Analog Left Capture Route' 3"
                cset "name='Analog Right Capture Route' 3"
                cset "name='Capture Preamplifier Volume' 0"
	]
}
