From patchwork Thu Oct 27 14:01:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mirza Krak X-Patchwork-Id: 9399439 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 42C83600BA for ; Thu, 27 Oct 2016 14:07:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 226982A2F0 for ; Thu, 27 Oct 2016 14:07:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 170172A31C; Thu, 27 Oct 2016 14:07:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2725B2A2F0 for ; Thu, 27 Oct 2016 14:07:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936095AbcJ0OEg (ORCPT ); Thu, 27 Oct 2016 10:04:36 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:36136 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S942085AbcJ0OBf (ORCPT ); Thu, 27 Oct 2016 10:01:35 -0400 Received: by mail-lf0-f66.google.com with SMTP id b75so2012780lfg.3; Thu, 27 Oct 2016 07:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Mq0AfSBaRdpFdqnNcROLGs+fZnvalmc2bZgy7UAef6w=; b=gNBUYQPEdPhVtrb+J7kqgf2pHpOJK8K1yhYObD3WU2XUyhNS6UInM8l81TVjE7I2V0 gJoN/Pnkkh2ShYc9o4jPPSFV1ulKizUFaQfmuCLzYSUfqOL5nrZexTljIPDUrj+JMJfb wKYUNxv9AdyLgBLm+G5qH89JxrYLg7kN2tLZsFfJCVVBjfAhv4FxyyZsn0dKVFzJITbo gcagVGap21BjOxFv6HIrETUKqiAYS6b3iVOw8QKARP8QfaiCIq62aRnpMrVppNrBG2MA WJWHnPGJVf2y5+WfM0xkjI+YSGWitwZHd1/xLnxjzeBrTSJiZDP1jyv98bEmw75fSlWb MNnw== 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=Mq0AfSBaRdpFdqnNcROLGs+fZnvalmc2bZgy7UAef6w=; b=dv4d1hv03gjOOKsByQC39muVGIxNrny+3w4LyDEVpD1Aa0BZvazXxFd2ZiLLiZAF7n cbfdyG618kw9UbYcIswk/LRimop858nRUVxCwEYEcmeJpqayTZW7Q2DpSE5lk3LXgwMO 9CaClTDBXkxlVC6sRlh5RfPPEt/xQ8ogiC7LyECecs6T6Fg0BGI+RV/svONrQEL54wQC Q07G3vgI4EtB6KQJxsCsO90qi9YSfEPmNLGfqfjAntB0Kr3bpvW1N1dDFxuNrtxWzuuc Ct1Tty0KPLj8+PeEB7fyU76B4ghX7uWN7/G5VxKaUptuz1OhjkH3OoPla47zJ8Yr5PVC fDbw== X-Gm-Message-State: ABUngvcIv+nNjuIUZLj/6YTvueo/ohh0QTVTGDJtfd89GGtA1q5tKvTt8QjUlSTGJvCwmw== X-Received: by 10.25.40.204 with SMTP id o195mr5493338lfo.160.1477576879876; Thu, 27 Oct 2016 07:01:19 -0700 (PDT) Received: from mirza-hm.lan ([80.252.212.150]) by smtp.gmail.com with ESMTPSA id 187sm1302752ljj.4.2016.10.27.07.01.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Oct 2016 07:01:19 -0700 (PDT) From: Mirza Krak X-Google-Original-From: Mirza Krak < mirza.krak@gmail.com > To: swarren@wwwdotorg.org, thierry.reding@gmail.com, jonathanh@nvidia.com Cc: gnurou@gmail.com, linux@armlinux.org.uk, pdeschrijver@nvidia.com, pgaikwad@nvidia.com, mturquette@baylibre.com, sboyd@codeaurora.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Mirza Krak Subject: [PATCH V3 1/6] clk: tegra: add TEGRA20_CLK_NOR to init table Date: Thu, 27 Oct 2016 16:01:07 +0200 Message-Id: <1477576872-2665-2-git-send-email-mirza.krak@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1477576872-2665-1-git-send-email-mirza.krak@gmail.com> References: <1477576872-2665-1-git-send-email-mirza.krak@gmail.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Mirza Krak Add TEGRA20_CLK_NOR to init table and set default rate to 92 MHz which is max rate. The maximum rate value of 92 MHz is pulled from the downstream L4T kernel. Signed-off-by: Mirza Krak Tested-by: Marcel Ziswiler Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board Acked-by: Jon Hunter --- Changes in v2: - no changes Changes in v3: - Added comment in commit message where I got the maximum rates from. drivers/clk/tegra/clk-tegra20.c | 1 + 1 file changed, 1 insertion(+) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clk/tegra/clk-tegra20.c b/drivers/clk/tegra/clk-tegra20.c index 837e5cb..13d3b5a 100644 --- a/drivers/clk/tegra/clk-tegra20.c +++ b/drivers/clk/tegra/clk-tegra20.c @@ -1047,6 +1047,7 @@ static struct tegra_clk_init_table init_table[] __initdata = { { TEGRA20_CLK_SDMMC3, TEGRA20_CLK_PLL_P, 48000000, 0 }, { TEGRA20_CLK_SDMMC4, TEGRA20_CLK_PLL_P, 48000000, 0 }, { TEGRA20_CLK_SPI, TEGRA20_CLK_PLL_P, 20000000, 0 }, + { TEGRA20_CLK_NOR, TEGRA20_CLK_PLL_P, 92000000, 0 }, { TEGRA20_CLK_SBC1, TEGRA20_CLK_PLL_P, 100000000, 0 }, { TEGRA20_CLK_SBC2, TEGRA20_CLK_PLL_P, 100000000, 0 }, { TEGRA20_CLK_SBC3, TEGRA20_CLK_PLL_P, 100000000, 0 },