summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2011-06-25 15:03:11 +0530
committerYuhao Ding <yding@nvidia.com>2011-06-30 13:00:04 -0700
commit817116630f63f968d7080301a2bba1c13204028f (patch)
treeb72868eee27ccc49f6b7a1f3252b3f2a6653aa62 /arch
parentd7b102eca117b41c0f244b292d076e574608c565 (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 Change-Id: I01391ff88e1af5d622fe52b8fad30e2dfc02f38c Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/38402 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch')
-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 e36af7691fc3..3d7c047221f8 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -114,6 +114,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 */
@@ -136,7 +137,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 3b1ba71e84d6..b4970e5251ea 100644
--- a/arch/arm/mach-tegra/tegra2_clocks.c
+++ b/arch/arm/mach-tegra/tegra2_clocks.c
@@ -2101,6 +2101,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),