summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2011-06-25 15:03:11 +0530
committerManish Tuteja <mtuteja@nvidia.com>2011-07-07 07:50:08 -0700
commitc8cb1805e2d581672699144b4332d6b68bb5ef94 (patch)
tree89c5041c688c4d3077a1f0aaa55e71955e0d47c6
parent25b2522711cd1e0186ff6bc46a0bb91b2abe5226 (diff)
arm: tegra2: clocks: add fuse and fuse_burn clocks
keep fuse clock always enabled to allow fuse read writes from multiple clients Bug 841766 Reviewed-on: http://git-master/r/#change,38402 (cherry picked from commit e507984a9a8b5d1e012d5157f3259ed54e354ad1) Bug 836963 Change-Id: Ia6b554c861e292af9c9d1a9ebd47b17a2ce170d7 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/39611 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/common.c3
-rw-r--r--arch/arm/mach-tegra/tegra2_clocks.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index d5d2d9c84ebb..0eee187abe38 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -115,6 +115,7 @@ static __initdata struct tegra_clk_init_table common_clk_init_table[] = {
{ "csite", NULL, 0, true },
{ "timer", NULL, 0, true },
{ "kfuse", NULL, 0, true },
+ { "fuse", NULL, 0, true },
{ "rtc", NULL, 0, true },
/* set frequencies of some device clocks */
@@ -143,7 +144,7 @@ void __init tegra_init_cache(void)
When called form Normal we obtain an abort.
Instructions that must be called in Secure :
- Tag and Data RAM Latency Control Registers (0x108 & 0x10C) must be written in Secure.
-
+
The following section of code has been regrouped in the implementation of "l2x0_init".
The "l2x0_init" will in fact call an SMC intruction to switch from Normal context to Secure context.
The configuration and activation will be done in Secure.
diff --git a/arch/arm/mach-tegra/tegra2_clocks.c b/arch/arm/mach-tegra/tegra2_clocks.c
index bf92cee1aa3e..5da48f5cde4f 100644
--- a/arch/arm/mach-tegra/tegra2_clocks.c
+++ b/arch/arm/mach-tegra/tegra2_clocks.c
@@ -2097,6 +2097,8 @@ struct clk tegra_list_periph_clks[] = {
PERIPH_CLK("kbc", "tegra-kbc", NULL, 36, 0, 0x31E, 32768, mux_clk_32k, PERIPH_NO_RESET),
PERIPH_CLK("timer", "timer", NULL, 5, 0, 0x31E, 26000000, mux_clk_m, 0),
PERIPH_CLK("kfuse", "kfuse-tegra", NULL, 40, 0, 0x31E, 26000000, mux_clk_m, 0),
+ PERIPH_CLK("fuse", "fuse-tegra", "fuse", 39, 0, 0x31E, 26000000, mux_clk_m, 0),
+ PERIPH_CLK("fuse_burn", "fuse-tegra", "fuse_burn", 39, 0, 0x31E, 26000000, mux_clk_m, 0),
PERIPH_CLK("i2s1", "i2s.0", NULL, 11, 0x100, 0x31E, 26000000, mux_pllaout0_audio2x_pllp_clkm, MUX | DIV_U71),
PERIPH_CLK("i2s2", "i2s.1", NULL, 18, 0x104, 0x31E, 26000000, mux_pllaout0_audio2x_pllp_clkm, MUX | DIV_U71),
PERIPH_CLK("spdif_out", "spdif_out", NULL, 10, 0x108, 0x31E, 100000000, mux_pllaout0_audio2x_pllp_clkm, MUX | DIV_U71),