Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3821532ybi; Mon, 29 Jul 2019 13:17:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwGZhrbhVXyXxZCdZ30csHonAdav4AFH/KAMu2LNZVASaZfRayQ/pN8OasMq0EvDfXMi8j X-Received: by 2002:aa7:9293:: with SMTP id j19mr39414721pfa.90.1564431426646; Mon, 29 Jul 2019 13:17:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564431426; cv=none; d=google.com; s=arc-20160816; b=AzNe6DINUUsDoYuXqoBEaKL01d+XeBQ0zRZy+WLUVzIUE5lDxsdU2RrsUPy6ydCuO2 smSWgFROQ6TcadgEe9B5Xqf7KjhwXJi7hdHB33Dfud8nQvhCyf0iBaTC0r5UGfbZIqRH xCAgTPqJ1YAbgf3durDCZsM/zsyq7JILndZLshAdzdUbDbdxLrY6BnKbvWIa3Hbi4Q7v R0pqAqadhqn7QoNR6wLDQOJsjwiC7CsjTovlAxW5dOWVrjwsHMxn0vp2u4OrArbL3AaN p0EUoijVePnxLUIdWU4HO60sz4yF+qhatatPVAhTo20NTV091qcmO63LWZKNNVAeqCmC ywrw== 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=a80YhmstvkFSvpLxuuKLo03NoSn39TaxaZX6joqs8MA=; b=t3wzBQbxGrXug3fRrkvQySM9dulyDWB/+zq9pp51cG/70e/mS5dce88P/Ddmy58Dmy WGB7snWO6q/WlFL++9bbrfZW1y6lFceAC2FiGfuZkE4Q20JoJPPo5ao55vY2dRNR+c8W 1qcL/Zf/agz3RcwXGH4GhzP3yOcbQRoEB/lxgns0exvVLP8gy/McItqcAVRjbfwibidc fc3RRtjDcnxc+Rfwb1wzkzkah2ZCgNj+YH4gSfuUmKv84OLkiFTHgpsTjOiVBfZuFzzh BAW35o07qtt0KoP6YeeerBO05tdBdYfdco9SMWy7xd/i/COeDoqgjpNFnXzgwT3x24hq 9Ymw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oAW3tFK8; 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 u1si24942155plb.234.2019.07.29.13.16.50; Mon, 29 Jul 2019 13:17:06 -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=oAW3tFK8; 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 S1730579AbfG2UOX (ORCPT + 99 others); Mon, 29 Jul 2019 16:14:23 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:41282 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730525AbfG2UOW (ORCPT ); Mon, 29 Jul 2019 16:14:22 -0400 Received: by mail-pg1-f194.google.com with SMTP id x15so18452937pgg.8; Mon, 29 Jul 2019 13:14:21 -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=a80YhmstvkFSvpLxuuKLo03NoSn39TaxaZX6joqs8MA=; b=oAW3tFK8X61jpoyXLcaKMiOnJ9TYUngRguXPgieCBQvf7vbjz8n4B8AGc7Yhk1Spov jfeQDaW7HSUgWSQJmGbemqCvojoYvAv060EXEN4coAflTTTFW0sx6k1g9dG+HbyQ+kqe qUQU0/i18Ci/UKnzWdJlUXx8+Ut03VJliGO3Ol7bvYUETBeW1y1xDi04lBy/SZvgDpl6 zl+NaAyW5bW5WdKekXOjlSfdQ9oDmyL0jqEAmq32QjWeml/Tl0I1Yc31Je+9sTMrqGj4 rjTSOmm/45LqyYqzmWonKjfTI0DCeWT4+80sPZ5FHFaQmYxVJ+gyW3Xw3n7TxC2z+RHd TgfA== 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=a80YhmstvkFSvpLxuuKLo03NoSn39TaxaZX6joqs8MA=; b=KI8aa0jgjSkK3Z5dBBMRdyHeYGw3E8+qhepVFpQud6JNPH9PGSdRWT9/DzbhZXvR1K CsGnIEjjEXllFPvk4HusQLsx9aQgl8qx0vaXYUwvVp3Nk5P7Nq+jybRTBFpuBOxXpsOW ai+2A7bBJ53wH097BNaRPAT8WJJEwPii54nWe9ky8WEodndIh+TZOaIbYUb4GyHC5agt x60UBCUf/cxA3r9NVfDgTG+YVq4ddZ5OZ2xO4klIuWOGAG1a8m/drYcK5T252HvlzeSf h6C0wo19A+Nx+YXV2XDgozOk+wYbM1lhmfiSG6/C785G3C5AgF8Bm+ov5kru4+sy0zFH Wi0w== X-Gm-Message-State: APjAAAUsIxOxKSWUu52mJp9TYqmHs9yT0msxZWODMLJJwxd46wR6NQ4W dZpd16329kwbsAT2ReyJHhA= X-Received: by 2002:a17:90a:9a83:: with SMTP id e3mr111562668pjp.105.1564431261030; Mon, 29 Jul 2019 13:14:21 -0700 (PDT) Received: from Asurada-Nvidia.nvidia.com (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id i74sm122243034pje.16.2019.07.29.13.14.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jul 2019 13:14:20 -0700 (PDT) Date: Mon, 29 Jul 2019 13:15:09 -0700 From: Nicolin Chen To: Daniel Baluta Cc: broonie@kernel.org, l.stach@pengutronix.de, mihai.serban@gmail.com, alsa-devel@alsa-project.org, viorel.suman@nxp.com, timur@kernel.org, shengjiu.wang@nxp.com, angus@akkea.ca, tiwai@suse.com, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org Subject: Re: [PATCH v2 4/7] ASoC: dt-bindings: Document dl-mask property Message-ID: <20190729201508.GB20594@Asurada-Nvidia.nvidia.com> References: <20190728192429.1514-1-daniel.baluta@nxp.com> <20190728192429.1514-5-daniel.baluta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190728192429.1514-5-daniel.baluta@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 Sun, Jul 28, 2019 at 10:24:26PM +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). This sounds a bit less persuasive to me as we are adding a DT property that's used to describe a hardware connections and it would be probably better to mention that the mapping between the mask and the data lines could be more flexible than consecutive active data lines as you said previously. > Signed-off-by: Daniel Baluta > --- > Documentation/devicetree/bindings/sound/fsl-sai.txt | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/fsl-sai.txt b/Documentation/devicetree/bindings/sound/fsl-sai.txt > index 2e726b983845..2b38036a4883 100644 > --- a/Documentation/devicetree/bindings/sound/fsl-sai.txt > +++ b/Documentation/devicetree/bindings/sound/fsl-sai.txt > @@ -49,6 +49,13 @@ Optional properties: > > - big-endian : Boolean property, required if all the SAI > registers are big-endian rather than little-endian. > + - fsl,dl-mask : list of two integers (bitmask, first for RX, second I am leaving this naming to DT maintainer. > + for TX) representing enabled datalines. Bit 0 > + represents first data line, bit 1 represents second > + data line and so on. Data line is enabled if > + corresponding bit is set to 1. By default, if property > + not present, only dataline 0 is enabled for both > + directions. To make this patch more convincing, could we add an example as well in the Example section of this binding file? Like: /* RX data lines 0/1 and TX data lines 0/2 are connected */ fsl,dl-mask = <0x3 0x5>;