[ARM] tegra: common: Enable clocks that should always be on
authorColin Cross <ccross@android.com>
Thu, 9 Sep 2010 02:45:30 +0000 (19:45 -0700)
committerColin Cross <ccross@android.com>
Thu, 21 Oct 2010 22:07:20 +0000 (15:07 -0700)
Change-Id: Ic2cb51d54b0a75081672acf0bccbc859d817cd88
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/common.c

index 09fdecfc24561bf65e74b65b97903d7360d58bd3..6cc0a00fc6090643b013c0f6df76456a4534f966 100644 (file)
@@ -52,6 +52,7 @@ unsigned long tegra_grhost_aperture;
 void (*tegra_reset)(char mode, const char *cmd);
 
 static __initdata struct tegra_clk_init_table common_clk_init_table[] = {
+       /* set up clocks that should always be on */
        /* name         parent          rate            enabled */
        { "clk_m",      NULL,           0,              true },
        { "pll_p",      "clk_m",        216000000,      true },
@@ -62,6 +63,14 @@ static __initdata struct tegra_clk_init_table common_clk_init_table[] = {
        { "sclk",       "pll_m_out1",   240000000,      true },
        { "hclk",       "sclk",         240000000,      true },
        { "pclk",       "hclk",         120000000,      true },
+       { "pll_x",      NULL,           0,              true },
+       { "cpu",        NULL,           0,              true },
+       { "emc",        NULL,           0,              true },
+       { "csite",      NULL,           0,              true },
+       { "timer",      NULL,           0,              true },
+       { "rtc",        NULL,           0,              true },
+
+       /* set frequencies of some device clocks */
        { "pll_u",      "clk_m",        480000000,      false },
        { "sdmmc1",     "pll_p",        48000000,       false},
        { "sdmmc2",     "pll_p",        48000000,       false},