From patchwork Fri Dec 11 02:52:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7823711 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 BF2429F1C2 for ; Fri, 11 Dec 2015 02:53:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 051EC2056D for ; Fri, 11 Dec 2015 02:53:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 06B8420576 for ; Fri, 11 Dec 2015 02:53:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753010AbbLKCxX (ORCPT ); Thu, 10 Dec 2015 21:53:23 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:60851 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752911AbbLKCxW (ORCPT ); Thu, 10 Dec 2015 21:53:22 -0500 Received: from reginn.isobedori.kobe.vergenet.net (p5254-ipbfp1403kobeminato.hyogo.ocn.ne.jp [114.152.48.254]) by kirsty.vergenet.net (Postfix) with ESMTPA id 1141A25BE83; Fri, 11 Dec 2015 13:53:06 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1449802386; bh=VmTQzIrvCkigL1bhu+KiZFVYJx7Xrh4FkyBLhhWPUEE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Szg6LvnA0H4hXFQ88qwyu94WRc+IfszFv8N72D3BVnQzZCjquIy7+la0R1UeGzXLM e4EN7oY85m+pyMtwV1s20TKkDOBuPJ3BZq21apf/+Np08g1STvdQClT1R/1rBRH4Tq CpceYw5Ob5o/VqPD5NXxacz5VW3K9BpLa2yhpP3w= Received: by reginn.isobedori.kobe.vergenet.net (Postfix, from userid 7100) id 6C6289408F4; Fri, 11 Dec 2015 11:53:03 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman , Laurent Pinchart Subject: [PATCH/RFC 07/19] ARM: shmobile: r8a7793: add m2 clock to device tree Date: Fri, 11 Dec 2015 11:52:44 +0900 Message-Id: <1449802376-11301-8-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1449802376-11301-1-git-send-email-horms+renesas@verge.net.au> References: <1449802376-11301-1-git-send-email-horms+renesas@verge.net.au> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_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 Declare m2 clock in r8a7793 device tree. Based on similar work for the r8a7791 by Laurent Pinchart. Cc: Laurent Pinchart Signed-off-by: Simon Horman Acked-by: Laurent Pinchart --- arch/arm/boot/dts/r8a7793.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index 7179c3cba20a..99ee88e0e8be 100644 --- a/arch/arm/boot/dts/r8a7793.dtsi +++ b/arch/arm/boot/dts/r8a7793.dtsi @@ -809,6 +809,14 @@ clock-mult = <1>; clock-output-names = "p"; }; + m2_clk: m2_clk { + compatible = "fixed-factor-clock"; + clocks = <&cpg_clocks R8A7793_CLK_PLL1>; + #clock-cells = <0>; + clock-div = <8>; + clock-mult = <1>; + clock-output-names = "m2"; + }; rclk_clk: rclk_clk { compatible = "fixed-factor-clock"; clocks = <&cpg_clocks R8A7793_CLK_PLL1>;