From patchwork Fri Jan 15 02:37:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 8037381 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 108E29F1C0 for ; Fri, 15 Jan 2016 02:38:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B93C2035D for ; Fri, 15 Jan 2016 02:38:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4D682204FC for ; Fri, 15 Jan 2016 02:38:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753513AbcAOCiY (ORCPT ); Thu, 14 Jan 2016 21:38:24 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:52737 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753476AbcAOCiY (ORCPT ); Thu, 14 Jan 2016 21:38:24 -0500 Received: from reginn.isobedori.kobe.vergenet.net (p4139-ipbfp1501kobeminato.hyogo.ocn.ne.jp [114.153.215.139]) by kirsty.vergenet.net (Postfix) with ESMTPA id 92DC025BE40; Fri, 15 Jan 2016 13:38:15 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1452825495; bh=nGAv9PPXwotPTQkla32tN85oXvsSthxrgYpypvSPLk0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OOSiP/YaG+/VCf2E1twCIz9D59zIEnZt34DEcm8pRWDTsLQem+v17gfUK8k1AE+Co Noo1M/rg4ZTniuQT3WMK1fazC5519sdmR2KD37ZCQPOvjS1YCbeRVktWhfdjU0i//U 1HQNESgnzRyxL//Kh9kEOw5mXnzwSSXvjY4B/9Is= Received: by reginn.isobedori.kobe.vergenet.net (Postfix, from userid 7100) id 165DE940E50; Fri, 15 Jan 2016 11:38:15 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman Subject: [PATCH v3 03/14] ARM: shmobile: r8a7793: add m2 clock to device tree Date: Fri, 15 Jan 2016 11:37:56 +0900 Message-Id: <1452825487-15931-4-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1452825487-15931-1-git-send-email-horms+renesas@verge.net.au> References: <1452825487-15931-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,RP_MATCHES_RCVD,T_DKIM_INVALID,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. Acked-by: Geert Uytterhoeven Acked-by: Laurent Pinchart Signed-off-by: Simon Horman --- 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 bf6be4a40e31..fa8a0d772d51 100644 --- a/arch/arm/boot/dts/r8a7793.dtsi +++ b/arch/arm/boot/dts/r8a7793.dtsi @@ -817,6 +817,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>;