Skip to contentSkip to conversation

conf/ucm: ROCKCHIP-I2S: rename to VEYRON-I2S

PATCH Applied Heiko Stübner 3 participants 3 messages Jun 8, 2016 – Jun 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf/ucm: ROCKCHIP-I2S: rename to VEYRON-I2S

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.")
---
 src/conf/ucm/Makefile.am                                   |  2 +-
 src/conf/ucm/ROCKCHIP-I2S/Makefile.am                      |  4 ----
 src/conf/ucm/{ROCKCHIP-I2S => VEYRON-I2S}/HiFi.conf        | 14 +++++++-------
 src/conf/ucm/VEYRON-I2S/Makefile.am                        |  4 ++++
 .../ROCKCHIP-I2S.conf => VEYRON-I2S/VEYRON-I2S.conf}       |  2 +-
 5 files changed, 13 insertions(+), 13 deletions(-)
 delete mode 100644 src/conf/ucm/ROCKCHIP-I2S/Makefile.am
 rename src/conf/ucm/{ROCKCHIP-I2S => VEYRON-I2S}/HiFi.conf (91%)
 create mode 100644 src/conf/ucm/VEYRON-I2S/Makefile.am
 rename src/conf/ucm/{ROCKCHIP-I2S/ROCKCHIP-I2S.conf => VEYRON-I2S/VEYRON-I2S.conf} (67%)
src/conf/ucm/Makefile.am +1 -1
index d1d51e5..3cce36a 100644
@@ -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
src/conf/ucm/ROCKCHIP-I2S/Makefile.am deleted +0 -4
deleted file mode 100644
index 485a740..0000000
@@ -1,4 +0,0 @@
-alsaconfigdir = @ALSA_CONFIG_DIR@
-ucmdir = $(alsaconfigdir)/ucm/ROCKCHIP-I2S
-ucm_DATA = ROCKCHIP-I2S.conf HiFi.conf
-EXTRA_DIST = $(ucm_DATA)
src/conf/ucm/VEYRON-I2S/HiFi.conf renamed from src/conf/ucm/ROCKCHIP-I2S/HiFi.conf +7 -7
similarity index 91%
rename from src/conf/ucm/ROCKCHIP-I2S/HiFi.conf
rename to src/conf/ucm/VEYRON-I2S/HiFi.conf
index 7bfe995..292b8fc 100644
@@ -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"
src/conf/ucm/VEYRON-I2S/Makefile.am new file +4 -0
new file mode 100644
index 0000000..2bb628e
@@ -0,0 +1,4 @@
+alsaconfigdir = @ALSA_CONFIG_DIR@
+ucmdir = $(alsaconfigdir)/ucm/VEYRON-I2S
+ucm_DATA = VEYRON-I2S.conf HiFi.conf
+EXTRA_DIST = $(ucm_DATA)
src/conf/ucm/VEYRON-I2S/VEYRON-I2S.conf renamed from src/conf/ucm/ROCKCHIP-I2S/ROCKCHIP-I2S.conf +1 -1
similarity index 67%
rename from src/conf/ucm/ROCKCHIP-I2S/ROCKCHIP-I2S.conf
rename to src/conf/ucm/VEYRON-I2S/VEYRON-I2S.conf
index 0c399b0..2a92b6f 100644
@@ -1,4 +1,4 @@
-Comment "Rockchip card"
+Comment "Rockchip Veyron card"
 
 SectionUseCase."HiFi" {
 	File "HiFi.conf"
Signature · 1 line
2.8.0.rc3
Applied
#1 lore raw
Quoted 8 lines · Heiko Stübner

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.

Quoted 7 lines

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.")

Thanks, applied now with an additional fix in configure.ac. (Otherwise it won't be built.)

Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw

2016-06-09 8:19 GMT+02:00 Takashi Iwai <[email protected]>:

Quoted 15 lines
Quoted 13 lines · Heiko Stübner

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.

Quoted 8 lines
Quoted 2 lines
Fixes a192f52fc63a ("conf/ucm: ROCKCHIP-I2S: add Rockchip I2S UCM config.")

Thanks, applied now with an additional fix in configure.ac. (Otherwise it won't be built.)

Takashi

Thanks Heiko for the patch :)
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel