ARM: tegra14: clock: Convert BB EMC user
Alex Frid [Mon, 15 Apr 2013 19:16:34 +0000 (12:16 -0700)]
Converted BB EMC shared user into iso bandwidth user.

Change-Id: I965136240db75a46736a056e8bbbb116cd8c4b48
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/219502
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

arch/arm/mach-tegra/tegra14_clocks.c
arch/arm/mach-tegra/tegra_emc.c
arch/arm/mach-tegra/tegra_emc.h

index a76b644..aa15ed4 100644 (file)
@@ -6118,7 +6118,7 @@ struct clk tegra_list_clks[] = {
        SHARED_EMC_CLK("floor.emc",     "floor.emc",            NULL,   &tegra_clk_emc, NULL, 0, 0, 0),
        SHARED_EMC_CLK("override.emc",  "override.emc",         NULL,   &tegra_clk_emc, NULL, 0, SHARED_OVERRIDE, 0),
        SHARED_EMC_CLK("edp.emc",       "edp.emc",              NULL,   &tegra_clk_emc, NULL, 0, SHARED_CEILING,  0),
-       SHARED_EMC_CLK("bbc.emc",       "tegra_bb.0",           "emc",  &tegra_clk_emc, NULL, 0, 0, 0),
+       SHARED_EMC_CLK("bbc.emc",       "tegra_bb.0",           "emc",  &tegra_clk_emc, NULL, 0, SHARED_ISO_BW, BIT(EMC_USER_BB)),
 
 #ifdef CONFIG_TEGRA_DUAL_CBUS
        DUAL_CBUS_CLK("3d.cbus",        "tegra_gr3d",           "gr3d", &tegra_clk_c2bus, "3d",  0, 0),
index 895dae4..91d2fab 100644 (file)
@@ -101,6 +101,7 @@ static const char *emc_user_names[EMC_USER_NUM] = {
        USER_NAME(MSENC),
        USER_NAME(2D),
        USER_NAME(3D),
+       USER_NAME(BB),
 };
 
 static int emc_usage_table_show(struct seq_file *s, void *data)
index c674a0f..084acab 100644 (file)
@@ -36,6 +36,7 @@ enum emc_user_id {
        EMC_USER_MSENC,
        EMC_USER_2D,
        EMC_USER_3D,
+       EMC_USER_BB,
 
        EMC_USER_NUM,
 };