Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11017827ybi; Thu, 25 Jul 2019 08:35:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDrd4XXTPTSQEmMSIjDpVWn+oYnDilg3su295+RUwyGgWvQaBR5gAQuXLmRRMRWdTT+vsN X-Received: by 2002:aa7:914e:: with SMTP id 14mr17216281pfi.136.1564068932243; Thu, 25 Jul 2019 08:35:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564068932; cv=none; d=google.com; s=arc-20160816; b=Xxb51zNcEjsTumxOrkQU3VheBp4rtiTFmoQ71b+gK5jO3IeEmFdzl+xez2SwQ8iGsh UhOvUFd+M1e8sT/fP20K/zVwvMA91DU4er9DoXYGfg+bTvE32dJQPrfxq2faN7l6H9HZ hQP1FNrOo73abQTpfbTb0jyGn9rWzzJbPn/rCB2NZW3Mi7pcNJxCA8I6ma1M7qDJqS3c NyqBfYxIGxaU+Fe7Un/BFSMaHNdioiDFLZBKCyNNQk/6NkIVXQ1v6rnIbeWIEkMysyK9 GE7FJK46w9yvK/k7PxX+qO4CNS0s4ZeudsAZGJpOTnQPVP9fW5SgNYxPkHC8QBz88RNv dsNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=latsD49SbH6+14WTREJoq/H2WKuYcXOmWv0v0lWZfMo=; b=Pgl17C5K42YuAYNPtYjj1ClnSn5NCR8xxnclTqh2bmnGwAHR/LQOKhWTKwE7+y9NdX w+17Hpo2P8GVDR4PWLmgsnvzi/K+oGlJHdtdtlE6CdLN/97cRUHpD1KMgNw7zt7Uqf6H rlYbTq0LUO2KjBTD88RJTlIh0s66Bj9TVh+vEB8ijHDU2d5uvw78IB4QjPSC8V7NmEeu I1MP4i+ehbGaq8feln6Jry//w+93nfnXaXhrRr+ckD5adk30+7zLo3yVYKw8TRmsgx+s Wm9HLvnidHIbUK5VZa+hKB7QXJc+TqaRSI3d+N5n6iMeVtNM0WtAbua+yUOcug+0aVSM Mm/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YHuUocaS; 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 h16si17197669plr.94.2019.07.25.08.35.17; Thu, 25 Jul 2019 08:35:32 -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=YHuUocaS; 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 S1728495AbfGYGIc (ORCPT + 99 others); Thu, 25 Jul 2019 02:08:32 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:38951 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727530AbfGYGIb (ORCPT ); Thu, 25 Jul 2019 02:08:31 -0400 Received: by mail-wr1-f65.google.com with SMTP id x4so49284465wrt.6 for ; Wed, 24 Jul 2019 23:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=latsD49SbH6+14WTREJoq/H2WKuYcXOmWv0v0lWZfMo=; b=YHuUocaSQuBDb4/+my9nanv/AIgj+H3gXw2FWCnDH18O9Sxm/qfJ9hBycuupuqsSyr Q2hxlHfOF6YK5++nJOuJ8DLpjgJGuNXVTDmwX/x5y+LW/6V58NoDGh0T01lHBL+NYZ78 vVuL+uUhoUtrI4C1goiEMpKcZSb3X15aPhKzXl/3m/LwQJXBld/2BmTftSa0eZepVxSE W/Gh62II2Zc3TIErxNyRyA9hVZXru9veJ5Hg3red1HKi6ClYcvoOaatdWlTX8HXduuHJ XaXgyLk4oLHkdPQhyKzBjIRfv+UgBBf5AetkBMThgK3FIuXommwlOf7PS4DNf+YZZmXW Nr7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=latsD49SbH6+14WTREJoq/H2WKuYcXOmWv0v0lWZfMo=; b=LZNA/dAidEus0rY08cCYiu3R9kqYNVKWguMv/bUFAXzvmcrGh7uUZ5+pX7fLVOIkyk om4NIZHyu5c6bkFDCQyTr67+0zbidI+fjebFbahRQb41BjZYSubbxcUc+9XrLq/3VsZY sMpEWS4AZgQqNAq7Z8SmZdA6sKLCviU3maTL66ThGl94zPn1xtK4Phg4JD2El/chWB4Y FqK2B/id8WBNthbDHsvgIbEiJ091sEtL4MbZ+iwAUtiNcoqQiGVxeUzvTISdVgUY2X2c 3bXA24IerQt3CPXUogBT2BfmQ7MEktYq/94YRAug/+YoLT+ZT225HlhnRzSL0piyD1hK gZkQ== X-Gm-Message-State: APjAAAUN62iDWiol+rT4uz49IjxifjEiY7LHmpIE+PdXWdCXimtl0NPz IEw7zMNbBLOAfaYwTFQ+51SbF2lbnMYoG0sdOy8= X-Received: by 2002:adf:f450:: with SMTP id f16mr60328116wrp.335.1564034909544; Wed, 24 Jul 2019 23:08:29 -0700 (PDT) MIME-Version: 1.0 References: <20190722124833.28757-1-daniel.baluta@nxp.com> <20190722124833.28757-7-daniel.baluta@nxp.com> <20190724231342.GB6859@Asurada-Nvidia.nvidia.com> In-Reply-To: <20190724231342.GB6859@Asurada-Nvidia.nvidia.com> From: Daniel Baluta Date: Thu, 25 Jul 2019 09:08:18 +0300 Message-ID: Subject: Re: [alsa-devel] [PATCH 06/10] ASoC: dt-bindings: Document dl_mask property To: Nicolin Chen Cc: Daniel Baluta , Linux-ALSA , Viorel Suman , Timur Tabi , Xiubo Li , linuxppc-dev@lists.ozlabs.org, "S.j. Wang" , "Angus Ainslie (Purism)" , Takashi Iwai , Mark Brown , dl-linux-imx , Pengutronix Kernel Team , Fabio Estevam , Linux Kernel Mailing List , Lucas Stach Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 25, 2019 at 2:14 AM Nicolin Chen wrote: > > On Mon, Jul 22, 2019 at 03:48:29PM +0300, Daniel Baluta wrote: > > SAI supports up to 8 data lines. This property let the user > > configure how many data lines should be used per transfer > > direction (Tx/Rx). > > > > Signed-off-by: Daniel Baluta > > --- > > Documentation/devicetree/bindings/sound/fsl-sai.txt | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/sound/fsl-sai.txt b/Documentation/devicetree/bindings/sound/fsl-sai.txt > > index 2e726b983845..59f4d965a5fb 100644 > > --- a/Documentation/devicetree/bindings/sound/fsl-sai.txt > > +++ b/Documentation/devicetree/bindings/sound/fsl-sai.txt > > @@ -49,6 +49,11 @@ Optional properties: > > > + - fsl,dl_mask : list of two integers (bitmask, first for RX, second > > Not quite in favor of the naming here; And this patch should > be sent to the devicetree maillist and add DT maintainers -- > they would give some good naming advice. > > From my point of view, I feel, since data lines are enabled > consecutively, probably it'd be clear just to have something > like "fsl,num-datalines = <2 2>", corresponding to "dl_mask > = <0x3 0x3>". I believe there're examples in the existing DT > bindings, so let's see how others suggest. > Your suggestion looks good to me. Anyhow, after reading again the documentation it seems that datalines are not always required to be consecutive. The need to be consecutive only when FIFO combine mode is enabled. Will fix the documentation in the next version.