From patchwork Tue Dec 15 13:26:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 7854671 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5E2B1BEEE1 for ; Tue, 15 Dec 2015 13:25:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 92F1F2035E for ; Tue, 15 Dec 2015 13:25:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE9A8201BB for ; Tue, 15 Dec 2015 13:25:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933190AbbLONZN (ORCPT ); Tue, 15 Dec 2015 08:25:13 -0500 Received: from mail-pa0-f42.google.com ([209.85.220.42]:34367 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932176AbbLONZM (ORCPT ); Tue, 15 Dec 2015 08:25:12 -0500 Received: by mail-pa0-f42.google.com with SMTP id wq6so4877412pac.1 for ; Tue, 15 Dec 2015 05:25:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=hFnLCFJdRRrQ7kOQXnF+HQNx8KHY57SJJ+67itTBYU8=; b=yBP8BpNwgOro12xryjA0Bgr1P3fHAkpBSbpHCdiyiHlKsL8bDRCYdClKQjJUSni5TS jsinfZi6LIbbpWYhX5woFZXC4uRrRPaIYp/6reKfADqiNKhcM5uP7EMmlw8zt6qRWKtO MAUtwedqff0snOiNO40DagAT2R+zdQRd4LCjTWuZFiSA7+ZLx58wp/Y3w4r0bNVysf3j RjcWE6Hq14EOKASSITYgO89wmCfzvCiEJ0+YqcjpfulqnipmDpwMCmaqES8ot/cdys2x 5mjYhlSAedEItY5JmqXckNKqh3QXzgzDz3ji3iQrWCWCDBNp5kXlNiFqMoMmuv0JwF3z WaMw== X-Received: by 10.66.138.101 with SMTP id qp5mr54056787pab.113.1450185912007; Tue, 15 Dec 2015 05:25:12 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id z18sm2479039pfi.22.2015.12.15.05.25.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Dec 2015 05:25:11 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: horms+renesas@verge.net.au, Magnus Damm , laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be Date: Tue, 15 Dec 2015 22:26:52 +0900 Message-Id: <20151215132652.15356.75661.sendpatchset@little-apple> In-Reply-To: <20151215132634.15356.29848.sendpatchset@little-apple> References: <20151215132634.15356.29848.sendpatchset@little-apple> Subject: [PATCH/RFC 02/03] ARM: shmobile: r8a7795: Hack up SYS-DMAC0 support Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm This hooks up SYS-DMAC0 as r8a7795 device node. Note that the generic compat string is used, this should be replaced by SoC-specific compat string. Not for upstream merge. Signed-off-by: Magnus Damm --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0003/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7795.dtsi 2015-11-10 20:48:56.410513000 +0900 @@ -295,7 +295,35 @@ }; dmac0: dma-controller@e6700000 { - /* Empty node for now */ + compatible = "renesas,rcar-dmac"; + reg = <0 0xe6700000 0 0x10000>; + interrupts = <0 119 IRQ_TYPE_LEVEL_HIGH + 0 200 IRQ_TYPE_LEVEL_HIGH + 0 201 IRQ_TYPE_LEVEL_HIGH + 0 202 IRQ_TYPE_LEVEL_HIGH + 0 203 IRQ_TYPE_LEVEL_HIGH + 0 204 IRQ_TYPE_LEVEL_HIGH + 0 205 IRQ_TYPE_LEVEL_HIGH + 0 206 IRQ_TYPE_LEVEL_HIGH + 0 207 IRQ_TYPE_LEVEL_HIGH + 0 208 IRQ_TYPE_LEVEL_HIGH + 0 209 IRQ_TYPE_LEVEL_HIGH + 0 210 IRQ_TYPE_LEVEL_HIGH + 0 211 IRQ_TYPE_LEVEL_HIGH + 0 212 IRQ_TYPE_LEVEL_HIGH + 0 213 IRQ_TYPE_LEVEL_HIGH + 0 214 IRQ_TYPE_LEVEL_HIGH + 0 215 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15"; + clocks = <&cpg CPG_MOD 219>; + clock-names = "fck"; + power-domains = <&cpg>; + #dma-cells = <1>; + dma-channels = <16>; }; dmac1: dma-controller@e7300000 {