From: Mirza Krak <mirza.krak@gmail.com>
To: swarren@wwwdotorg.org, thierry.reding@gmail.com, jonathanh@nvidia.com
Cc: mark.rutland@arm.com, gnurou@gmail.com, pgaikwad@nvidia.com,
linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
pdeschrijver@nvidia.com, Mirza Krak <mirza.krak@gmail.com>,
sboyd@codeaurora.org, linux@armlinux.org.uk,
linux-kernel@vger.kernel.org, robh+dt@kernel.org,
linux-tegra@vger.kernel.org, mturquette@baylibre.com,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH V4 2/6] clk: tegra: add TEGRA30_CLK_NOR to init table
Date: Mon, 7 Nov 2016 09:30:01 +0100 [thread overview]
Message-ID: <1478507405-13204-3-git-send-email-mirza.krak@gmail.com> (raw)
In-Reply-To: <1478507405-13204-1-git-send-email-mirza.krak@gmail.com>
From: Mirza Krak <mirza.krak@gmail.com>
Add TEGRA30_CLK_NOR to init table and set default rate to 127 MHz which
is max rate.
The maximum rate value of 127 MHz is pulled from the downstream L4T
kernel.
Signed-off-by: Mirza Krak <mirza.krak@gmail.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory Board
Acked-by: Jon Hunter <jonathanh@nvidia.com>
---
Changes in v2:
- no changes
Changes in v3:
- Added comment in commit message where I got the maximum rates from.
Changes in V4:
- no changes
drivers/clk/tegra/clk-tegra30.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/tegra/clk-tegra30.c b/drivers/clk/tegra/clk-tegra30.c
index 8e2db5e..67f1677 100644
--- a/drivers/clk/tegra/clk-tegra30.c
+++ b/drivers/clk/tegra/clk-tegra30.c
@@ -1252,6 +1252,7 @@ static struct tegra_clk_init_table init_table[] __initdata = {
{ TEGRA30_CLK_SDMMC1, TEGRA30_CLK_PLL_P, 48000000, 0 },
{ TEGRA30_CLK_SDMMC2, TEGRA30_CLK_PLL_P, 48000000, 0 },
{ TEGRA30_CLK_SDMMC3, TEGRA30_CLK_PLL_P, 48000000, 0 },
+ { TEGRA30_CLK_NOR, TEGRA30_CLK_PLL_P, 127000000, 0 },
{ TEGRA30_CLK_PLL_M, TEGRA30_CLK_CLK_MAX, 0, 1 },
{ TEGRA30_CLK_PCLK, TEGRA30_CLK_CLK_MAX, 0, 1 },
{ TEGRA30_CLK_CSITE, TEGRA30_CLK_CLK_MAX, 0, 1 },
--
2.1.4
next prev parent reply other threads:[~2016-11-07 8:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-07 8:29 [PATCH V4 0/6] Add support for Tegra GMI bus controller Mirza Krak
2016-11-07 8:30 ` [PATCH V4 1/6] clk: tegra: add TEGRA20_CLK_NOR to init table Mirza Krak
2016-11-07 11:27 ` Thierry Reding
2016-11-07 8:30 ` Mirza Krak [this message]
2016-11-07 11:28 ` [PATCH V4 2/6] clk: tegra: add TEGRA30_CLK_NOR " Thierry Reding
2016-11-07 8:30 ` [PATCH V4 3/6] dt/bindings: Add bindings for Tegra GMI controller Mirza Krak
[not found] ` <1478507405-13204-4-git-send-email-mirza.krak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-07 11:35 ` Thierry Reding
2016-11-07 8:30 ` [PATCH V4 4/6] ARM: tegra: Add Tegra30 GMI support Mirza Krak
[not found] ` <1478507405-13204-5-git-send-email-mirza.krak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-07 12:56 ` Thierry Reding
2016-11-07 8:30 ` [PATCH V4 5/6] ARM: tegra: Add Tegra20 " Mirza Krak
[not found] ` <1478507405-13204-6-git-send-email-mirza.krak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-07 12:56 ` Thierry Reding
[not found] ` <1478507405-13204-1-git-send-email-mirza.krak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-07 8:30 ` [PATCH V4 6/6] bus: Add support for Tegra Generic Memory Interface Mirza Krak
2016-11-07 11:13 ` Jon Hunter
[not found] ` <1478507405-13204-7-git-send-email-mirza.krak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-07 11:49 ` Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1478507405-13204-3-git-send-email-mirza.krak@gmail.com \
--to=mirza.krak@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=gnurou@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=mturquette@baylibre.com \
--cc=pdeschrijver@nvidia.com \
--cc=pgaikwad@nvidia.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@codeaurora.org \
--cc=swarren@wwwdotorg.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).