arm: tegra: cardhu: do not enable clock to SE during init.
Varun Wadekar [Wed, 8 Jun 2011 07:09:15 +0000 (12:09 +0530)]
Bug 835859

Original-Change-Id: Ie28b9f0c62aff874a7ef4153bdfe7b8606ac000e
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/35637
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R4bfca65717150aa9ae71ef77023740047e08cc5b

arch/arm/mach-tegra/board-cardhu.c

index f9be1e9..aa042b0 100644 (file)
@@ -182,7 +182,6 @@ static __initdata struct tegra_clk_init_table cardhu_clk_init_table[] = {
        { "i2s2",       "pll_a_out0",   11289600,       true},
        { "audio",      "pll_a_out0",   11289600,       true},
        { "audio_2x",   "audio",        22579200,       true},
-       { "se", "pll_p",        216000000,      true},
        { NULL,         NULL,           0,              0},
 };
 
@@ -316,36 +315,6 @@ static struct platform_device tegra_rtc_device = {
 };
 #endif
 
-#if defined(CONFIG_CRYPTO_DEV_TEGRA_SE)
-
-static u64 tegra_se_dma_mask = DMA_BIT_MASK(32);
-
-static struct resource tegra_se_resources[] = {
-       [0] = {
-               .start = TEGRA_SE_BASE,
-               .end = TEGRA_SE_BASE + TEGRA_SE_SIZE - 1,
-               .flags = IORESOURCE_MEM,
-       },
-       [1] = {
-               .start = INT_SE,
-               .end = INT_SE,
-               .flags = IORESOURCE_IRQ,
-       },
-};
-
-static struct platform_device tegra_se_device = {
-       .name = "tegra-se",
-       .id = 0,
-       .dev = {
-               .coherent_dma_mask = DMA_BIT_MASK(32),
-               .dma_mask = &tegra_se_dma_mask,
-       },
-       .resource = tegra_se_resources,
-       .num_resources = ARRAY_SIZE(tegra_se_resources),
-};
-
-#endif
-
 static struct platform_device tegra_camera = {
        .name = "tegra_camera",
        .id = -1,
@@ -370,7 +339,6 @@ static struct platform_device *cardhu_devices[] __initdata = {
 #if defined(CONFIG_CRYPTO_DEV_TEGRA_SE)
        &tegra_se_device,
 #endif
-
 };
 
 static int __init cardhu_touch_init(void)