Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: arch/arm/mach-tegra/tegra2_clocks.c

Issue 6625021: CHROMIUM: ARM: tegra: Add pll_d table entries for 252MHz (Closed)
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * arch/arm/mach-tegra/tegra2_clocks.c 2 * arch/arm/mach-tegra/tegra2_clocks.c
3 * 3 *
4 * Copyright (C) 2010 Google, Inc. 4 * Copyright (C) 2010 Google, Inc.
5 * 5 *
6 * Author: 6 * Author:
7 * Colin Cross <ccross@google.com> 7 * Colin Cross <ccross@google.com>
8 * 8 *
9 * This software is licensed under the terms of the GNU General Public 9 * This software is licensed under the terms of the GNU General Public
10 * License version 2, as published by the Free Software Foundation, and 10 * License version 2, as published by the Free Software Foundation, and
(...skipping 1595 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 .reg_shift = 0, 1606 .reg_shift = 0,
1607 .max_rate = 73728000, 1607 .max_rate = 73728000,
1608 }; 1608 };
1609 1609
1610 static struct clk_pll_freq_table tegra_pll_d_freq_table[] = { 1610 static struct clk_pll_freq_table tegra_pll_d_freq_table[] = {
1611 { 12000000, 216000000, 216, 12, 1, 4}, 1611 { 12000000, 216000000, 216, 12, 1, 4},
1612 { 13000000, 216000000, 216, 13, 1, 4}, 1612 { 13000000, 216000000, 216, 13, 1, 4},
1613 { 19200000, 216000000, 135, 12, 1, 3}, 1613 { 19200000, 216000000, 135, 12, 1, 3},
1614 { 26000000, 216000000, 216, 26, 1, 4}, 1614 { 26000000, 216000000, 216, 26, 1, 4},
1615 1615
1616 { 12000000, 252000000, 252, 12, 1, 4},
1617 { 13000000, 252000000, 252, 13, 1, 4},
1618 { 19200000, 252000000, 210, 16, 1, 3},
1619 { 26000000, 252000000, 252, 26, 1, 4},
1620
1616 { 12000000, 594000000, 594, 12, 1, 8}, 1621 { 12000000, 594000000, 594, 12, 1, 8},
1617 { 13000000, 594000000, 594, 13, 1, 8}, 1622 { 13000000, 594000000, 594, 13, 1, 8},
1618 { 19200000, 594000000, 495, 16, 1, 8}, 1623 { 19200000, 594000000, 495, 16, 1, 8},
1619 { 26000000, 594000000, 594, 26, 1, 8}, 1624 { 26000000, 594000000, 594, 26, 1, 8},
1620 1625
1621 { 12000000, 1000000000, 1000, 12, 1, 12}, 1626 { 12000000, 1000000000, 1000, 12, 1, 12},
1622 { 13000000, 1000000000, 1000, 13, 1, 12}, 1627 { 13000000, 1000000000, 1000, 13, 1, 12},
1623 { 19200000, 1000000000, 625, 12, 1, 8}, 1628 { 19200000, 1000000000, 625, 12, 1, 8},
1624 { 26000000, 1000000000, 1000, 26, 1, 12}, 1629 { 26000000, 1000000000, 1000, 26, 1, 12},
1625 1630
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
2407 2412
2408 off = CLK_OUT_ENB; 2413 off = CLK_OUT_ENB;
2409 for (i = 0; i < CLK_OUT_ENB_NUM; i++, off += 4) 2414 for (i = 0; i < CLK_OUT_ENB_NUM; i++, off += 4)
2410 clk_writel(*ctx++, off); 2415 clk_writel(*ctx++, off);
2411 wmb(); 2416 wmb();
2412 2417
2413 clk_writel(*ctx++, MISC_CLK_ENB); 2418 clk_writel(*ctx++, MISC_CLK_ENB);
2414 clk_writel(*ctx++, CLK_MASK_ARM); 2419 clk_writel(*ctx++, CLK_MASK_ARM);
2415 } 2420 }
2416 #endif 2421 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698