From patchwork Thu Jan 9 15:23:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentine Barshak X-Patchwork-Id: 3461591 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D0764C02DC for ; Thu, 9 Jan 2014 15:23:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE1A120103 for ; Thu, 9 Jan 2014 15:23:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A5D52013A for ; Thu, 9 Jan 2014 15:23:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751291AbaAIPX3 (ORCPT ); Thu, 9 Jan 2014 10:23:29 -0500 Received: from mail-lb0-f178.google.com ([209.85.217.178]:34966 "EHLO mail-lb0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750702AbaAIPX3 (ORCPT ); Thu, 9 Jan 2014 10:23:29 -0500 Received: by mail-lb0-f178.google.com with SMTP id c11so2424484lbj.9 for ; Thu, 09 Jan 2014 07:23:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=L0FMLJ+h+dng04p2W4PGc+UhLe2ji9tTSwUSX8xsf2E=; b=dXoiUSDejke8E0xLRDoP7SOeS5tVuK5huhVsAztCynoxiEiPkJyvJD3+KwZ7Xigrm7 9n0tP1ksPpKnMkCBBO8UZpg3tuIxXi4kvXkIQuDf4SFNPc7LdR/S/Ov9LNjrwNUkHrfw uv0jU/xoW2bGioA46Rwp9BFkEkI7Lcp9VgQplILTjjgxH2TOZYvr/G+dD9fOMW904Ltf d8AKiuSb3qQsVNWiINIn/ou1fId19k/QZvTuV8lmYutzKE7VxHX5KBhy6jDBeyePSDvu YSdksWlv9QaswPrYMOmuCtfRZ1Y7NCey4VGZ+1G2DVnAO8C072n9AOtY+GLC0vdaknWE tZoA== X-Gm-Message-State: ALoCoQnZNYKKln+8hVg70XhWyvJMt8QWLdNKQk2/ugv3J2e8JWTh2NTQ0/JtuFLSgTO7iSf+th0w X-Received: by 10.112.146.134 with SMTP id tc6mr1423848lbb.11.1389281007912; Thu, 09 Jan 2014 07:23:27 -0800 (PST) Received: from black.localnet ([93.100.122.208]) by mx.google.com with ESMTPSA id qx1sm1413329lbb.15.2014.01.09.07.23.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jan 2014 07:23:27 -0800 (PST) From: Valentine Barshak To: linux-sh@vger.kernel.org Cc: Simon Horman , Magnus Damm , Kuninori Morimoto , Laurent Pinchart Subject: [PATCH V2 1/4] ARM: shmobile: r8a7791: Add ZS clock Date: Thu, 9 Jan 2014 19:23:20 +0400 Message-Id: <1389281003-10253-2-git-send-email-valentine.barshak@cogentembedded.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1389281003-10253-1-git-send-email-valentine.barshak@cogentembedded.com> References: <1389281003-10253-1-git-send-email-valentine.barshak@cogentembedded.com> 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.9 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 This adds fixed ratio zs_clk to R8A7791 clocks. Signed-off-by: Valentine Barshak --- arch/arm/mach-shmobile/clock-r8a7791.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-shmobile/clock-r8a7791.c b/arch/arm/mach-shmobile/clock-r8a7791.c index 1074ba4..52d7d13 100644 --- a/arch/arm/mach-shmobile/clock-r8a7791.c +++ b/arch/arm/mach-shmobile/clock-r8a7791.c @@ -113,6 +113,7 @@ SH_FIXED_RATIO_CLK_SET(rclk_clk, pll1_clk, 1, (48 * 1024)); SH_FIXED_RATIO_CLK_SET(mp_clk, pll1_div2_clk, 1, 15); SH_FIXED_RATIO_CLK_SET(zg_clk, pll1_clk, 1, 3); SH_FIXED_RATIO_CLK_SET(zx_clk, pll1_clk, 1, 3); +SH_FIXED_RATIO_CLK_SET(zs_clk, pll1_clk, 1, 6); static struct clk *main_clks[] = { &extal_clk, @@ -128,6 +129,7 @@ static struct clk *main_clks[] = { &cp_clk, &zg_clk, &zx_clk, + &zs_clk, }; /* MSTP */ @@ -187,6 +189,7 @@ static struct clk_lookup lookups[] = { CLKDEV_CON_ID("pll1_div2", &pll1_div2_clk), CLKDEV_CON_ID("pll3", &pll3_clk), CLKDEV_CON_ID("zg", &zg_clk), + CLKDEV_CON_ID("zs", &zs_clk), CLKDEV_CON_ID("hp", &hp_clk), CLKDEV_CON_ID("p", &p_clk), CLKDEV_CON_ID("rclk", &rclk_clk),