[PATCH 2/4] ucm2: codecs: wsa881x: add codec sequences

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Thu Mar 5 14:44:02 CET 2020


Add default, enable/disable codec sequence for wsa881x codec

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla at linaro.org>
---
 ucm2/codecs/wsa881x/DefaultEnableSeq.conf  | 8 ++++++++
 ucm2/codecs/wsa881x/SpeakerDisableSeq.conf | 8 ++++++++
 ucm2/codecs/wsa881x/SpeakerEnableSeq.conf  | 8 ++++++++
 3 files changed, 24 insertions(+)
 create mode 100644 ucm2/codecs/wsa881x/DefaultEnableSeq.conf
 create mode 100644 ucm2/codecs/wsa881x/SpeakerDisableSeq.conf
 create mode 100644 ucm2/codecs/wsa881x/SpeakerEnableSeq.conf

diff --git a/ucm2/codecs/wsa881x/DefaultEnableSeq.conf b/ucm2/codecs/wsa881x/DefaultEnableSeq.conf
new file mode 100644
index 0000000..499342b
--- /dev/null
+++ b/ucm2/codecs/wsa881x/DefaultEnableSeq.conf
@@ -0,0 +1,8 @@
+cset "name='SpkrLeft COMP Switch' 1"
+cset "name='SpkrLeft BOOST Switch' 1"
+cset "name='SpkrLeft DAC Switch' 1"
+cset "name='SpkrLeft VISENSE Switch' 0"
+cset "name='SpkrRight COMP Switch' 1"
+cset "name='SpkrRight BOOST Switch' 1"
+cset "name='SpkrRight DAC Switch' 1"
+cset "name='SpkrRight VISENSE Switch' 0"
diff --git a/ucm2/codecs/wsa881x/SpeakerDisableSeq.conf b/ucm2/codecs/wsa881x/SpeakerDisableSeq.conf
new file mode 100644
index 0000000..9614422
--- /dev/null
+++ b/ucm2/codecs/wsa881x/SpeakerDisableSeq.conf
@@ -0,0 +1,8 @@
+cset "name='SpkrLeft COMP Switch' 0"
+cset "name='SpkrLeft BOOST Switch' 0"
+cset "name='SpkrLeft DAC Switch' 0"
+cset "name='SpkrLeft VISENSE Switch' 0"
+cset "name='SpkrRight COMP Switch' 0"
+cset "name='SpkrRight BOOST Switch' 0"
+cset "name='SpkrRight DAC Switch' 0"
+cset "name='SpkrRight VISENSE Switch' 0"
diff --git a/ucm2/codecs/wsa881x/SpeakerEnableSeq.conf b/ucm2/codecs/wsa881x/SpeakerEnableSeq.conf
new file mode 100644
index 0000000..499342b
--- /dev/null
+++ b/ucm2/codecs/wsa881x/SpeakerEnableSeq.conf
@@ -0,0 +1,8 @@
+cset "name='SpkrLeft COMP Switch' 1"
+cset "name='SpkrLeft BOOST Switch' 1"
+cset "name='SpkrLeft DAC Switch' 1"
+cset "name='SpkrLeft VISENSE Switch' 0"
+cset "name='SpkrRight COMP Switch' 1"
+cset "name='SpkrRight BOOST Switch' 1"
+cset "name='SpkrRight DAC Switch' 1"
+cset "name='SpkrRight VISENSE Switch' 0"
-- 
2.21.0



More information about the Alsa-devel mailing list