ucm: Change directory name to bcm2837 from rpi3 36/151236/1 accepted/tizen/4.0/unified/20170921.024745 accepted/tizen/unified/20170921.024738 submit/tizen/20170920.103255 submit/tizen/20170920.215819 submit/tizen_4.0/20170920.103237 submit/tizen_4.0/20170920.215811
authorJaechul Lee <jcsing.lee@samsung.com>
Wed, 20 Sep 2017 08:11:19 +0000 (17:11 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Wed, 20 Sep 2017 08:11:19 +0000 (17:11 +0900)
audio-hal uses sound card name when it trys to open ucm manager.
Therefore the directory contained ucm should be changed to sound card
name like bcm2837. That's a conventinal rules and looked more clearly.

Change-Id: I047e74a4e23bb652923b6455b7083790d424ba9a
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
bcm2837/bcm2837.conf [new file with mode: 0644]
bcm2837/hdmi [new file with mode: 0644]
bcm2837/hifi [new file with mode: 0644]
bcm2837/inactive [new file with mode: 0644]
packaging/alsa-ucm-data-rpi3.spec
rpi3/hdmi [deleted file]
rpi3/hifi [deleted file]
rpi3/inactive [deleted file]
rpi3/rpi3.conf [deleted file]

diff --git a/bcm2837/bcm2837.conf b/bcm2837/bcm2837.conf
new file mode 100644 (file)
index 0000000..f8ab3a8
--- /dev/null
@@ -0,0 +1,23 @@
+SectionUseCase."Inactive" {
+  File "inactive"
+  Comment "reset audio path"
+}
+
+SectionUseCase."HiFi" {
+  File "hifi"
+  Comment "Hifi audio path"
+}
+
+SectionUseCase."HDMI" {
+  File "hdmi"
+  Comment "HDMI audio path"
+}
+
+
+ValueDefaults {
+  PlaybackCTL "hw:1"
+  CaptureCTL "hw:1"
+}
+
+SectionDefaults {
+}
diff --git a/bcm2837/hdmi b/bcm2837/hdmi
new file mode 100644 (file)
index 0000000..8d825c5
--- /dev/null
@@ -0,0 +1,25 @@
+SectionVerb {
+  EnableSequence [
+  ]
+  DisableSequence [
+  ]
+
+  Value {
+    TQ "Music"
+    PlaybackCTL "hw:1"
+  }
+}
+
+SectionDevice."HDMI" {
+  Comment "HDMI AUDIO"
+
+  EnableSequence [
+  ]
+
+  DisableSequence [
+  ]
+
+  Value {
+    PlaybackPCM "hw:1,1"
+  }
+}
diff --git a/bcm2837/hifi b/bcm2837/hifi
new file mode 100644 (file)
index 0000000..0764735
--- /dev/null
@@ -0,0 +1,25 @@
+SectionVerb {
+  EnableSequence [
+  ]
+  DisableSequence [
+  ]
+
+  Value {
+    TQ "Music"
+    PlaybackCTL "hw:1"
+  }
+}
+
+SectionDevice."Speaker" {
+  Comment "3.5mm Speaker"
+
+  EnableSequence [
+  ]
+
+  DisableSequence [
+  ]
+
+  Value {
+    PlaybackPCM "hw:1,0"
+  }
+}
diff --git a/bcm2837/inactive b/bcm2837/inactive
new file mode 100644 (file)
index 0000000..17e9a80
--- /dev/null
@@ -0,0 +1,42 @@
+SectionVerb {
+  EnableSequence [
+  ]
+  DisableSequence [
+  ]
+
+  Value {
+    TQ "Music"
+    PlaybackCTL "hw:1"
+    CaptureCTL "hw:1"
+  }
+}
+
+SectionDevice."All" {
+  Comment "reset all"
+
+  EnableSequence [
+  ]
+
+  DisableSequence [
+  ]
+}
+
+SectionDevice."Playback" {
+  Comment "reset playback"
+
+  EnableSequence [
+  ]
+
+  DisableSequence [
+  ]
+}
+
+SectionDevice."Capture" {
+  Comment "reset capture"
+
+  EnableSequence [
+  ]
+
+  DisableSequence [
+  ]
+}
index 37d2e354d36b262ab7950efb3e5d1d929df44bdd..31d073dd3b26623bb75595ce8aa222b05834ab3b 100644 (file)
@@ -17,11 +17,11 @@ ALSA UCM data for rpi3
 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}/usr/share/alsa/ucm
