Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp828643pxb; Thu, 28 Jan 2021 00:51:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJyEbDCcukV+4RpL+IQWO170jVVvQvN64OvCogf2u7XEcH8cUDY0EGc3ybkUMj3DyFUjEs73 X-Received: by 2002:a17:906:59a:: with SMTP id 26mr9914984ejn.309.1611823875202; Thu, 28 Jan 2021 00:51:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611823875; cv=none; d=google.com; s=arc-20160816; b=RxtpCjmvveT5NT/Ip4NccMtms4LTHGxjRnhBulrlCmFjo3X+ke4/p9Bak3ygqFtkZ/ /VOKvcXOunIYDyenP25Yh5lAJEBkF09D/fNXowGBFx935sBzaPRMpFuYdnZ+jOCsG+gZ DxhwjHjJF3uBOEXHslagchevQ/50C1QG9QNf0SuhbX54kUUf/wW4gE0ub7V8GGXGIbMs vSgMJPs0j6lqHmev9MA/8agwNfXXweSnuCaFXo6Zjt5hRTAqDamoJHI5/BST0OUZC/KM y6E/W+pVG3BwA8xq0tGPED+pdDeBP7Xj2rLFJToXTZ0nJ7yuXcnLCab3BzVh0NBgLQqe MGOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=z2Lajy64oIzhtx0+VL2xolaA7Bwxh6WkMt/lQEKmVXU=; b=YTyn0uXoYOD8rbsWXrR9gb7isNNulq6RZVr85jO1hrxb0euBqu6Vt+JvUN6S39LrvT 6KKKYtqzHTXG5dzWxSE87BdV0hNUX3CqoS4+v4wUgnPoxE7nPDEPFXiu1fmbxU7eDzg+ BMhlweqMaXg9QDjZuMmAB48n7uvNAyw9SODnJkvsfBNu44lU+GWfkR0s/baxiqPzqYFz S6BMTj3DHPvqPyMrLhO3nbXPEiec6KVDFJ0hIAP/GjZ+Jka6td7aAbCa6h+IMwixhtBY qMMxWyBvsUAdNJ3EsLYPEQ0q5MXstneIpziCr72SCZwGETMMn9hh/yjgX4s/SIFgWJLh hx3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c1si2593965edq.160.2021.01.28.00.50.50; Thu, 28 Jan 2021 00:51:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232200AbhA1IsY (ORCPT + 99 others); Thu, 28 Jan 2021 03:48:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232307AbhA1Ipu (ORCPT ); Thu, 28 Jan 2021 03:45:50 -0500 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D347C061352 for ; Thu, 28 Jan 2021 00:45:02 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by xavier.telenet-ops.be with bizsmtp id N8kx2400h4C55Sk018kxwB; Thu, 28 Jan 2021 09:45:00 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l52vB-001JYP-EM; Thu, 28 Jan 2021 09:44:57 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1l52vA-009O1g-V7; Thu, 28 Jan 2021 09:44:56 +0100 From: Geert Uytterhoeven To: Vinod Koul Cc: Rob Herring , Dan Williams , Laurent Pinchart , Wolfram Sang , Yoshihiro Shimoda , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Rob Herring Subject: [PATCH v3 1/4] dt-bindings: renesas,rcar-dmac: Add r8a779a0 support Date: Thu, 28 Jan 2021 09:44:52 +0100 Message-Id: <20210128084455.2237256-2-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210128084455.2237256-1-geert+renesas@glider.be> References: <20210128084455.2237256-1-geert+renesas@glider.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the compatible value for the Direct Memory Access Controller blocks in the Renesas R-Car V3U (R8A779A0) SoC. The most visible difference with DMAC blocks on other R-Car SoCs is the move of the per-channel registers to a separate register block. Signed-off-by: Geert Uytterhoeven Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart --- v3: - Add Reviewed-by, v2: - Add Reviewed-by. --- .../bindings/dma/renesas,rcar-dmac.yaml | 76 ++++++++++++------- 1 file changed, 48 insertions(+), 28 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml b/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml index c07eb6f2fc8d2f12..7f2a54bc732d3a19 100644 --- a/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml +++ b/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml @@ -14,34 +14,37 @@ allOf: properties: compatible: - items: - - enum: - - renesas,dmac-r8a7742 # RZ/G1H - - renesas,dmac-r8a7743 # RZ/G1M - - renesas,dmac-r8a7744 # RZ/G1N - - renesas,dmac-r8a7745 # RZ/G1E - - renesas,dmac-r8a77470 # RZ/G1C - - renesas,dmac-r8a774a1 # RZ/G2M - - renesas,dmac-r8a774b1 # RZ/G2N - - renesas,dmac-r8a774c0 # RZ/G2E - - renesas,dmac-r8a774e1 # RZ/G2H - - renesas,dmac-r8a7790 # R-Car H2 - - renesas,dmac-r8a7791 # R-Car M2-W - - renesas,dmac-r8a7792 # R-Car V2H - - renesas,dmac-r8a7793 # R-Car M2-N - - renesas,dmac-r8a7794 # R-Car E2 - - renesas,dmac-r8a7795 # R-Car H3 - - renesas,dmac-r8a7796 # R-Car M3-W - - renesas,dmac-r8a77961 # R-Car M3-W+ - - renesas,dmac-r8a77965 # R-Car M3-N - - renesas,dmac-r8a77970 # R-Car V3M - - renesas,dmac-r8a77980 # R-Car V3H - - renesas,dmac-r8a77990 # R-Car E3 - - renesas,dmac-r8a77995 # R-Car D3 - - const: renesas,rcar-dmac - - reg: - maxItems: 1 + oneOf: + - items: + - enum: + - renesas,dmac-r8a7742 # RZ/G1H + - renesas,dmac-r8a7743 # RZ/G1M + - renesas,dmac-r8a7744 # RZ/G1N + - renesas,dmac-r8a7745 # RZ/G1E + - renesas,dmac-r8a77470 # RZ/G1C + - renesas,dmac-r8a774a1 # RZ/G2M + - renesas,dmac-r8a774b1 # RZ/G2N + - renesas,dmac-r8a774c0 # RZ/G2E + - renesas,dmac-r8a774e1 # RZ/G2H + - renesas,dmac-r8a7790 # R-Car H2 + - renesas,dmac-r8a7791 # R-Car M2-W + - renesas,dmac-r8a7792 # R-Car V2H + - renesas,dmac-r8a7793 # R-Car M2-N + - renesas,dmac-r8a7794 # R-Car E2 + - renesas,dmac-r8a7795 # R-Car H3 + - renesas,dmac-r8a7796 # R-Car M3-W + - renesas,dmac-r8a77961 # R-Car M3-W+ + - renesas,dmac-r8a77965 # R-Car M3-N + - renesas,dmac-r8a77970 # R-Car V3M + - renesas,dmac-r8a77980 # R-Car V3H + - renesas,dmac-r8a77990 # R-Car E3 + - renesas,dmac-r8a77995 # R-Car D3 + - const: renesas,rcar-dmac + + - items: + - const: renesas,dmac-r8a779a0 # R-Car V3U + + reg: true interrupts: minItems: 9 @@ -110,6 +113,23 @@ required: - power-domains - resets +if: + properties: + compatible: + contains: + enum: + - renesas,dmac-r8a779a0 +then: + properties: + reg: + items: + - description: Base register block + - description: Channel register block +else: + properties: + reg: + maxItems: 1 + additionalProperties: false examples: -- 2.25.1