From patchwork Thu Aug 6 13:33:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 6958781 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@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 45DFF9F39D for ; Thu, 6 Aug 2015 13:33:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 66CCE206F6 for ; Thu, 6 Aug 2015 13:33:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 69693206F9 for ; Thu, 6 Aug 2015 13:33:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752673AbbHFNdl (ORCPT ); Thu, 6 Aug 2015 09:33:41 -0400 Received: from [195.130.137.90] ([195.130.137.90]:55242 "EHLO albert.telenet-ops.be" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753442AbbHFNdl (ORCPT ); Thu, 6 Aug 2015 09:33:41 -0400 Received: from ayla.of.borg ([84.193.93.87]) by albert.telenet-ops.be with bizsmtp id 1RZK1r00h1t5w8s06RZKsx; Thu, 06 Aug 2015 15:33:19 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1ZNLIN-0003i9-NE; Thu, 06 Aug 2015 15:33:19 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1ZNLIN-0001Ii-ML; Thu, 06 Aug 2015 15:33:19 +0200 From: Geert Uytterhoeven To: Kuninori Morimoto , Gaku Inami , Takeshi Kihara , Simon Horman , Magnus Damm Cc: linux-sh@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH/RFC 2/2] arm64: renesas: r8a7795 dtsi: Add CPG/MSTP Clock Domain Date: Thu, 6 Aug 2015 15:33:09 +0200 Message-Id: <1438867989-4942-3-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438867989-4942-1-git-send-email-geert+renesas@glider.be> References: <1438867989-4942-1-git-send-email-geert+renesas@glider.be> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Add an appropriate "#power-domain-cells" property to the cpg_clocks device node, to create the CPG/MSTP Clock Domain. Add "power-domains" properties to all device nodes for devices that are part of the CPG/MSTP Clock Domain and can be power-managed through an MSTP clock. This applies to most on-SoC devices, which have a one-to-one mapping from SoC device to DT device node. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index db0828ad475986c0..25f03049b7d94bbe 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -91,6 +91,7 @@ #clock-cells = <1>; clock-output-names = "main", "pll0", "pll1","pll2", "pll3", "pll4"; + #power-domain-cells = <0>; mstp3_clks: mstp3_clks@e615013c { compatible = "renesas,r8a7795-mstp-clocks", @@ -109,6 +110,7 @@ interrupts = ; clocks = <&mstp3_clks RCAR_R8A7795_CLK_SCIF2>; clock-names = "sci_ick"; + power-domains = <&cpg_clocks>; }; }; };