ARM: tegra12: clock: Fix pll_c_out1 flags
Kaz Fukuoka [Tue, 1 Oct 2013 00:51:39 +0000 (17:51 -0700)]
Ported from Tegra11 change I899cf5b6d04cc27f63de7f01fb7aa78636e61ea6

Change-Id: I9a8808bc1cf09846b928abf74aa743352fb23bf9
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/299004
Reviewed-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Tested-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

arch/arm/mach-tegra/tegra12_clocks.c

index d4da963..591e061 100644 (file)
@@ -6215,7 +6215,11 @@ static struct clk tegra_pll_c = {
 static struct clk tegra_pll_c_out1 = {
        .name      = "pll_c_out1",
        .ops       = &tegra_pll_div_ops,
+#ifdef CONFIG_TEGRA_DUAL_CBUS
+       .flags     = DIV_U71 | DIV_U71_INT,
+#else
        .flags     = DIV_U71 | DIV_U71_INT | PERIPH_ON_CBUS,
+#endif
        .parent    = &tegra_pll_c,
        .reg       = 0x84,
        .reg_shift = 0,