From mboxrd@z Thu Jan 1 00:00:00 1970 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=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 E4694C433E2 for ; Thu, 3 Sep 2020 10:37:24 +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 5AF8120716 for ; Thu, 3 Sep 2020 10:37:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="WA9gKWrL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="jRAUC0z+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5AF8120716 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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 C9CBF18D9; Thu, 3 Sep 2020 12:36:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C9CBF18D9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1599129442; bh=kqm1wlMuvFVbDd51jTk7L1toUWZ2fJJxYONbN3DTuRg=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=WA9gKWrLGl+ARM5ejTdjEI3h+hYWhiBdLhJ5ZeekKUZmlkYw8Y/LzOKXfrYRLMpCL xWgIdOb3klv3jxuaHq7xuz/g36OruMn2e+mUyQl7vw4EvzQaVfa3zh5SFVqM9QxqvG Iyp+7DQPqoiE2Zvbzi3H3GvX5zTNIc7g6z8nu+Tg= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6DFBFF8020D; Thu, 3 Sep 2020 12:36:32 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B3F3AF80217; Thu, 3 Sep 2020 12:36:30 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C698EF800F0 for ; Thu, 3 Sep 2020 12:36:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C698EF800F0 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="jRAUC0z+" Received: from localhost (unknown [122.171.179.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EB79F20716; Thu, 3 Sep 2020 10:36:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599129381; bh=kqm1wlMuvFVbDd51jTk7L1toUWZ2fJJxYONbN3DTuRg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jRAUC0z+n5b92cAV5/GcMQTk5OGfNurSzIl5vVM29P3nRNADe8LBuSTIZ1SDvqQv4 ipoRbX5nqJZHVJRtHZLUWZPUwCT1qwaNinDjzkpiWh//3/ESw777/4IDTNVVL+X0Dj g+HNpeSd7bY7tBy0OglWdwKxPrZJ1TNX4pqPNM20= Date: Thu, 3 Sep 2020 16:06:17 +0530 From: Vinod Koul To: Pierre-Louis Bossart Subject: Re: [PATCH v2 0/3] regmap: add SoundWire 1.2 MBQ support Message-ID: <20200903103617.GP2639@vkoul-mobl> References: <20200901162225.33343-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200901162225.33343-1-pierre-louis.bossart@linux.intel.com> Cc: alsa-devel@alsa-project.org, tiwai@suse.de, gregkh@linuxfoundation.org, broonie@kernel.org, Bard liao , Rander Wang 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 01-09-20, 11:22, Pierre-Louis Bossart wrote: > In preparation of the upstream contribution of SDCA (SoundWire Device > Class for Audio) ASoC codec drivers [1] [2], add regmap support > SoundWire 1.2 MBQ support. The MBQ (Multi-Byte Quantity) registers > need to be handled in a different way from regular 8-bit SoundWire > registers, their main application is going to be for volume/gain > controls. > > The second patch was initially suggested for inclusion in the > SoundWire tree, and was modified to add more background information on > SDCA in the commit message as requested by Vinod Koul. Is this targetted towards the sdw tree or regmap tree, I think it may have dependencies so sdw can be used. It would be nice to mention these things here in cover > > Changes since v1: > Rebased on regmap tree (conflict with SPI stuff). > Removed mod_devicetable.h header > Removed -EOPNOTSUPP error codes, use -ENOTSUPP > Added long description of SDCA > Used FIELD_PREP/GET as suggested by Vinod Koul > Added Bard Liao's Acked-by tag. > > Pierre-Louis Bossart (3): > regmap: sdw: add required header files > soundwire: SDCA: add helper macro to access controls > regmap: sdw: add support for SoundWire 1.2 MBQ > > drivers/base/regmap/Kconfig | 6 +- > drivers/base/regmap/Makefile | 1 + > drivers/base/regmap/regmap-sdw-mbq.c | 101 ++++++++++++++++++++++++ > drivers/base/regmap/regmap-sdw.c | 2 + > include/linux/regmap.h | 21 +++++ > include/linux/soundwire/sdw_registers.h | 33 ++++++++ > 6 files changed, 163 insertions(+), 1 deletion(-) > create mode 100644 drivers/base/regmap/regmap-sdw-mbq.c > > > base-commit: d17343b87da422a59d99a3ed130573dbeb96c582 > -- > 2.25.1 -- ~Vinod