From patchwork Mon Feb 1 10:29:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 8177741 Return-Path: X-Original-To: patchwork-linux-renesas-soc@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 952C3BEEE5 for ; Mon, 1 Feb 2016 10:29:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 007712042B for ; Mon, 1 Feb 2016 10:29:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 48F3220430 for ; Mon, 1 Feb 2016 10:29:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753108AbcBAK3O (ORCPT ); Mon, 1 Feb 2016 05:29:14 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:21567 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752838AbcBAK3M (ORCPT ); Mon, 1 Feb 2016 05:29:12 -0500 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie1.idc.renesas.com with ESMTP; 01 Feb 2016 19:29:11 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 69AF34E19A; Mon, 1 Feb 2016 19:29:11 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 5D1382806E; Mon, 1 Feb 2016 19:29:11 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 56BD72806D; Mon, 1 Feb 2016 19:29:11 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id VAM25238; Mon, 1 Feb 2016 19:29:11 +0900 X-IronPort-AV: E=Sophos;i="5.22,379,1449500400"; d="scan'";a="204746474" Received: from mail-sg2apc01lp0245.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.245]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 01 Feb 2016 19:29:09 +0900 Authentication-Results: verge.net.au; dkim=none (message not signed) header.d=none; verge.net.au; dmarc=none action=none header.from=renesas.com; Received: from localhost (211.11.155.144) by TY1PR06MB0926.apcprd06.prod.outlook.com (10.164.99.152) with Microsoft SMTP Server (TLS) id 15.1.396.15; Mon, 1 Feb 2016 10:29:06 +0000 From: Yoshihiro Shimoda To: , , , , , , CC: , , Yoshihiro Shimoda Subject: [PATCH] arm64: dts: r8a7795: Add USB-DMAC device nodes Date: Mon, 1 Feb 2016 19:29:00 +0900 Message-ID: <1454322540-5608-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: HK2PR02CA0017.apcprd02.prod.outlook.com (25.163.104.155) To TY1PR06MB0926.apcprd06.prod.outlook.com (25.164.99.152) X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0926; 2:BraPI1GOw0+T80GzMoucKBH/CbSASKPthTiBnXpzG9OdIW7g0UXnIpNcSzQoesaL2eRNx3b1fKSpln8CsEMQZhnFJUnBDcNLdsMfKTQ3VxmSDyV8IgYnUr3F7k2MZGPuwX8KofIvSEf0rdrECvnP3A==; 3:B0JDowE0S6K/JWMQy0bvxw9uycpbWe4tfvSqp1KCA6AiZfwyvnQXjijMe5nTS0phT+G5LJSuYTDORl/XS1jB432JG/7LaxNB92+w5k09l0ecrUxUOU1CWocS+xz+8u7f; 25:Xfc75JmfnHM9vHKkshICvruOkEHXWA9Gt3jPYITEFq/vF4P7RBti+LRRAukkDmGuI/jxFmB0BCV0s2iwGnThrELVShR/5A2y5K6CIIZ1MaIgSEp++uHelNcoyxvZP8WZnPXjw/RSHpAHUUqG3aomHuzoqInj1YL21XSV/RlKDvy8NszZr/Gta87YEdJ8gNICCtxe6tASgrbquJ3d/a8TFpa/8YpKLBatCUGfXifSuk1lZwJul5CYiTuzm56w0sJO X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:TY1PR06MB0926; X-MS-Office365-Filtering-Correlation-Id: 57528702-0a33-405d-6e48-08d32af283e3 X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0926; 20:57j9XXfwjSzci3z3IXN7K/OUuYVK2PyYCvgg8uXigzi0o05LWPVhoIIlxNck3J1LAoDr2xFcq0Ji13Ncx+cC/hFpCKJAHf32uydegSkN8CLtczvnMOz7McJr7GlBw2BS3XwlAKICYAwEAJUmq7XRUx99jb3YWNXAqr4RQ6NLzceoqK9rj3n4i0Lntxk7TSFUZM9sgOUn0RCx+sAU7iDsglyczD7EleHmWSVKRf8ma9JtwDT/kB0SKroYZg7PtMm+1qVLmfF1ENE66an3DcTNSy86clLwkLu4AhnLuXDL3X871phOqyNqmpm7wIliaJFlme2LtyE4hrv4XkQbh4/ZvSwxpfSWo7O+5b1jWioINBl63xSYFS6mrqKnjKsbpfzELmbDlpquiJ44KWWfaa9aUKaot3nqfGrLQ1dKnTcGGZzebbs29bIIXjfAYQ8SG50UT/uMRBm4p2C6TfZiBQePwBCXjLfsI5XG2IrtU4SJmNTba0MT+T8qIYMIcxouA2ik; 4:nfVAYvIuxvC62d7XzneBGBC+0QGW1WEaGM3URXNEYIZH8WTcFLJqqGPB8olo+T/XGC3z+2B9fGwi8inR4pMtOx6zTMgWWtljnT7pjAGqIcXeFG+Lc3EYoPC8s1V9t4wB4SsCPEHnRMz/M1UI9DnxlXWK4l03F081G358JwyNjN6FS6eOoTsHE+RJZkjA6i4KCbNvtAyMrX0FvlqZJTZJnAwcDE14gZtBjYA2ddPgn/39oiNJCD2fjTkCjY2eGQfNfeZZvZ3oEKNsqYgcujsrUdzjSrMt8/h985JrXa8c7N9hvKMyETWI95/O/NnTOzIyrE53K3hV0br/5LWSSAZj9ej9jISHg/0JspKdBd4au5I0KYRUiO/4hILj09+hfjOMWgFh0sCrLSQiHELliJEH6F1slt2M8atJ3EJYlC /JA8w= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:TY1PR06MB0926; BCL:0; PCL:0; RULEID:; SRVR:TY1PR06MB0926; X-Forefront-PRVS: 0839D067E7 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6069001)(5008740100001)(19580405001)(36756003)(47776003)(50986999)(50226001)(19580395003)(66066001)(87976001)(229853001)(76506005)(4326007)(42186005)(107886002)(5001770100001)(5001960100002)(4001430100002)(42382002)(1096002)(78352003)(48376002)(77096005)(586003)(3846002)(122386002)(189998001)(33646002)(5004730100002)(3470700001)(2906002)(92566002)(5003940100001)(40100003)(50466002); DIR:OUT; SFP:1102; SCL:1; SRVR:TY1PR06MB0926; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; TY1PR06MB0926; 23:5nKUlnDdDrJXsXiAROxN+0YhtFtTGnIRDKGZVwWNZ?= =?us-ascii?Q?NuE6fUgggeLQa58vu/dii+/WOBGtoMW7zGuVzdQeRJ2KUq5Mwddn0I9/RC+q?= =?us-ascii?Q?DOngEZn+LAnNB95zQMJgSiViCvhXeItie0Ew1PDexF/BcestKNj3HPC64oR+?= =?us-ascii?Q?XuWYzu8yZg+nvZL1x63rRvyJYvIFD7X/5Ga/KIfc0wvGEG2If8wGznRB1Rsi?= =?us-ascii?Q?AjEhzpYHwbJlvzFzGvguz2wOaFWOCchtOh03WcsmY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nOFWPz2ITHSKplfHti6CPC1W0rcrhV4bCmY73h5kmTMwwEwy6pCs+rjrgv7zDwhiPMsJfQg==; 24:oO3kZkpKuCteyETBx+p7sQaJUuHO93H7Xy+4XdH6ebwJjPDKLTQDGiYeako4vrurImiJg1wvF5KP5pKVOmi0PRMKPBuzjDAagoZ1XUOHgWs=; 20:bV8QfRT3BbQhJM6TKRGIqZgRzHBXt/nhAzmvKyXzTEs1LPyJEIOjg5Dw/XfdebgSODrAEjpLfocrw74iQbzWpg3T+ZivdpOJWbpL6sS3rfIfFZNxh7hgr3d7ZQxgRy6XA/CT8drkw722HJxO8yYvJgZHgRH3k//6BJ5wd0HRSpk= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2016 10:29:06.8637 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY1PR06MB0926 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=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Signed-off-by: Yoshihiro Shimoda Acked-by: Geert Uytterhoeven --- This patch is based on the latest renesas.git / renesas-devel-20160129-v4.5-rc1 tag. (commit id = 0319e29efd838de5a7a4b589b8f07d9c1fd4abf6) This patch needs r8a7795-cpg-mssr.c update for usb-dmac clocks. arch/arm64/boot/dts/renesas/r8a7795.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 119549e..8cb1838 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -880,5 +880,31 @@ power-domains = <&cpg>; status = "disabled"; }; + + usb_dmac0: dma-controller@e65a0000 { + compatible = "renesas,r8a7795-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe65a0000 0 0x100>; + interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH + 0 109 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 330>; + power-domains = <&cpg>; + #dma-cells = <1>; + dma-channels = <2>; + }; + + usb_dmac1: dma-controller@e65b0000 { + compatible = "renesas,r8a7795-usb-dmac", + "renesas,usb-dmac"; + reg = <0 0xe65b0000 0 0x100>; + interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH + 0 110 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "ch0", "ch1"; + clocks = <&cpg CPG_MOD 331>; + power-domains = <&cpg>; + #dma-cells = <1>; + dma-channels = <2>; + }; }; };