From patchwork Fri Dec 27 00:44:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Bresticker X-Patchwork-Id: 3407791 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 691BF9F314 for ; Fri, 27 Dec 2013 00:48:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A2BC72013A for ; Fri, 27 Dec 2013 00:48:27 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B27142012B for ; Fri, 27 Dec 2013 00:48:26 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VwLZS-0004Zl-FN; Fri, 27 Dec 2013 00:46:35 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VwLYo-00008m-60; Fri, 27 Dec 2013 00:45:54 +0000 Received: from mail-vc0-f201.google.com ([209.85.220.201]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VwLYA-0008Uf-9e for linux-arm-kernel@lists.infradead.org; Fri, 27 Dec 2013 00:45:16 +0000 Received: by mail-vc0-f201.google.com with SMTP id ie18so558522vcb.2 for ; Thu, 26 Dec 2013 16:44:53 -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=+EE8u68TPymXdq/+hhky0MU2L2zLljLE5yqnwUnbAYY=; b=lQah2E6OWJfbnY9EA36YU968RnDKjRkzjzUowZeyqxO3m4sVMl31P/3+qP+LYJhGG4 AqwHGhTPviwMdc+Kxj+CUoHWe7fWObXDsoQGEGNI01BfsqKSMPKwASuw8r14u1Wyi2qG e7X7NwK+2KfmULs6fhvT4BLZjA8nQy/TdPtkLubo+nHDGAG9JAcMCkWP30kHkdAh7D+E GEn7DJ+eJIIDNWpz4HfZGFMBn7AyuRJQckHy37QVRpG4yPVLCpxb2YIFJ016Dnq3tFK2 LT+s91ix7mbU6PWzNKXE3fEm+IBRaz0jzTDI2znIuN/TefPaOWD80jh+H7yNVZoaaT5X ovdQ== X-Gm-Message-State: ALoCoQl5M9WsnmpzKc0KyXGWx9REyAU+319OvPDTbsdPfIXd5oIXFIz1oUKRvuTjLrE1fgYHsTOg4twaSt46KPE9Tp1R87Ev7oiYvIcrApm/Y6hAASvkD4vSW8kfJL3JAznKUdsq4eV4McwW4Tnu7vepkS32hgn5SMPmx/fLUm7Q6RGiIV1j1Pug2yZtA4vHrL2LNALBwPGi2wloWVYJG/36FKwQJPqcyQ== X-Received: by 10.224.121.148 with SMTP id h20mr4056415qar.7.1388105092242; Thu, 26 Dec 2013 16:44:52 -0800 (PST) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id k45si10141679yhn.4.2013.12.26.16.44.52 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Dec 2013 16:44:52 -0800 (PST) Received: from abrestic.mtv.corp.google.com (abrestic.mtv.corp.google.com [172.22.72.111]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 113C65A41B6; Thu, 26 Dec 2013 16:44:52 -0800 (PST) Received: by abrestic.mtv.corp.google.com (Postfix, from userid 137652) id C7539220798; Thu, 26 Dec 2013 16:44:51 -0800 (PST) From: Andrew Bresticker To: Mike Turquette , Stephen Warren Subject: [PATCH 6/7] clk: tegra: cclk_lp has a pllx/2 divider Date: Thu, 26 Dec 2013 16:44:26 -0800 Message-Id: <1388105067-24438-7-git-send-email-abrestic@chromium.org> X-Mailer: git-send-email 1.8.5.1 In-Reply-To: <1388105067-24438-1-git-send-email-abrestic@chromium.org> References: <1388105067-24438-1-git-send-email-abrestic@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131226_194514_402155_82FF2F46 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -3.2 (---) Cc: Prashant Gaikwad , Andrew Bresticker , Peter De Schrijver , linux-kernel@vger.kernel.org, Thierry Reding , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 When pll_x is the parent of cclk_lp, PLLX_DIV2_BYPASS_LP determines whether cclk_lp output is divided by 2. Set TEGRA_DIVIDER_2 so that the clk_super driver is aware of this. Signed-off-by: Andrew Bresticker --- drivers/clk/tegra/clk-tegra-super-gen4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/tegra/clk-tegra-super-gen4.c b/drivers/clk/tegra/clk-tegra-super-gen4.c index 05dce4a..feb3201 100644 --- a/drivers/clk/tegra/clk-tegra-super-gen4.c +++ b/drivers/clk/tegra/clk-tegra-super-gen4.c @@ -120,7 +120,7 @@ void __init tegra_super_clk_gen4_init(void __iomem *clk_base, ARRAY_SIZE(cclk_lp_parents), CLK_SET_RATE_PARENT, clk_base + CCLKLP_BURST_POLICY, - 0, 4, 8, 9, NULL); + TEGRA_DIVIDER_2, 4, 8, 9, NULL); *dt_clk = clk; }