From patchwork Mon Jan 18 05:08:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 8052281 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id ED8AD9F1CC for ; Mon, 18 Jan 2016 05:06:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5113F2024C for ; Mon, 18 Jan 2016 05:06:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A21EE2022D for ; Mon, 18 Jan 2016 05:06:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750789AbcARFGc (ORCPT ); Mon, 18 Jan 2016 00:06:32 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:34942 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775AbcARFGb (ORCPT ); Mon, 18 Jan 2016 00:06:31 -0500 Received: by mail-pa0-f50.google.com with SMTP id ho8so166824539pac.2 for ; Sun, 17 Jan 2016 21:06:31 -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=FnMZ9q+yQizYwIn0DSReJh8WnKg3O3RqqejksBqlJWI=; b=MAoMmbXMI/sYmPXReaRoe2xdnxRGPeDn7/kgZys2tRko/S7AYCCDrd3b+BGZ/Y1Fd1 7G7UAe8GCMXraMAgDSFAdu76/5JzOnI/AS69OU+ni/LO5/qOLRRAiXVdy9ZVfIchbsKr LIUbipviOIqTWjJWcAdgtFbIUxlVH0eildR+KMWGsl1MoUZPdp5fSRiuTOFOAdH1Zr2R CJlt/QDpTXO+MsU/qPQS/jIoW63+FqS3NOLM5MQR6Bfya392it1fdfXbchpNmETYSB+r XUKk4JmCJL+kwF18ZDjzQWcVH4TajEDPnsWhVvC0Iec+yCx0yyq7eoRIpqV7TNKm/3NA HRbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=FnMZ9q+yQizYwIn0DSReJh8WnKg3O3RqqejksBqlJWI=; b=HU0poPBSBz0VWWlMAp5FraMWg6Ah+FQgkMfGg+zhYf1uTggTa/j6O1VFvzqyqdYLNL +A8F7CcMKXIdMyLrhmKTEFlnjG8V4vQ6jOQiZ8eu7RkK661rwBOnAWAxQAqH/U+kb6Gz fsRK9oZvhSguY7K9XBTkaKGeXMvDiJLiRyOSy55riZFBM71iRlFjRbg9NxsVq1ClzEuR FSNQgN8zHVR4ub+izTxXbGzesVsN2mujyO+/ymmz5wQLqrmeKGC0glGn0T5H/28GzwEs FPPVnl5hPnsMuNwfJaceN4z8NMNkTUtIKeZX/ZqSniabrHpM9Ii7xqqcG3Nzo/WGkXb2 qTKg== X-Gm-Message-State: ALoCoQlLq1KwyzL+Sh6SeRwbAc5sFQq3aM48gDpljpthkCJOr0QmFVEtPo7ka42SdEpWpi6Ri+10yOrhSeFF0rYd4rfmKWS+tg== X-Received: by 10.66.152.204 with SMTP id va12mr34185387pab.0.1453093591396; Sun, 17 Jan 2016 21:06:31 -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 r15sm24588690pfr.59.2016.01.17.21.06.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jan 2016 21:06:30 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: horms+renesas@verge.net.au, Magnus Damm , laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be Date: Mon, 18 Jan 2016 14:08:48 +0900 Message-Id: <20160118050848.20358.62538.sendpatchset@little-apple> In-Reply-To: <20160118050831.20358.83393.sendpatchset@little-apple> References: <20160118050831.20358.83393.sendpatchset@little-apple> Subject: [PATCH/RFC v2 02/03] ARM: shmobile: r8a7795: Hack up SYS-DMAC0 support Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@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, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Acked-by: Laurent Pinchart --- Changes since V1: - The SYS-DMAC error IRQ is updated to match the documentation. arch/arm64/boot/dts/renesas/r8a7795.dtsi | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) --- 0001/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7795.dtsi 2016-01-15 17:29:01.860513000 +0900 @@ -350,7 +350,35 @@ }; dmac0: dma-controller@e6700000 { - /* Empty node for now */ + compatible = "renesas,rcar-dmac"; + reg = <0 0xe6700000 0 0x10000>; + interrupts = <0 199 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 {