From patchwork Wed Jun 8 23:17:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Heiko_St=C3=BCbner?= X-Patchwork-Id: 9165921 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2103760832 for ; Wed, 8 Jun 2016 23:17:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 097C3282DC for ; Wed, 8 Jun 2016 23:17:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F233828309; Wed, 8 Jun 2016 23:17:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 970E1282DC for ; Wed, 8 Jun 2016 23:17:35 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 88AA72654D0; Thu, 9 Jun 2016 01:17:33 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4BC6C2657E5; Thu, 9 Jun 2016 01:17:25 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id C5F572654D0; Thu, 9 Jun 2016 01:17:23 +0200 (CEST) Received: from gloria.sntech.de (gloria.sntech.de [95.129.55.99]) by alsa0.perex.cz (Postfix) with ESMTP id D9B182654D0 for ; Thu, 9 Jun 2016 01:17:17 +0200 (CEST) Received: from ip9234b3aa.dynamic.kabel-deutschland.de ([146.52.179.170] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1bAmiq-0004wi-NG; Thu, 09 Jun 2016 01:17:16 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Takashi Iwai Date: Thu, 09 Jun 2016 01:17:15 +0200 Message-ID: <2171222.JpkBRpngRM@diego> User-Agent: KMail/4.14.10 (Linux/4.4.0-1-amd64; KDE/4.14.14; x86_64; ; ) MIME-Version: 1.0 Cc: Enric Balletbo Serra , alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH] conf/ucm: ROCKCHIP-I2S: rename to VEYRON-I2S X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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%) diff --git a/src/conf/ucm/Makefile.am b/src/conf/ucm/Makefile.am index d1d51e5..3cce36a 100644 --- a/src/conf/ucm/Makefile.am +++ b/src/conf/ucm/Makefile.am @@ -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 index 485a740..0000000 --- a/src/conf/ucm/ROCKCHIP-I2S/Makefile.am +++ /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) diff --git a/src/conf/ucm/ROCKCHIP-I2S/HiFi.conf b/src/conf/ucm/VEYRON-I2S/HiFi.conf 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 --- a/src/conf/ucm/ROCKCHIP-I2S/HiFi.conf +++ b/src/conf/ucm/VEYRON-I2S/HiFi.conf @@ -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 index 0000000..2bb628e --- /dev/null +++ b/src/conf/ucm/VEYRON-I2S/Makefile.am @@ -0,0 +1,4 @@ +alsaconfigdir = @ALSA_CONFIG_DIR@ +ucmdir = $(alsaconfigdir)/ucm/VEYRON-I2S +ucm_DATA = VEYRON-I2S.conf HiFi.conf +EXTRA_DIST = $(ucm_DATA) diff --git a/src/conf/ucm/ROCKCHIP-I2S/ROCKCHIP-I2S.conf b/src/conf/ucm/VEYRON-I2S/VEYRON-I2S.conf 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 --- a/src/conf/ucm/ROCKCHIP-I2S/ROCKCHIP-I2S.conf +++ b/src/conf/ucm/VEYRON-I2S/VEYRON-I2S.conf @@ -1,4 +1,4 @@ -Comment "Rockchip card" +Comment "Rockchip Veyron card" SectionUseCase."HiFi" { File "HiFi.conf"