Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3777361ybb; Mon, 6 Apr 2020 15:45:50 -0700 (PDT) X-Google-Smtp-Source: APiQypI4npipwz+mIkJNgumZ8kGY78+pQrJA68llvUtwdi4ILVbz5Sll2qbD92Do1lacXrmmkGqx X-Received: by 2002:aca:c28b:: with SMTP id s133mr1458003oif.36.1586213150094; Mon, 06 Apr 2020 15:45:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586213150; cv=none; d=google.com; s=arc-20160816; b=p0NO6sC/nEGME9q8iv+CpbvMUA3ydj2qPVm5EZBzcJNavWECgLreo+14Y3aSxDqO9m ZjQ1hxYBFOXziT2dvKdksa5Z28iVpuCi9qr/odo0f67U2XEnlgCxC2H8OR+ZxmLUg+aX womM6Mym2dmtY5DFok6s/yGjvq8WteX9X2r2H+SsDt6G1TUeKEwF3nlgGroA9GyQhHq/ adgyLZ1BhjK4KdQ9Yw82nzGbec+xMOlN226CXJ7sRTbZ04rAbABP1VlKKP+kv8qxMeE1 Y0Y9xio9FrhvgiEiBqBGcXOraQccgw+PpvrsqWXtvYLn2fAFIIL1wn7Eey92yjepn6Z5 6Fag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TU6zRlp6bLsLQvuU0UNh0Rjs9SMeCJnn8DHzXq3NahA=; b=gtQmOPq0BxMs6CqXaSOB4irUKyRNcldTtQ0+FxPBoAfQbxE7MKCg6/W3Zct5lsDDkr Dc+YS0DuCDvEdHcTS93/u7t03TmQPH1APjESy6BKyAIHm98fHVMdcymLzV1rxOEC2Otr ebKksz3cb7TpBEvsVi0fsV376IAEplYeSIbg8WGH7rqksiG31FkzacFNnGA9uhj6PadV uDEVsbBDJGaZ7EB2VEluDNQ+PIWmEexZ5iyzV87HxlJjN/tOfdLq+L96Ik7LdmIqSHXY brAponbSyGY2w8jzvo1yETHOL4FYM2Ryy+5zAR8Vk+2YrdSfoLNq90vWdFHqKT5mgTK9 MwwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kLJPEGqk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k10si429036otr.174.2020.04.06.15.45.24; Mon, 06 Apr 2020 15:45:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kLJPEGqk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726310AbgDFWnw (ORCPT + 99 others); Mon, 6 Apr 2020 18:43:52 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:44686 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbgDFWnv (ORCPT ); Mon, 6 Apr 2020 18:43:51 -0400 Received: by mail-pl1-f194.google.com with SMTP id h11so442038plr.11; Mon, 06 Apr 2020 15:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TU6zRlp6bLsLQvuU0UNh0Rjs9SMeCJnn8DHzXq3NahA=; b=kLJPEGqkkgLnVbzA/I1nZdwcgddzzL+2wXZ5Xp1wnWMMVjFPOf3YQaOQy8TL1M0v26 3zVTMY9m62NSg/FwiRYeADQhn6OD90JCaiQOoLGTOSfHSyRH98rGuTU4k3wUihHLgnoM 3slUwXsnIbL3ONy473/bh2JtTR12Aj8f9DfVhCGwBDD35ya2UJbjieo3M0XuSZONcaLe 4NTBLpfwm38kvCsf9/fDWgJlbf9SsZEMzZfQdD7zeT5JZ+/AmrdHAqboOvL2/ycAgkdx OmtkjNNiJAORPFexNi771zvXl40gfTZ8znTbAE9+pChnRuB1o2OtQonZU9tDWIsYHnrx lLHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=TU6zRlp6bLsLQvuU0UNh0Rjs9SMeCJnn8DHzXq3NahA=; b=CUMScXTtECcwzFqj+qhQAhHmnS/GTMXhnh43FJ7Vo5VaWChOQczx4cib6JDnOHMWZp 33GngKgQZrWAMZRuE8QdNBdxzEimyUn2JPStbVWPrqyo8FfziqytnivIZmTXcHdkpTiz PNQHKZcsEVfHa42HMK9YVq+kXCgr/OjeoDnd9CQKNWFdNwZe28h+sifK5feuHPxDorXy w7jlRbwYgZ/4O9SSFNZG32ccBAw4eEhRIank87lamU6SUU6+QK4eIO+LB+ynr8czohHA Mhg0MdTmYCmVVxo5Rl69TlBTbMlTdYZfU1f3JWf7ooVjThjX4j4yegFuzeHgD92/C+yB r6gg== X-Gm-Message-State: AGi0PuZq7EOqaBHEBy53TI38bwC+9Rygy7WSLCZzp8t8uwUfON731zC6 w9Njx9nvhmXjY5vtiRfC7bc= X-Received: by 2002:a17:90a:1911:: with SMTP id 17mr1755900pjg.65.1586213030402; Mon, 06 Apr 2020 15:43:50 -0700 (PDT) Received: from Asurada-Nvidia.nvidia.com (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id l7sm12590717pfl.171.2020.04.06.15.43.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Apr 2020 15:43:50 -0700 (PDT) Date: Mon, 6 Apr 2020 15:43:52 -0700 From: Nicolin Chen To: Shengjiu Wang Cc: timur@kernel.org, Xiubo.Lee@gmail.com, festevam@gmail.com, broonie@kernel.org, alsa-devel@alsa-project.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 2/7] ASoC: dt-bindings: fsl_asrc: Add new property fsl,asrc-format Message-ID: <20200406224352.GA20891@Asurada-Nvidia.nvidia.com> References: <47fcf06689d1a086141ce4d80f7ea7af7958dc89.1585726761.git.shengjiu.wang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47fcf06689d1a086141ce4d80f7ea7af7958dc89.1585726761.git.shengjiu.wang@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 01, 2020 at 04:45:35PM +0800, Shengjiu Wang wrote: > In order to support new EASRC and simplify the code structure, > We decide to share the common structure between them. This bring > a problem that EASRC accept format directly from devicetree, but > ASRC accept width from devicetree. > > In order to align with new ESARC, we add new property fsl,asrc-format. > The fsl,asrc-format can replace the fsl,asrc-width, then driver > can accept format from devicetree, don't need to convert it to > format through width. > > Signed-off-by: Shengjiu Wang Once Rob has no objection: Acked-by: Nicolin Chen > --- > Documentation/devicetree/bindings/sound/fsl,asrc.txt | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/fsl,asrc.txt b/Documentation/devicetree/bindings/sound/fsl,asrc.txt > index cb9a25165503..998b4c8a7f78 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,asrc.txt > +++ b/Documentation/devicetree/bindings/sound/fsl,asrc.txt > @@ -51,6 +51,10 @@ Optional properties: > will be in use as default. Otherwise, the big endian > mode will be in use for all the device registers. > > + - fsl,asrc-format : Defines a mutual sample format used by DPCM Back > + Ends, which can replace the fsl,asrc-width. > + The value is 2 (S16_LE), or 6 (S24_LE). > + > Example: > > asrc: asrc@2034000 { > -- > 2.21.0 >