-cp -a rpi3 %{buildroot}/usr/share/alsa/ucm
+cp -a bcm2837 %{buildroot}/usr/share/alsa/ucm
 
 %post
 
 %files
 %manifest alsa-ucm-conf-rpi3.manifest
-/usr/share/alsa/ucm/rpi3/*
+/usr/share/alsa/ucm/bcm2837/*
 %license LICENSE.Apache-2.0
diff --git a/rpi3/hdmi b/rpi3/hdmi
deleted file mode 100644 (file)
index 8d825c5..0000000
--- a/rpi3/hdmi
+++ /dev/null
@@ -1,25 +0,0 @@
-SectionVerb {
-  EnableSequence [
-  ]
-  DisableSequence [
-  ]
-
-  Value {
-    TQ "Music"
-    PlaybackCTL "hw:1"
-  }
-}
-
-SectionDevice."HDMI" {
-  Comment "HDMI AUDIO"
-
-  EnableSequence [
-  ]
-
-  DisableSequence [
-  ]
-
-  Value {
-    PlaybackPCM "hw:1,1"
-  }
-}
diff --git a/rpi3/hifi b/rpi3/hifi
deleted file mode 100644 (file)
index 0764735..0000000
--- a/rpi3/hifi
+++ /dev/null
@@ -1,25 +0,0 @@
-SectionVerb {
-  EnableSequence [
-  ]
-  DisableSequence [
-  ]
-
-  Value {
-    TQ "Music"
-    PlaybackCTL "hw:1"
-  }
-}
-
-SectionDevice."Speaker" {
-  Comment "3.5mm Speaker"
-
-  EnableSequence [
-  ]
-
-  DisableSequence [
-  ]
-
-  Value {
-    PlaybackPCM "hw:1,0"
-  }
-}
diff --git a/rpi3/inactive b/rpi3/inactive
deleted file mode 100644 (file)
index 17e9a80..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-SectionVerb {
-  EnableSequence [
-  ]
-  DisableSequence [
-  ]
-
-  Value {
-    TQ "Music"
-    PlaybackCTL "hw:1"
-    CaptureCTL "hw:1"
-  }
-}
-
-SectionDevice."All" {
-  Comment "reset all"
-
-  EnableSequence [
-  ]
-
-  DisableSequence [
-  ]
-}
-
-SectionDevice."Playback" {
-  Comment "reset playback"
-
-  EnableSequence [
-  ]
-
-  DisableSequence [
-  ]
-}
-
-SectionDevice."Capture" {
-  Comment "reset capture"
-
-  EnableSequence [
-  ]
-
-  DisableSequence [
-  ]
-}
diff --git a/rpi3/rpi3.conf b/rpi3/rpi3.conf
deleted file mode 100644 (file)
index f8ab3a8..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-SectionUseCase."Inactive" {
-  File "inactive"
-  Comment "reset audio path"
-}
-
-SectionUseCase."HiFi" {
-  File "hifi"
-  Comment "Hifi audio path"
-}
-
-SectionUseCase."HDMI" {
-  File "hdmi"
-  Comment "HDMI audio path"
-}
-
-
-ValueDefaults {
-  PlaybackCTL "hw:1"
-  CaptureCTL "hw:1"
-}
-
-SectionDefaults {
-}