Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DB7BC4346E for ; Tue, 29 Sep 2020 07:19:14 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EE660207C4 for ; Tue, 29 Sep 2020 07:19:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="IP3zXpRY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EE660207C4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5C2DC1849; Tue, 29 Sep 2020 09:18:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5C2DC1849 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1601363951; bh=7Daf/LkRVSDiQN3p1FYJaRZVtnF06+hChOdX3o1OoBo=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=IP3zXpRYZ/eX6/BnCVyclYXsgyH8nXjyXzw1c8QI3tPI5IeveoQXyPM4cEtpVdllK ErnbBav/Xkkn8278uO49a/HnZQRgN2IgO2EaEr5mT6fbCler8z/ljWyhbeUiJ4xnn+ K9BIlSvKgW1yfJDfVNWlQa8BHX7L/Q3Vxgt8EZf8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B957DF801DB; Tue, 29 Sep 2020 09:18:20 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 72406F801F5; Tue, 29 Sep 2020 09:18:19 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D9976F800AB for ; Tue, 29 Sep 2020 09:18:12 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D9976F800AB X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 97FA4ADE2; Tue, 29 Sep 2020 07:18:12 +0000 (UTC) Date: Tue, 29 Sep 2020 09:18:12 +0200 Message-ID: From: Takashi Iwai To: Pierre-Louis Bossart Subject: Re: [PATCH 0/3] alsa-lib/ASoC: use inclusive language for bclk/fsync/topology In-Reply-To: <20200918212832.249184-1-pierre-louis.bossart@linux.intel.com> References: <20200918212832.249184-1-pierre-louis.bossart@linux.intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: alsa-devel@alsa-project.org, broonie@kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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" On Fri, 18 Sep 2020 23:28:29 +0200, Pierre-Louis Bossart wrote: > > The SOF (Sound Open Firmware) tree contains a lot of references in > topology files to 'codec_slave'/'codec_master' terms, which in turn > come from alsa-lib and ALSA/ASoC topology support at the kernel > level. These terms are no longer compatible with the guidelines > adopted by the kernel community [1] and need to change in > backwards-compatible ways. > > The main/secondary terms typically suggested in guidelines don't mean > anything for clocks, this patchset suggests instead the use of > 'provider' and 'consumer' terms, with the 'codec' prefix kept to make > it clear that the codec is the reference. The CM/CS suffixes are also > replaced by CP/CC. > > It can be argued that the change of suffix is invasive, but finding a > replacement that keeps the M and S shortcuts has proven difficult in > quite a few contexts. > > The previous definitions are kept for backwards-compatibility so this > change should not have any functional impact. It is suggested that new > contributions only use the new terms but there is no requirement to > transition immediately to the new definitions for existing code. Intel > will however update all its past contributions related to bit > clock/frame sync configurations immediately. > > This suggestion is easier to review first at the alsa-lib level, and > if agreed follow-up contributions for the Linux kernel [2] and SOF > firmware [3] will be provided. It's OK from alsa-lib POV; although the uapi header change isn't 100% safe, the user of this header is really our ones, so it's practically acceptable, I suppose. Could you submit the changes for kernel, so that it can be merged in time? Basically alsa-lib is synced with kernel, so the kernel should be changed at first. thanks, Takashi > > Feedback welcome > ~Pierre > > [1] https://lkml.org/lkml/2020/7/4/229 > [2] https://github.com/plbossart/sound/tree/fix/inclusive-language-bclk-fsync > [3] https://github.com/plbossart/sof/tree/fix/inclusive-language-bclk-fsync > > Changes since RFC: > replaced 'follower' by 'consumer' as suggested by Jaroslav and Marc > minor cleanups > > Pierre-Louis Bossart (3): > topology: use inclusive language for bclk > topology: use inclusive language for fsync > topology: use inclusive language in documentation > > include/sound/uapi/asoc.h | 22 +++++++----- > include/topology.h | 8 ++--- > src/topology/pcm.c | 75 +++++++++++++++++++++++++++------------ > 3 files changed, 71 insertions(+), 34 deletions(-) > > -- > 2.25.1 >