Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2880183ybf; Mon, 2 Mar 2020 17:41:56 -0800 (PST) X-Google-Smtp-Source: ADFU+vvE22TSzM0ozn08tw5yp+jHWdzSjobq19u6wtPlaGwaCq3XfO9q7gAQNR593fZ1vI39U8zL X-Received: by 2002:a9d:7d8b:: with SMTP id j11mr1681908otn.259.1583199715909; Mon, 02 Mar 2020 17:41:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583199715; cv=none; d=google.com; s=arc-20160816; b=M/qVZNX1QRQ76Vq3wvIfB4tOMbQ6PUq99TcYIydX9UrJwK50wMU7c9y+kOX2LwnwbA KkKuMKhR7QhyPizjhlivlF4+CC6Xhx0l6IIqfaqljIPGSaOWFJjffuzIEE+MaHZ9owLy rFXDC00S3WDTZ6SePQKDfAHYAaQ6vUgU7av4WS0o4Qysz5RBpa3OtaQkLX101O5sl8kZ HHlQUzPoethAawQ6UrUjAT9HvjZOrQMTr3X+yh2yL6iY5Lmb4jSPsap0NfFBrSDjdniP PUvjvBDyhsEP12+sbfzn5Z7O6dqHStE1mRm3sZcQ1HP9ZyLCwOCigIc0HHWiZjLNofWh pH/Q== 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; bh=wTmd93QvHJKnRP/iE9AlgpSex86ml4dgAiKBLvXi4d8=; b=h9OcAxcKT30IkqJimA9XryBzujti2db+15pP+AqcyI3Bs3j5K/ttC+SgePAUtNSFvB 0+ou0I/gU39qyb3uQLdX20NWHUBlEqIcJ96o07ITvJw/ByOA5mGU1RdeXHTQaygXQ7/V EqHbjzCNJxCh3V+mtnVqtPYZF3P7Z4SErNsDbm5vSnRZWK14AE4QfCnSmGj/nnlABeNz P/kcgRMPNXgyQKo8m4dlfXSnNlnizLr9sExmqYuBpK4FUciWIsbjhca3beGS0yCckgK2 Ov8ueCMXD/zzPa8oC/nKOX9hP5VBA2814dReDVN3XWrbzl3cy3EO9cDuUmx5C+sbsxrp 2AVA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11si7232498oim.223.2020.03.02.17.41.43; Mon, 02 Mar 2020 17:41:55 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726910AbgCCBlg (ORCPT + 99 others); Mon, 2 Mar 2020 20:41:36 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:43090 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbgCCBlf (ORCPT ); Mon, 2 Mar 2020 20:41:35 -0500 Received: by mail-ot1-f67.google.com with SMTP id j5so1392386otn.10; Mon, 02 Mar 2020 17:41:35 -0800 (PST) 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=wTmd93QvHJKnRP/iE9AlgpSex86ml4dgAiKBLvXi4d8=; b=HnL0eK6h39nv2tHEQnhGhARkA8qQrmgaxOsvpW4vJ4MCblOf+zNwQ4pw8Q1ku36cor AMXlHwWKlZQZfhnld1SqFCaHI22ZiEChPqatWLpSZwyhKv+f3fE3oEX33giTgHOHLQ9K pXACzouanLF8t8eKavNRzDWbSqTFBfCouBZtwnT1jGHwNODHPPxBwHEB48yCungETfpy mrA+eIs9NJNaDqyFbjksGfYgxxr93VjOxX0/NF+xBxmctqNaSDS5GssYXGXKGcB3cg9S V3QpuQy0ZcXGmc7lw3wNvjpOfrvfcaEFFbcx1LTsh6I+RGyVoRLEQC49ND/nhlAJm+Be hpqw== X-Gm-Message-State: ANhLgQ2IPOYsEJG2gSa9nzSsbnDDmuSHanJYCuti2kgYo+UuBE3M0DVl bzecSE3J6bYqRlQ/pexKlA== X-Received: by 2002:a9d:836:: with SMTP id 51mr1698659oty.318.1583199694975; Mon, 02 Mar 2020 17:41:34 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 16sm6365123otc.33.2020.03.02.17.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 17:41:34 -0800 (PST) Received: (nullmailer pid 25998 invoked by uid 1000); Tue, 03 Mar 2020 01:41:33 -0000 Date: Mon, 2 Mar 2020 19:41:33 -0600 From: Rob Herring To: Shengjiu Wang Cc: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, broonie@kernel.org, alsa-devel@alsa-project.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, mark.rutland@arm.com, devicetree@vger.kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/8] ASoC: dt-bindings: fsl_asrc: Change asrc-width to asrc-format Message-ID: <20200303014133.GA24596@bogus> References: <872c2e1082de6348318e14ccd31884d62355c282.1583039752.git.shengjiu.wang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <872c2e1082de6348318e14ccd31884d62355c282.1583039752.git.shengjiu.wang@nxp.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 01, 2020 at 01:24:12PM +0800, Shengjiu Wang wrote: > asrc_format is more inteligent, which is align with the alsa > definition snd_pcm_format_t, we don't need to convert it to > format in driver, and it can distinguish S24_LE & S24_3LE. > > Signed-off-by: Shengjiu Wang > --- > Documentation/devicetree/bindings/sound/fsl,asrc.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/sound/fsl,asrc.txt b/Documentation/devicetree/bindings/sound/fsl,asrc.txt > index cb9a25165503..0cbb86c026d5 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,asrc.txt > +++ b/Documentation/devicetree/bindings/sound/fsl,asrc.txt > @@ -38,7 +38,9 @@ Required properties: > > - fsl,asrc-rate : Defines a mutual sample rate used by DPCM Back Ends. > > - - fsl,asrc-width : Defines a mutual sample width used by DPCM Back Ends. > + - fsl,asrc-format : Defines a mutual sample format used by DPCM Back > + Ends. The value is one of SNDRV_PCM_FORMAT_XX in > + "include/uapi/sound/asound.h" You can't just change properties. They are an ABI. > > - fsl,asrc-clk-map : Defines clock map used in driver. which is required > by imx8qm/imx8qxp platform > -- > 2.21.0 >