[PATCH alsa-ucm-conf 2/2] sof-soundwire: Add basic support for a 4x cs35l56 configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cs35l56 is a boosted speaker amp add UCM support for a 4 amp
configuration.

Signed-off-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
---
 ucm2/sof-soundwire/cs35l56-4.conf | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 ucm2/sof-soundwire/cs35l56-4.conf

diff --git a/ucm2/sof-soundwire/cs35l56-4.conf b/ucm2/sof-soundwire/cs35l56-4.conf
new file mode 100644
index 0000000..f5af1e4
--- /dev/null
+++ b/ucm2/sof-soundwire/cs35l56-4.conf
@@ -0,0 +1,24 @@
+# Use case Configuration for sof-soundwire card
+
+SectionDevice."Speaker" {
+	Comment "Speaker"
+
+	EnableSequence [
+		cset "name='AMP1 Speaker Switch' 1"
+		cset "name='AMP2 Speaker Switch' 1"
+		cset "name='AMP3 Speaker Switch' 1"
+		cset "name='AMP4 Speaker Switch' 1"
+	]
+
+	DisableSequence [
+		cset "name='AMP4 Speaker Switch' 0"
+		cset "name='AMP3 Speaker Switch' 0"
+		cset "name='AMP2 Speaker Switch' 0"
+		cset "name='AMP1 Speaker Switch' 0"
+	]
+
+	Value {
+		PlaybackPriority 100
+		PlaybackPCM "hw:${CardId},2"
+	}
+}
-- 
2.39.2




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux