Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp665688rdb; Sun, 28 Jan 2024 03:52:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDz5V5410X721su61Bew8QHaxG0opdkSnlhgbK/Z/UfCl6Q7NSczkyx2yPdezY9ZArRJxK X-Received: by 2002:a05:6358:4425:b0:176:91cd:1a94 with SMTP id z37-20020a056358442500b0017691cd1a94mr3610664rwc.33.1706442755998; Sun, 28 Jan 2024 03:52:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706442755; cv=pass; d=google.com; s=arc-20160816; b=z7jv6eUM9hUOej3vujN0pOTMvIGSJBuw3GiO9wWBsxYCv7Joo63WHXSAvh5lmzxm6h +FOiusikSaOfd/NgY1YJ40z7HhFRpCazKcs+RZYdZF5Oqy/nNazIG4xQZixmi+y/GILW +ukv8SWp9yjXfHLFpMFIf0GU4IRI6D+Y9AFOrXHiIlkN8+8wbh1iZ4StGwXkQyR7Nc8u uGs7OopZAX/p19pmYXk1wLyZF0ntUt55zYYgVQL61a//mSDLvFFrZoYPDjLOKqAU8mAR XN/RwQCV15SFmjtXSn1aWD/gcjv73aUiq1/zp8+GXaiOkDVfXieN3GucCTqNbGfjoXtz 848Q== 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=ME6x3xpliV60T4c5T0uWxK85MR3ycmlTzP2UGy/xPwk=; fh=UWiig1s3fmMOlTSMGWrEATJpXuAxUBcuTQXgzYQfeCg=; b=ME0npXfAjxtEq9QAJeAfvOqocN8X49Z2w19Gg/ED/wVr9nXFX+W7jiicKnD1xtrJVM yGulLAjVTYlSZrlHLgzVOavOKWC5hNGWmoKdJaYBxLHgplnc/fPx2LtuTDQP78mi9fAq afiExFjY9w9hSd0O3Dt7z3dSTSHbifLZikFFFWs174HUh4QN44w9P97GFAxkvgrbVdka oiQ1hKVH9nlgYhTOFWAPhhiDW35r4MbzYp4cLekuS3RyJlQyS1y6pafzrJu0i0P9Jpc6 ygTNmQN1aPNOLTVBUs/Po3VqzeEY4Qdljn7t0FUXbDvLmYjOfzyYHoHOh0jpRu1rwoAB c0Uw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WgdmjXpE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-41604-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g11-20020a1709026b4b00b001d6e8fa5b3asi3992618plt.610.2024.01.28.03.52.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 03:52:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41604-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WgdmjXpE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-41604-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41604-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1E0D3B21CCE for ; Sun, 28 Jan 2024 11:52:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D7EE208A4; Sun, 28 Jan 2024 11:52:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WgdmjXpE" 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 634341F93F; Sun, 28 Jan 2024 11:52:17 +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=1706442737; cv=none; b=Iu/semMTlUlZmlAtaFzsYK/Bqhrw39yu1tf2VK03sllq6I+kfIpXcV/8ExN15jcTJbbTC3nKGRWDZgSH5zqcn0OX4SzCmFPqQgESqZzzl9e/jxWAQBzolCrSJbQn7U9xOiEs4Cvmm8QjDsN/1YA3LsSIpUHsspbwk9KUjzRoAuw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706442737; c=relaxed/simple; bh=DWUruREuV56XioT1JmC92e6/6xkEVGX5lxDBmEj2D5o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DkHWIc9GEBc6xahxElnudEOkk6bLQAMo9WknvNxbLmBj3Hu7RThGf4OjLSkgw6S0XNcPCyZnS5bPnvTqSKmIAMpvwPH/nPE4IuadEcMmWLqYnzGEo/O5b6GMzCmAmppscamXQ9pyUERvfVGcRGDxbGh0IehtjvH7sqh7guoQ/Io= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WgdmjXpE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CDBAC433F1; Sun, 28 Jan 2024 11:52:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706442737; bh=DWUruREuV56XioT1JmC92e6/6xkEVGX5lxDBmEj2D5o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WgdmjXpEgJk67VqXsN/zDeYuy0OptjdBSDw39FktwLwmTqcsAoSXpRBIBZANfLehK wy0KUZpPdmxNMndX0pwFTw7Jx+E+kfY3XLYOjoOhF53V9fvHsi1rpt+o/JdeZ3q4PL QVaIy6eLbpaJFs6lb/khwIApPWmj9Vnc2bjguARZf44nwF4aYCKRjXZtjK4TsHwyE6 6rGM6LQwsRH7yjVCbi49/Q91TJ7IZnjr6aCZrKuVXe3X096FKxVoAHletP2Z8qk8w2 4QH8DEiibMl4buLDDW+iJnc7J3Qz4sofy/fIRqLDsk/QZ1XifrU495T3cyDxU7rkcb aZzkivNci53Iw== Date: Sun, 28 Jan 2024 11:52:11 +0000 From: Conor Dooley To: Chen-Yu Tsai Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jernej Skrabec , Samuel Holland , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Vinod Koul , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-sound@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/7] dt-bindings: dma: allwinner,sun50i-a64-dma: Add compatible for H616 Message-ID: <20240128-lumber-turban-a32709039bca@spud> References: <20240127163247.384439-1-wens@kernel.org> <20240127163247.384439-5-wens@kernel.org> 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="3filDIpPgYvC6Gxr" Content-Disposition: inline In-Reply-To: <20240127163247.384439-5-wens@kernel.org> --3filDIpPgYvC6Gxr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 28, 2024 at 12:32:44AM +0800, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai >=20 > The DMA controllers found on the H616 and H618 are the same as the one > found on the A100. The only difference is the DMA endpoint (DRQ) layout. >=20 > Since the number of channels and endpoints are described with additional > generic properties, just add a new H616-specific compatible string and > fallback to the A100 one. >=20 > Signed-off-by: Chen-Yu Tsai Acked-by: Conor Dooley Cheers, Conor. > --- > Changes since v1: > - Switch to "contains" for if-properties statement > - Fall back to A100 instead of H6 >=20 > .../bindings/dma/allwinner,sun50i-a64-dma.yaml | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-d= ma.yaml b/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.ya= ml > index ec2d7a789ffe..0f2501f72cca 100644 > --- a/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml > +++ b/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml > @@ -28,6 +28,9 @@ properties: > - items: > - const: allwinner,sun8i-r40-dma > - const: allwinner,sun50i-a64-dma > + - items: > + - const: allwinner,sun50i-h616-dma > + - const: allwinner,sun50i-a100-dma > =20 > reg: > maxItems: 1 > @@ -59,10 +62,11 @@ required: > if: > properties: > compatible: > - enum: > - - allwinner,sun20i-d1-dma > - - allwinner,sun50i-a100-dma > - - allwinner,sun50i-h6-dma > + contains: > + enum: > + - allwinner,sun20i-d1-dma > + - allwinner,sun50i-a100-dma > + - allwinner,sun50i-h6-dma > =20 > then: > properties: > --=20 > 2.39.2 >=20 --3filDIpPgYvC6Gxr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZbY/5wAKCRB4tDGHoIJi 0s+/AQDVwz+WvIMq2mM9erSGJtAYznAC59P2JyZJYmURWme/qQD/fGChAVqdsgui AX8DW7Jlp09pnmhWFzpPSLMz9MyJfg0= =hlqD -----END PGP SIGNATURE----- --3filDIpPgYvC6Gxr--