diff mbox series

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

Message ID 20200305134404.7690-3-srinivas.kandagatla@linaro.org (mailing list archive)
State New, archived
Headers show
Series ucm2: Add support to SDM845 based platforms | expand

Commit Message

Srinivas Kandagatla March 5, 2020, 1:44 p.m. UTC
Add default, enable/disable codec sequence for wsa881x codec

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@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 mbox series

Patch

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"