From patchwork Thu Jan 26 10:11:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 9538751 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B2E0B601D3 for ; Thu, 26 Jan 2017 10:11:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4F54280D0 for ; Thu, 26 Jan 2017 10:11:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 99E172823D; Thu, 26 Jan 2017 10:11:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58261280D0 for ; Thu, 26 Jan 2017 10:11:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752942AbdAZKLy (ORCPT ); Thu, 26 Jan 2017 05:11:54 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:46334 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752968AbdAZKLV (ORCPT ); Thu, 26 Jan 2017 05:11:21 -0500 Received: from penelope.kanocho.kobe.vergenet.net (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPSA id 5E03A25BEC6; Thu, 26 Jan 2017 21:11:14 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1485425474; bh=EDwD05baT8+IFaB0NPDKo6V1Yj4DDipzDTRhw3ZJN2k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i4Fm1XN+yLeJJ6IDm84CtRnbzIiU/8bxc+ILkC9uJgxUEKPikxLhZCtA1GeanejuR brWpITslEy2VLgM6SvvmMnvpaueFc3fauaKSPxoI12BNpoU1UdG9g1q9NPkGlDXnhy R8SFDOqrbxKD0PD3r1k3yyGKKRxHYcHzvijQwqrI= Received: by penelope.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id 443F9607AA; Thu, 26 Jan 2017 11:11:10 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Geert Uytterhoeven , Simon Horman Subject: [PATCH 3/7] ARM: dts: r8a7745: Link ARM GIC to clock and clock domain Date: Thu, 26 Jan 2017 11:11:05 +0100 Message-Id: X-Mailer: git-send-email 2.7.0.rc3.207.g0ac5344 In-Reply-To: References: Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Geert Uytterhoeven Link the ARM GIC to the INTC-SYS module clock, and add it to the SYSC "always-on" PM Domain, so it can be power managed using that clock. Note that currently the GIC-400 driver doesn't support module clocks nor Runtime PM, so this must be handled as a critical clock. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7745.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index 2f60c3cb9117..a81dcc82e2ea 100644 --- a/arch/arm/boot/dts/r8a7745.dtsi +++ b/arch/arm/boot/dts/r8a7745.dtsi @@ -60,6 +60,9 @@ <0 0xf1006000 0 0x2000>; interrupts = ; + clocks = <&cpg CPG_MOD 408>; + clock-names = "clk"; + power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; }; irqc: interrupt-controller@e61c0000 {