diff --git a/ucm/sof-bxt-pcm512x/HiFi b/ucm/sof-bxt-pcm512x/HiFi new file mode 100644 index 00000000..9c0bbe8a --- /dev/null +++ b/ucm/sof-bxt-pcm512x/HiFi @@ -0,0 +1,36 @@ +# Use case Configuration for bxt-pcm512x + +SectionVerb { + EnableSequence [ + cdev "hw:sofbxtpcm512x" + exec "echo HiFi enable sequence" + cset "name='Digital Playback Switch' off" + cset "name='Digital Playback Volume' 120" + ] + + DisableSequence [ + cdev "hw:sofbxtpcm512x" + exec "echo HiFi disable sequence" + cset "name='Digital Playback Switch' on" + ] + + Value { + PlaybackPCM "hw:sofbxtpcm512x" + } +} + +SectionDevice."Ext Spk" { + Comment "RCA Line output" + + EnableSequence [ + cdev "hw:sofbxtpcm512x" + ] + + DisableSequence [ + cdev "hw:sofbxtpcm512x" + ] + + Value { + PlaybackChannels "2" + } +} diff --git a/ucm/sof-bxt-pcm512x/sof-bxt-pcm512x.conf b/ucm/sof-bxt-pcm512x/sof-bxt-pcm512x.conf new file mode 100644 index 00000000..308412b6 --- /dev/null +++ b/ucm/sof-bxt-pcm512x/sof-bxt-pcm512x.conf @@ -0,0 +1,10 @@ +SectionUseCase."HiFi" { + File "HiFi" + Comment "Play HiFi quality Music" +} + +SectionDefaults [ + cdev "hw:sofbxtpcm512x" + cset "name='Digital Playback Switch' off" + cset "name='Digital Playback Volume' 120" +]