From patchwork Thu Aug 27 19:02:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 7086791 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 8D5E1BF036 for ; Thu, 27 Aug 2015 19:02:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BAB1A208F6 for ; Thu, 27 Aug 2015 19:02:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E92F42083D for ; Thu, 27 Aug 2015 19:02:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752351AbbH0TCh (ORCPT ); Thu, 27 Aug 2015 15:02:37 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:55895 "EHLO albert.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752744AbbH0TCf (ORCPT ); Thu, 27 Aug 2015 15:02:35 -0400 Received: from ayla.of.borg ([31.5.182.137]) by albert.telenet-ops.be with bizsmtp id 9v2Z1r01J2yGKqv06v2Z33; Thu, 27 Aug 2015 21:02:34 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1ZV2RV-0000Od-8A; Thu, 27 Aug 2015 21:02:33 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1ZV2RX-0000Na-ND; Thu, 27 Aug 2015 21:02:35 +0200 From: Geert Uytterhoeven To: Kuninori Morimoto , Simon Horman , Magnus Damm Cc: linux-sh@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 3/5] arm64: renesas: r8a7795 dtsi: Add pll1_div2 clock Date: Thu, 27 Aug 2015 21:02:29 +0200 Message-Id: <1440702151-1406-4-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440702151-1406-1-git-send-email-geert+renesas@glider.be> References: <1440702151-1406-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=-8.3 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 the pll1_div2 clock, which runs at half the frequency of pll1. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 54f2a2b0e1158335..7a9dee91fee6ba7b 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -71,6 +71,15 @@ #clock-cells = <1>; ranges; + pll1_div2_clk: pll1_div2 { + compatible = "fixed-factor-clock"; + clocks = <&cpg_clocks R8A7795_CLK_PLL1>; + #clock-cells = <0>; + clock-div = <2>; + clock-mult = <1>; + clock-output-names = "pll1_div2"; + }; + zt_clk: zt { compatible = "fixed-factor-clock"; clocks = <&cpg_clocks R8A7795_CLK_PLL1>;