Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp385607lqg; Fri, 1 Mar 2024 08:05:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW3OaX7jSl6tN0QQP7qr1f7dgRNfDnL8IEKDXGRv/CwLuZiPboNsBBNFWq1VH419wUg11TR35WTGrW6XUufWEld2LQocHWMYyPAnGXnSQ== X-Google-Smtp-Source: AGHT+IG8E//zLXC8wxEl2m8HtrRHekGUiVoXYWkwmEHfjie/hcE/KDd4ojRw0gYaUN9VE7MQ88Fv X-Received: by 2002:a17:906:ecea:b0:a44:6c90:fe80 with SMTP id qt10-20020a170906ecea00b00a446c90fe80mr1618134ejb.68.1709309149937; Fri, 01 Mar 2024 08:05:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709309149; cv=pass; d=google.com; s=arc-20160816; b=Ul6izq6oLcLSE+rMlUwD5MPVe7E6pKA5v4UuAmHAtBsKn8e2WsnrKKJWO/ztRRF7j6 +bXXoT2/h8AxhgS4xlwSZI4C1AsQZivFM+/MnV1ytZFIfycv+4uFWRFmlRelNo5OtPOF valcnqS0tN0JYPXNQXdP++xswgi577O1lBf9nimqVbGQqWRpSzCRZBgf57WEyttPmWC1 DI7tEiZU/l4mGJ4Tj6XX34vVrFLlPAo6QUykObbDl7AkBSaLcRO8mpClJ0BF24iaKcmX h2rMbb4M32ji4foRwY8qzUmfxYgnXYcgt0dLVpgHcVexkkgvt6rGxm4UJV1ro8VdAs2I fRtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UfrHZ1R7O53hSalPdX11qBJcr1u5j1oz31Fc6Mo6U3g=; fh=o7G789Y7txUmCMPoCI8T1NtiVfSh4OslPl+LjoO8GEM=; b=rmHUk+KqoaRP4XERd9bh2waq55pJs8jNx9HbLN8Wkj2TYRS5Z/6W8X8YKUAACLY3kE NVvFbiC2okSkKUGmAC2ymc1dNqd9VzWASTGsdRukjIJ7NYe7iTgPY6Hff5QLENDXCBKi b1bLcx5yxOxBWXV19ihV0pPMFX0rgKhJzDrzHtLqnY6TD2Ys71f8FRDG3uBbgQMEqQDm O6nVP+XCI7TKNsFZUmXErnkyQXnXtrF8J9OFQYKDirpFoKvkLWn3ep28eCfv511ED34z RMmYORd9kPlB/DaUPRI8A8uRy3wNMOUgcrnojHjBUrtKB+Aegsw77v5ksrKuEcS5db61 7zwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QK6yF6U2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-88661-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88661-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gs40-20020a1709072d2800b00a44b121be33si250276ejc.198.2024.03.01.08.05.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 08:05:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88661-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QK6yF6U2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-88661-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88661-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 75FEE1F23D3F for ; Fri, 1 Mar 2024 16:05:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2505970CB3; Fri, 1 Mar 2024 16:05:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QK6yF6U2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40AC338DC3; Fri, 1 Mar 2024 16:05:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709309131; cv=none; b=Tt+0qk+/7TKO55mQ48Qevh8bK3nPYHdyrcEggpqJZGhDhYcipn1MRiWuFn0dXBG7pm6LT1sTfDZ60VeNrGkszN72rvEkdaNEO47HdmV2W2CDNktPA//OIaPGwJmxasIAe+CzAqzxvOpOaKOXdTAwLQj8eZUC8K+Y6i7lR9NJjWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709309131; c=relaxed/simple; bh=rVW9AEO5L6z97bsCb2BGNYw/xLkhAfUG8wSYzGdCvpI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dibLd5t1C3dt2hJnlH95khW3F4qFSiEw+Vi+qCMwik+yWhSXtbA6/d/1cJetOf9c7snJk+yiN4ZJ+0T0wH2jOwbQsECcUJ3cOuSbp6E3bEDinvEuaPk7y2Z94wtadl9qOZ2UWAja9TeTORJnmsqGCDgsT6mQkrEg7iH23gqIMD4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QK6yF6U2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A74EC433C7; Fri, 1 Mar 2024 16:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709309130; bh=rVW9AEO5L6z97bsCb2BGNYw/xLkhAfUG8wSYzGdCvpI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QK6yF6U22HPa80VMPZAdA7clsYc9ldvaMPHwnU5+38ck6ghTDFZTooOQEeB8XCJZs kW7HIAMXb1aBdpmlDNYlNpXMaHrXb8WGYbRDCkEZ4P2VCIL66n2Mc/0WQxWdwepQZo 1SMRFqzIMYdySBoKVlUAckwRDxejhqFJFfvf0ErfsO2cB6eepTJPRKNW2v3sJABQDb EV6un8ZY706NeKCMb+Zk/xnbcqLyAbWNApVzoI1ub9muV9nHm7m6fnRtv2w9xSeOwk o7rTs79dzwurOW1hSiSAmcJGfEmZo+/JGuNOGMAZrZFAY6kgMXY4cHi+FYDXEgwaDM 1/+LzEuz/alOg== Date: Fri, 1 Mar 2024 16:05:25 +0000 From: Conor Dooley To: Frank Li Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/4] ASoC: dt-bindings: fsl-sai: allow only one dma-names Message-ID: <20240301-crudeness-resale-3c0a1228850d@spud> References: <20240227-asrc_8qxp-v2-0-521bcc7eb1c0@nxp.com> <20240227-asrc_8qxp-v2-3-521bcc7eb1c0@nxp.com> <20240229-husband-penalty-8c1ab0f57f55@spud> <20240229-rundown-isotope-954ba9ea4c57@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zZCgftqPN9gmkuL1" Content-Disposition: inline In-Reply-To: --zZCgftqPN9gmkuL1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 29, 2024 at 02:38:24PM -0500, Frank Li wrote: > On Thu, Feb 29, 2024 at 06:57:29PM +0000, Conor Dooley wrote: > > On Thu, Feb 29, 2024 at 06:55:58PM +0000, Conor Dooley wrote: > > > On Tue, Feb 27, 2024 at 03:54:11PM -0500, Frank Li wrote: > > > > Some sai only connect one direction. So allow only "rx" or "tx" for > > > > dma-names. > > >=20 > > > Which sai? Can you restrict this per compatible please, so that someo= ne > > > cannot add 2 dmas for ones where only the tx is supported. > > >=20 > > > | dmas: > > > | minItems: 1 > > > | items: > > > | - description: DMA controller phandle and request line for RX > > > | - description: DMA controller phandle and request line for TX > > >=20 > > > The binding already allows only one, but it documents that the first = dma > > > is always the RX dma, and that doesn't change with this patch.. > >=20 > > I said "doesn't change" - but I don't think you can change this > > trivially, as something could rely on the first dma being the rx one. > > You'd have to check that there is nothing using these using indices > > rather than names before making any changes here. >=20 > Linux driver and dts with tx only work well. Only issue is dtb_check will > report error. I want to eliminate these DTB_CHECK warning. Linux is not the only user of these bindings, citing linux as your evidence here is only sufficient if no other users exist. Do they? > And it also reasonable, only rx or tx for a special SAI. >=20 > Can we remove 'description'? dmas should already descripted at common pla= ce > and 'RX' and 'TX' are listed at 'dma-names' Removing the description has the same problem. The existing binding has set a fixed order that you now want to make flexible. Thanks, Conor. --zZCgftqPN9gmkuL1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZeH8xQAKCRB4tDGHoIJi 0jzLAQDD7qaiVIh5k+1icra1khOuagWcwolMz38Pf4nuzJIXjwEAnnqTFIXEW5NP EVc5LseIyIToZ1a+TcVfIdL4iMIvTwA= =0N5o -----END PGP SIGNATURE----- --zZCgftqPN9gmkuL1--