From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 81206C47258 for ; Sun, 28 Jan 2024 11:52:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2zaDXUI8X+RqP0l6w2r2yut1Uw+M7d0PpgDtH/A2gGM=; b=N5L06iqR83e5s2HGLRxXFvBe9V cnUXc5hfIeSlZSpHka1S+UIVUeifOPdrWtAoHOeoTV1yAu9g3a6LPacGOyXTIG2rkIanoMXkgVkxL 7X95o9d57y6yDEbIVWesdO5iHIvnI5fB5ig7GySNHZV35zjpnsTOwNTqSU97geSd5JUmIVWVmJGOP O5HZBZy784Ci5qbpYADnSkzu4I2rfeHVT1P3J3Vmb+V2MqiJZ3WbovSnOI+ZoFNyRUwyK4PiqCNqL AtmD6NxThScav5FblbT+hoUTxbX3ib8YukJ18CwOWq8CZuR/aUPT5BhOzZ6EEBmy4dn1mbtNINPZj GDN10ZJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rU3i3-00000009Mib-1XUd; Sun, 28 Jan 2024 11:52:23 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rU3hz-00000009MhD-462w for linux-arm-kernel@lists.infradead.org; Sun, 28 Jan 2024 11:52:21 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id B0B90CE0B80; Sun, 28 Jan 2024 11:52:17 +0000 (UTC) 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> MIME-Version: 1.0 In-Reply-To: <20240127163247.384439-5-wens@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240128_035220_398450_3176C19F X-CRM114-Status: GOOD ( 19.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4474773763873671022==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4474773763873671022== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3filDIpPgYvC6Gxr" Content-Disposition: inline --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-- --===============4474773763873671022== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4474773763873671022==--