aboutsummaryrefslogtreecommitdiff
path: root/ucm
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2019-11-11 08:53:41 +0100
committerJaroslav Kysela <perex@perex.cz>2019-11-11 12:51:01 +0100
commit2a5d47b739f88031f66113611d12262d22f81984 (patch)
tree35dd9f8bf61d4672f23e1caf86ee0b873cb1dd5f /ucm
parent8ef2cbcc9fb9fd0a3cf533416a6188c29a3ce3df (diff)
PandaBoard: adapt to ucm2
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'ucm')
-rw-r--r--ucm/PandaBoard/FMAnalog.conf46
-rw-r--r--ucm/PandaBoard/HiFi.conf83
-rw-r--r--ucm/PandaBoard/HiFiLP.conf46
-rw-r--r--ucm/PandaBoard/PandaBoard.conf45
-rw-r--r--ucm/PandaBoard/Record.conf47
-rw-r--r--ucm/PandaBoard/Voice.conf46
-rw-r--r--ucm/PandaBoard/VoiceCall.conf67
7 files changed, 0 insertions, 380 deletions
diff --git a/ucm/PandaBoard/FMAnalog.conf b/ucm/PandaBoard/FMAnalog.conf
deleted file mode 100644
index f1b4477..0000000
--- a/ucm/PandaBoard/FMAnalog.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-# Use case Configurationfor TI PandaBoard HiFi Music
-# By Liam Girdwood <lrg@slimlogic.co.uk>
-
-SectionVerb {
- EnableSequence [
- cdev "hw:PandaBoard"
- 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"
- 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' 2"
- cset "name='Analog Right Capture Route' 2"
- 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"
- ]
-}
-
diff --git a/ucm/PandaBoard/HiFi.conf b/ucm/PandaBoard/HiFi.conf
deleted file mode 100644
index db405a4..0000000
--- a/ucm/PandaBoard/HiFi.conf
+++ /dev/null
@@ -1,83 +0,0 @@
-# Use case Configuration for TI PandaBoard HiFi Music
-# By Liam Girdwood <lrg@slimlogic.co.uk>
-
-SectionVerb {
- EnableSequence [
- cdev "hw:PandaBoard"
- cset "name='DL1 Mixer Multimedia' 1"
- cset "name='Sidetone Mixer Playback' 1"
- cset "name='DL1 PDM Switch' 1"
- cset "name='DL1 Media Playback Volume' 90,90"
- cset "name='SDT DL Volume' 120"
-
- cset "name='Headset Left Playback' 1"
- cset "name='Headset Right Playback' 1"
- cset "name='Headset Playback Volume' 13"
- ]
-
- DisableSequence [
- cdev "hw:PandaBoard"
- cset "name='DL1 Mixer Multimedia' 0"
- cset "name='Sidetone Mixer Playback' 0"
- cset "name='DL1 PDM Switch' 0"
- cset "name='DL1 Media Playback Volume' 0,0"
- cset "name='SDT DL Volume' 0"
-
- cset "name='Headset Right Playback' 0"
- cset "name='Headset Left Playback' 0"
- cset "name='Headset Playback Volume' 0"
- ]
-
- # Optional TQ and ALSA PCMs
-# Value {
-# TQ "Music"
-# PlaybackPCM "hw:0,0"
-# PlaybackVolume "name='DL1 Media Playback Volume' 90,90"
-# PlaybackSwitch "name='DL1 PDM Switch' 1"
-# }
-}
-
-SectionDevice."Headset".0 {
- Comment "PandaBoard 3.5mm Headset"
-
- EnableSequence [
- cdev "hw:PandaBoard"
- cset "name='Headset Left Playback' 1"
- cset "name='Headset Right Playback' 1"
- cset "name='Headset Playback Volume' 13"
- ]
-
- DisableSequence [
- cdev "hw:PandaBoard"
- cset "name='Headset Right Playback' 0"
- cset "name='Headset Left Playback' 0"
- cset "name='Headset Playback Volume' 0"
- ]
-}
-
-#SectionModifier."RecordMedia".0 {
-# SupportedDevice [
-# "Headset"
-# ]
- # EnableSequence [
- # ....
- # ]
- #
- # DisableSequence [
- # ...
- # ]
- #
- # TransitionSequence."ToModifierName" [
- # ...
- # ]
- #
- # # Optional TQ and ALSA PCMs
- # Value {
- # TQ Voice
- # CapturePCM "hw:1"
- # PlaybackVolume "name='Master Playback Volume',index=2"
- # PlaybackSwitch "name='Master Playback Switch',index=2"
- # }
-#
-#}
-
diff --git a/ucm/PandaBoard/HiFiLP.conf b/ucm/PandaBoard/HiFiLP.conf
deleted file mode 100644
index 7bbbd5d..0000000
--- a/ucm/PandaBoard/HiFiLP.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-# Use case Configuration for TI PandaBoard HiFi Music
-# By Liam Girdwood <lrg@slimlogic.co.uk>
-
-SectionVerb {
- EnableSequence [
- cdev "hw:PandaBoard"
- cset "name='DL1 Mixer Multimedia' 1"
- cset "name='Sidetone Mixer Playback' 1"
- cset "name='DL1 PDM Switch' 1"
- cset "name='DL1 Media Playback Volume' 90,90"
- cset "name='SDT DL Volume' 120"
- ]
-
- DisableSequence [
- cdev "hw:PandaBoard"
- cset "name='DL1 Mixer Multimedia' 0"
- cset "name='Sidetone Mixer Playback' 0"
- cset "name='DL1 PDM Switch' 0"
- cset "name='DL1 Media Playback Volume' 0,0"
- cset "name='SDT DL Volume' 0"
- ]
-
- # Optional TQ and ALSA PCMs
- Value {
- TQ "Music"
- PlaybackPCM "hw:0,6"
- }
-}
-
-SectionDevice."Headset".0 {
- Comment "PandaBoard 3.5mm Headset"
-
- EnableSequence [
- cdev "hw:PandaBoard"
- cset "name='Headset Left Playback' 1"
- cset "name='Headset Right Playback' 1"
- cset "name='Headset Playback Volume' 13"
- ]
-
- DisableSequence [
- cdev "hw:PandaBoard"
- cset "name='Headset Right Playback' 0"
- cset "name='Headset Left Playback' 0"
- cset "name='Headset Playback Volume' 0"
- ]
-}
diff --git a/ucm/PandaBoard/PandaBoard.conf b/ucm/PandaBoard/PandaBoard.conf
deleted file mode 100644
index 52fd551..0000000
--- a/ucm/PandaBoard/PandaBoard.conf
+++ /dev/null
@@ -1,45 +0,0 @@
-# UCM configuration for PandaBoard
-SectionUseCase."Record" {
- File "Record.conf"
- Comment "Record"
-}
-
-SectionUseCase."HiFi" {
- File "HiFi.conf"
- Comment "Play HiFi quality Music"
-}
-
-SectionUseCase."HiFi_Low_Power" {
- File "HiFiLP.conf"
- Comment "Play HiFi quality Music in Low Power Mode"
-}
-
-SectionUseCase."Voice" {
- File "Voice.conf"
- Comment "Playback Voice quality"
-}
-
-SectionUseCase."Voice_Low_Power" {
- File "Voice.conf"
- Comment "Playback Voice quality in Low Power Mode"
-}
-
-SectionUseCase."Voice_Call" {
- File "VoiceCall.conf"
- Comment "Capture and Playback in Voice quality"
-}
-
-SectionUseCase."Voice_Call_IP" {
- File "VoiceCall.conf"
- Comment "Capture and Playback in Voice quality"
-}
-
-SectionUseCase."FM_Analog_Radio" {
- File "FMAnalog.conf"
- Comment "Capture FM Analog Radio"
-}
-
-SectionDefaults [
- cdev "hw:PandaBoard"
- exec "echo Im setting defaults"
-]
diff --git a/ucm/PandaBoard/Record.conf b/ucm/PandaBoard/Record.conf
deleted file mode 100644
index 0eaf117..0000000
--- a/ucm/PandaBoard/Record.conf
+++ /dev/null
@@ -1,47 +0,0 @@
-# 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"
- ]
-}
diff --git a/ucm/PandaBoard/Voice.conf b/ucm/PandaBoard/Voice.conf
deleted file mode 100644
index 4861071..0000000
--- a/ucm/PandaBoard/Voice.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-# Use case Configuration for TI PandaBoard HiFi Music
-# By Liam Girdwood <lrg@slimlogic.co.uk>
-
-SectionVerb {
- EnableSequence [
- cdev "hw:PandaBoard"
- cset "name='DL1 Mixer Voice' 1"
- cset "name='Sidetone Mixer Playback' 1"
- cset "name='DL1 PDM Switch' 1"
- cset "name='DL1 Voice Playback Volume' 90,90"
- cset "name='SDT DL Volume' 120"
- ]
-
- DisableSequence [
- cdev "hw:PandaBoard"
- cset "name='DL1 Mixer Voice' 0"
- cset "name='Sidetone Mixer Playback' 0"
- cset "name='DL1 PDM Switch' 0"
- cset "name='DL1 Voice Playback Volume' 0,0"
- cset "name='SDT DL Volume' 0"
- ]
-
- # Optional TQ and ALSA PCMs
- Value {
- TQ "Voice"
- PlaybackPCM "hw:0,2"
- }
-}
-
-SectionDevice."Headset".0 {
- Comment "PandaBoard 3.5mm Headset"
-
- EnableSequence [
- cdev "hw:PandaBoard"
- cset "name='Headset Left Playback' 1"
- cset "name='Headset Right Playback' 1"
- cset "name='Headset Playback Volume' 13"
- ]
-
- DisableSequence [
- cdev "hw:PandaBoard"
- cset "name='Headset Right Playback' 0"
- cset "name='Headset Left Playback' 0"
- cset "name='Headset Playback Volume' 0"
- ]
-}
diff --git a/ucm/PandaBoard/VoiceCall.conf b/ucm/PandaBoard/VoiceCall.conf
deleted file mode 100644
index d3c9501..0000000
--- a/ucm/PandaBoard/VoiceCall.conf
+++ /dev/null
@@ -1,67 +0,0 @@
-# Use case Configuration for TI PandaBoard HiFi Music
-# By Liam Girdwood <lrg@slimlogic.co.uk>
-
-SectionVerb {
- EnableSequence [
- cdev "hw:PandaBoard"
- cset "name='AMIC_UL PDM Switch' 1"
- cset "name='Sidetone Mixer Capture' 1"
- cset "name='MUX_VX0' 9"
- cset "name='MUX_VX1' 10"
- cset "name='DL1 Mixer Voice' 1"
- cset "name='Sidetone Mixer Playback' 1"
- cset "name='DL1 PDM Switch' 1"
- cset "name='DL1 Voice Playback Volume' 90,90"
- cset "name='Capture Volume' 4"
- cset "name='Capture Mixer Voice Capture' 90,90"
- cset "name='SDT DL Volume' 120"
- ]
-
-
- DisableSequence [
- cdev "hw:PandaBoard"
- cset "name='AMIC_UL PDM Switch' 0"
- cset "name='Sidetone Mixer Capture' 0"
- cset "name='MUX_VX0' 0"
- cset "name='MUX_VX1' 0"
- cset "name='DL1 Mixer Voice' 0"
- cset "name='Sidetone Mixer Playback' 0"
- cset "name='DL1 PDM Switch' 0"
- cset "name='DL1 Voice Playback Volume' 0,0"
- cset "name='Capture Volume' 0"
- cset "name='DL1 Voice Playback Volume' 0,0"
- cset "name='SDT DL Volume' 0"
- ]
-
- # Optional TQ and ALSA PCMs
- Value {
- TQ "Voice"
- CapturePCM "hw:0,2"
- PlaybackPCM "hw:0,2"
- }
-}
-
-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"
- cset "name='Headset Left Playback' 1"
- cset "name='Headset Right Playback' 1"
- cset "name='Headset Playback Volume' 13"
- ]
-
- DisableSequence [
- cdev "hw:PandaBoard"
- cset "name='Analog Left Capture Route' 3"
- cset "name='Analog Right Capture Route' 3"
- cset "name='Capture Preamplifier Volume' 0"
- cset "name='Headset Right Playback' 0"
- cset "name='Headset Left Playback' 0"
- cset "name='Headset Playback Volume' 0"
- ]
-}
-