Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp676007lqc; Fri, 8 Mar 2024 08:33:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXraMdtrhf1vIwhzypRNlK8Vr7eqhEGuqPdM1VUvzBsna7YFEUrHawRD5YrXbvMAE/ozvtH3DLyTQ0muNbFAWwGg9hTmhDNWzR5ltYhEg== X-Google-Smtp-Source: AGHT+IG99DH9cJ5/jZgRsyfLVH/an/ArdaMtZh6dPVFshav854OYqT1ImKdGnWESao6pHWXs9/Bc X-Received: by 2002:a17:906:ca5a:b0:a45:ac0f:38d8 with SMTP id jx26-20020a170906ca5a00b00a45ac0f38d8mr7450211ejb.15.1709915618662; Fri, 08 Mar 2024 08:33:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709915618; cv=pass; d=google.com; s=arc-20160816; b=f+Q/D0r7ncoDBjT5//3iAd+G05/YrP2rKuXMawNYHV7LPIFxE8d+CZxVI6MiWeF+2S Nn6DdeUDtZfbyM8+u34rfiES8MKygjB6BWgehSEz+oH+FcS1qoa6U/k9ZzXIMK1TqAR/ 98L33KCChLe1wNdFG4FzdLymYWpmPBdTyV9GHCSZVEjYOnuJzoeqAGoVHM6b5HpHmDUM poDN3qwjKU3oMdZzs/zQFujzz0dSKf1j38YfO4yl2ZTvvdLSBvOKxOfz8EXA13VysKwn pEe8Ngxtr6wt/hSjyrh324yRIYPmZWpdQCoAxHceklXH8Os+6kQpieuhOkscAXkU9hVz JZUQ== 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=WZa+6331zoRfR+caCpCQ5AnGNCqm7O8N0tgNy9AkSg8=; fh=/b4rVqJL9qPCHQwIhmPHcknUurqjJf5lHiZGlFrcC3Y=; b=DXWVUM/GmKmts0G/K1M7mgGwQ38ZaTb9FLfnIGq6TaofvrGT41QBMkOWmye2Io4h7M WM8TiMXo4BcEZvDIhEppMc1sQoR2c9gmVYYxaMVVOQWo/z0TXAaeo6/8sc1vb6YpzBcK JZu9zgoIBhqwWjFHOEcCdrhrEB/d24/65c2jNmuwnmKKM+lUEZPB+4F22R8yD5M2lp/c RyEScST6eiIF841/GcurG1FoF+YyJEB0v++0HBMmErhqObz819QkQC4V05v+vjYlbfSJ dDzxPKt9dyPtFhEUYC1SIJjsY6laZdhxtZXb/CoIqM4vMGd/SzWLs5+gZN9Qm2KqEoyk w1vg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VkUsgxrv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-97309-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97309-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 hv10-20020a17090760ca00b00a446b381830si7286257ejc.946.2024.03.08.08.33.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 08:33:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97309-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=VkUsgxrv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-97309-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97309-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 52FD11F23A63 for ; Fri, 8 Mar 2024 16:33:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1492C1BC27; Fri, 8 Mar 2024 16:33:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VkUsgxrv" 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 20DCEE545; Fri, 8 Mar 2024 16:33:21 +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=1709915602; cv=none; b=oKO9LbMSQSeiKnqIePXkd16o83M8SYiOk3O+IpP/oRccpnsl5r4IcIaHBQPxK6w0Jd74Kw0wK6JBBEmq7ndwHbeD483srCm24pT4JmsKVyhCS5zyDj5/Meip6rnQIo6GuyNtSF8nRENIX3fgqMQ1+CP1I7jwtY5E0+oF+brIfO4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709915602; c=relaxed/simple; bh=r2+iM8M2Z34V5nudt6nzbhdrCjOpq+BHqqDCvSY1X98=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=epjhHKGBjBbrYX640CtsMa4Q6oZ+zqmlTrbZtdXCbToizCciGhWANDOXv5YE9/DFPCpGsG6B2Mw4EzqMyNAoB99mzMewPrLQv7ry3Xag+7xIOkGSDjpMOAMZCT2M8tKX2FwRp9YvRbiCssc9P5wvUQckA++/mdJh0hJrpZfA4C8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VkUsgxrv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75D48C43390; Fri, 8 Mar 2024 16:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709915601; bh=r2+iM8M2Z34V5nudt6nzbhdrCjOpq+BHqqDCvSY1X98=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VkUsgxrvaiRIAY8MlqNwt/I6J3aSpY4Yfp4yLCTeyny+YkWOloT61h5p8kBv5iLQj YLFM5fqZYNhideHjYSBtzmgl88FlgezOkSpF6ekmKKsJow2IX5QrYUY2kTqbkBjjRE Z9k/7U/V9FxiXMGLzACNmUT8D6H2F+foQH6+djUTLpy+vIGjdHUZsWWRfHvqC0sVD2 hpDUhbzoYFp7spQ4XwFGM3olq8+Jff7w3COQb2xiwWLOdjSlPqPSitqtXMrgpmM1GX LBQTi/K34cBXf3wcYQ6u7oPF2dpFCCsevuLX4a9AYsYbk5RA52J0ALZQeBS+lXQ8O3 qJGWOl4Y/ukZw== Date: Fri, 8 Mar 2024 16:33:16 +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, Conor Dooley Subject: Re: [PATCH v5 3/4] ASoC: dt-bindings: fsl-sai: allow only one dma-names Message-ID: <20240308-flyaway-hangup-112b11535823@spud> References: <20240307-asrc_8qxp-v5-0-db363740368d@nxp.com> <20240307-asrc_8qxp-v5-3-db363740368d@nxp.com> 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="AC0SKmhkrE3YKJD+" Content-Disposition: inline In-Reply-To: <20240307-asrc_8qxp-v5-3-db363740368d@nxp.com> --AC0SKmhkrE3YKJD+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 07, 2024 at 02:19:10PM -0500, Frank Li wrote: > Some sai only connect one direction dma (rx/tx) in SOC. For example: > imx8qxp sai5 only connect tx dma channel. So allow only one "rx" or "tx" > for dma-names. >=20 > Remove description under dmas because no user use index to get dma channe= l. > All user use 'dma-names' to get correct dma channel. dma-names already in > 'required' list. >=20 > Acked-by: Conor Dooley Could you please drop the ack when you change a patch significantly between versions? > Signed-off-by: Frank Li > --- > Documentation/devicetree/bindings/sound/fsl,sai.yaml | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Docum= entation/devicetree/bindings/sound/fsl,sai.yaml > index 2456d958adeef..93e7737a49a7b 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml > +++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml > @@ -81,15 +81,13 @@ properties: > =20 > dmas: > minItems: 1 > - items: > - - description: DMA controller phandle and request line for RX > - - description: DMA controller phandle and request line for TX > + maxItems: 2 > =20 > dma-names: > minItems: 1 > + maxItems: 2 > items: > - - const: rx > - - const: tx > + enum: [ rx, tx ] > =20 > interrupts: > items: >=20 > --=20 > 2.34.1 >=20 --AC0SKmhkrE3YKJD+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZes9zAAKCRB4tDGHoIJi 0uwUAQDcaoMs1u+9QgLu4SZf0tZtJEIUg5uNYbiBoVj3GhR5wwEA/LOxIJVjMGHJ DQtJaLtRvDKsgIRW78M+Zlg/BVuPhA8= =PcA6 -----END PGP SIGNATURE----- --AC0SKmhkrE3YKJD+--