]> git.alsa-project.org Git - alsa-lib.git/commitdiff
conf/ucm: ROCKCHIP-I2S: rename to VEYRON-I2S
authorHeiko Stübner <heiko@sntech.de>
Wed, 8 Jun 2016 23:17:15 +0000 (01:17 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Jun 2016 06:19:04 +0000 (08:19 +0200)
Commit a192f52fc63a introduced an ucm profile for Rockchip Veyron-
Chromebooks by taking the ucm profile from the ChromeOS userspace.

But similarly to DAISY-I2S, PAZ00 and most other profiles, the audio
setup is pretty specific to a board type, so hogging the Rockchip name
will make it harder for future Rockchip based boards to fit in nicely.

And while Veyron also is a family of boards, all of them share the
same audio setup. The ucm profile was not released with any official
alsa release and the audio setup also isn't in the mainline kernel yet,
so such a rename should be easily possible.

Fixes: a192f52fc63a ("conf/ucm: ROCKCHIP-I2S: add Rockchip I2S UCM config.")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
configure.ac
src/conf/ucm/Makefile.am
src/conf/ucm/ROCKCHIP-I2S/Makefile.am [deleted file]
src/conf/ucm/VEYRON-I2S/HiFi.conf [moved from src/conf/ucm/ROCKCHIP-I2S/HiFi.conf with 91% similarity]
src/conf/ucm/VEYRON-I2S/Makefile.am [new file with mode: 0644]
src/conf/ucm/VEYRON-I2S/VEYRON-I2S.conf [moved from src/conf/ucm/ROCKCHIP-I2S/ROCKCHIP-I2S.conf with 67% similarity]

index ff340a8aedf5b282d46717786c541355a2e82d55..53fca33e201ae0202a6f81e7fa09956e5d0f0d75 100644 (file)
@@ -658,7 +658,7 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
          src/conf/ucm/PAZ00/Makefile \
          src/conf/ucm/GoogleNyan/Makefile \
          src/conf/ucm/broadwell-rt286/Makefile \
-         src/conf/ucm/ROCKCHIP-I2S/Makefile \
+         src/conf/ucm/VEYRON-I2S/Makefile \
          src/conf/topology/Makefile \
          src/conf/topology/broadwell/Makefile \
          modules/Makefile modules/mixer/Makefile modules/mixer/simple/Makefile \
index d1d51e597a8cd6f0bb24f83deff72ed20b31ee1d..3cce36af64f7e8bf78b750366e61bfd8ec183fd5 100644 (file)
@@ -1 +1 @@
-SUBDIRS=DAISY-I2S PandaBoard PandaBoardES SDP4430 tegraalc5632 PAZ00 GoogleNyan broadwell-rt286 ROCKCHIP-I2S
+SUBDIRS=DAISY-I2S PandaBoard PandaBoardES SDP4430 tegraalc5632 PAZ00 GoogleNyan broadwell-rt286 VEYRON-I2S
diff --git a/src/conf/ucm/ROCKCHIP-I2S/Makefile.am b/src/conf/ucm/ROCKCHIP-I2S/Makefile.am
deleted file mode 100644 (file)
index 485a740..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-alsaconfigdir = @ALSA_CONFIG_DIR@
-ucmdir = $(alsaconfigdir)/ucm/ROCKCHIP-I2S
-ucm_DATA = ROCKCHIP-I2S.conf HiFi.conf
-EXTRA_DIST = $(ucm_DATA)
similarity index 91%
rename from src/conf/ucm/ROCKCHIP-I2S/HiFi.conf
rename to src/conf/ucm/VEYRON-I2S/HiFi.conf
index 7bfe995900e9297c46048b4ea3235fa2c8d042c9..292b8fcacdd8776d129beb6f3586422791b2dd63 100644 (file)
@@ -5,7 +5,7 @@ SectionVerb {
        }
 
        EnableSequence [
-               cdev "hw:ROCKCHIPI2S"
+               cdev "hw:VEYRONI2S"
 
                cset "name='Left Speaker Mixer Left DAC Switch' on"
                cset "name='Right Speaker Mixer Right DAC Switch' on"
@@ -49,19 +49,19 @@ SectionVerb {
 
 SectionDevice."Headphone".0 {
        Value {
-               JackName "ROCKCHIP-I2S Headset Jack"
+               JackName "VEYRON-I2S Headset Jack"
                OutputDspName ""
        }
 
        EnableSequence [
-               cdev "hw:ROCKCHIPI2S"
+               cdev "hw:VEYRONI2S"
 
                cset "name='Speaker Switch' off"
                cset "name='Headphone Left Switch' on"
                cset "name='Headphone Right Switch' on"
        ]
        DisableSequence [
-               cdev "hw:ROCKCHIPI2S"
+               cdev "hw:VEYRONI2S"
 
                cset "name='Headphone Left Switch' off"
                cset "name='Headphone Right Switch' off"
@@ -71,11 +71,11 @@ SectionDevice."Headphone".0 {
 
 SectionDevice."Mic".0 {
        Value {
-               JackName "ROCKCHIP-I2S Headset Jack"
+               JackName "VEYRON-I2S Headset Jack"
        }
 
        EnableSequence [
-               cdev "hw:ROCKCHIPI2S"
+               cdev "hw:VEYRONI2S"
 
                cset "name='Int Mic Switch' off"
                cset "name='DMIC Mux' ADC"
@@ -84,7 +84,7 @@ SectionDevice."Mic".0 {
        ]
 
        DisableSequence [
-               cdev "hw:ROCKCHIPI2S"
+               cdev "hw:VEYRONI2S"
 
                cset "name='Headset Mic Switch' off"
                cset "name='DMIC Mux' DMIC"
diff --git a/src/conf/ucm/VEYRON-I2S/Makefile.am b/src/conf/ucm/VEYRON-I2S/Makefile.am
new file mode 100644 (file)
index 0000000..2bb628e
--- /dev/null
@@ -0,0 +1,4 @@
+alsaconfigdir = @ALSA_CONFIG_DIR@
+ucmdir = $(alsaconfigdir)/ucm/VEYRON-I2S
+ucm_DATA = VEYRON-I2S.conf HiFi.conf
+EXTRA_DIST = $(ucm_DATA)
similarity index 67%
rename from src/conf/ucm/ROCKCHIP-I2S/ROCKCHIP-I2S.conf
rename to src/conf/ucm/VEYRON-I2S/VEYRON-I2S.conf
index 0c399b0d2bad2face59cec4afd70134e1d6c5425..2a92b6f56702728bc512511a6d8e2957a67f2281 100644 (file)
@@ -1,4 +1,4 @@
-Comment "Rockchip card"
+Comment "Rockchip Veyron card"
 
 SectionUseCase."HiFi" {
        File "HiFi.conf"