Thread (28 messages) 28 messages, 4 authors, 2013-08-22
STALE4703d

[PATCH 14/16] clk: samsung: exynos4: Register PLL rate tables for Exynos4210

From: Yadwinder Singh Brar <hidden>
Date: 2013-08-21 12:34:07
Also in: linux-samsung-soc

On Tue, Aug 20, 2013 at 11:01 PM, Tomasz Figa [off-list ref] wrote:
quoted hunk ↗ jump to hunk
This patch adds rate tables for PLLs that can be reconfigured at runtime
for Exynos4210 SoCs. Provided tables contain PLL coefficients for
input clock of 24 MHz and so are registered only in this case. MPLL does
not need runtime reconfiguration and so table for it is not provided.

Signed-off-by: Tomasz Figa <redacted>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 drivers/clk/samsung/clk-exynos4.c | 45 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c
index 34474ce..e18cfae 100644
--- a/drivers/clk/samsung/clk-exynos4.c
+++ b/drivers/clk/samsung/clk-exynos4.c
@@ -992,6 +992,40 @@ static struct of_device_id ext_clk_match[] __initdata = {
        {},
 };

+/* PLLs PMS values */
+static struct samsung_pll_rate_table exynos4210_apll_rates[] = {
+       PLL_45XX_RATE(1200000000, 150,  3, 1, 28),
All these tables in this patch as well as next patch can be __initdata


Regards,
Yadwinder
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help