diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-08-08 03:51:31 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-09-13 13:40:29 -0400 |
commit | e54848d9ba7114ac2fa51b104eb6b1e7c67d9b28 (patch) | |
tree | 83232497359a11835c3318eb09ad66d708cb89b0 /arch/arm/mach-tegra | |
parent | b4350f40f73b75efdceae3d9e04266979acabd8c (diff) |
ARM: tegra: clock: add i2c fast clock entry in clock table
Tegra's i2c controller require two clock sources named as
div-clk and fast-clk for proper operation.
Currently, the entry of fast-clk is missing in tegra30
clock table and it is incorrectly named in the tegra20
clock table.
Adds aliases to enable lookups for "fast-clk" to succeed.
A later patch will remove the incorrectly named clock,
once the driver is modified to use the new name.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/tegra20_clocks_data.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-tegra/tegra30_clocks_data.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra20_clocks_data.c b/arch/arm/mach-tegra/tegra20_clocks_data.c index 1a35c003fba8..f7c96dd857e9 100644 --- a/arch/arm/mach-tegra/tegra20_clocks_data.c +++ b/arch/arm/mach-tegra/tegra20_clocks_data.c | |||
@@ -1056,6 +1056,10 @@ static struct clk_duplicate tegra_clk_duplicates[] = { | |||
1056 | CLK_DUPLICATE("vde", "tegra-aes", "vde"), | 1056 | CLK_DUPLICATE("vde", "tegra-aes", "vde"), |
1057 | CLK_DUPLICATE("cclk", NULL, "cpu"), | 1057 | CLK_DUPLICATE("cclk", NULL, "cpu"), |
1058 | CLK_DUPLICATE("twd", "smp_twd", NULL), | 1058 | CLK_DUPLICATE("twd", "smp_twd", NULL), |
1059 | CLK_DUPLICATE("pll_p_out3", "tegra-i2c.0", "fast-clk"), | ||
1060 | CLK_DUPLICATE("pll_p_out3", "tegra-i2c.1", "fast-clk"), | ||
1061 | CLK_DUPLICATE("pll_p_out3", "tegra-i2c.2", "fast-clk"), | ||
1062 | CLK_DUPLICATE("pll_p_out3", "tegra-i2c.3", "fast-clk"), | ||
1059 | }; | 1063 | }; |
1060 | 1064 | ||
1061 | #define CLK(dev, con, ck) \ | 1065 | #define CLK(dev, con, ck) \ |
diff --git a/arch/arm/mach-tegra/tegra30_clocks_data.c b/arch/arm/mach-tegra/tegra30_clocks_data.c index 34b61a4934a3..e6a637c921b7 100644 --- a/arch/arm/mach-tegra/tegra30_clocks_data.c +++ b/arch/arm/mach-tegra/tegra30_clocks_data.c | |||
@@ -1286,6 +1286,11 @@ struct clk_duplicate tegra_clk_duplicates[] = { | |||
1286 | CLK_DUPLICATE("dam1", NULL, "dam1"), | 1286 | CLK_DUPLICATE("dam1", NULL, "dam1"), |
1287 | CLK_DUPLICATE("dam2", NULL, "dam2"), | 1287 | CLK_DUPLICATE("dam2", NULL, "dam2"), |
1288 | CLK_DUPLICATE("spdif_in", NULL, "spdif_in"), | 1288 | CLK_DUPLICATE("spdif_in", NULL, "spdif_in"), |
1289 | CLK_DUPLICATE("pll_p_out3", "tegra-i2c.0", "fast-clk"), | ||
1290 | CLK_DUPLICATE("pll_p_out3", "tegra-i2c.1", "fast-clk"), | ||
1291 | CLK_DUPLICATE("pll_p_out3", "tegra-i2c.2", "fast-clk"), | ||
1292 | CLK_DUPLICATE("pll_p_out3", "tegra-i2c.3", "fast-clk"), | ||
1293 | CLK_DUPLICATE("pll_p_out3", "tegra-i2c.4", "fast-clk"), | ||
1289 | }; | 1294 | }; |
1290 | 1295 | ||
1291 | struct clk *tegra_ptr_clks[] = { | 1296 | struct clk *tegra_ptr_clks[] = { |