* Re: [PATCH] clk: samsung: exynos5420: add VPLL rate table
[not found] ` <20191029004758.4380-1-mihailescu2m@gmail.com>
@ 2019-10-29 10:37 ` Sylwester Nawrocki
0 siblings, 0 replies; only message in thread
From: Sylwester Nawrocki @ 2019-10-29 10:37 UTC (permalink / raw)
To: Marian Mihailescu; +Cc: linux-samsung-soc, linux-clk
On 10/29/19 01:47, Marian Mihailescu wrote:
> Add new table rate for VPLL for Exynos 542x SoC required to support
> Mali GPU clock frequencies.
>
> Signed-off-by: Marian Mihailescu <mihailescu2m@gmail.com>
Patch applied, thank you. Please remember to also Cc in future any clk patches
to the linux-clk@vger.kernel.org mailing list.
> ---
> drivers/clk/samsung/clk-exynos5420.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c
> index 7670cc596c74..f3133ed467c2 100644
> --- a/drivers/clk/samsung/clk-exynos5420.c
> +++ b/drivers/clk/samsung/clk-exynos5420.c
> @@ -1414,6 +1414,17 @@ static const struct samsung_pll_rate_table exynos5420_epll_24mhz_tbl[] = {
> PLL_36XX_RATE(24 * MHZ, 32768001U, 131, 3, 5, 4719),
> };
>
> +static const struct samsung_pll_rate_table exynos5420_vpll_24mhz_tbl[] = {
> + PLL_35XX_RATE(24 * MHZ, 600000000U, 200, 2, 2),
> + PLL_35XX_RATE(24 * MHZ, 543000000U, 181, 2, 2),
> + PLL_35XX_RATE(24 * MHZ, 480000000U, 160, 2, 2),
> + PLL_35XX_RATE(24 * MHZ, 420000000U, 140, 2, 2),
> + PLL_35XX_RATE(24 * MHZ, 350000000U, 175, 3, 2),
> + PLL_35XX_RATE(24 * MHZ, 266000000U, 266, 3, 3),
> + PLL_35XX_RATE(24 * MHZ, 177000000U, 118, 2, 3),
> + PLL_35XX_RATE(24 * MHZ, 100000000U, 200, 3, 4),
> +};
> +
> static struct samsung_pll_clock exynos5x_plls[nr_plls] __initdata = {
> [apll] = PLL(pll_2550, CLK_FOUT_APLL, "fout_apll", "fin_pll", APLL_LOCK,
> APLL_CON0, NULL),
> @@ -1538,6 +1549,7 @@ static void __init exynos5x_clk_init(struct device_node *np,
> exynos5x_plls[apll].rate_table = exynos5420_pll2550x_24mhz_tbl;
> exynos5x_plls[epll].rate_table = exynos5420_epll_24mhz_tbl;
> exynos5x_plls[kpll].rate_table = exynos5420_pll2550x_24mhz_tbl;
> + exynos5x_plls[vpll].rate_table = exynos5420_vpll_24mhz_tbl;
> }
>
> if (soc == EXYNOS5420)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-29 10:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20191029004815epcas4p32796910466992ec23adeb32180641232@epcas4p3.samsung.com>
[not found] ` <20191029004758.4380-1-mihailescu2m@gmail.com>
2019-10-29 10:37 ` [PATCH] clk: samsung: exynos5420: add VPLL rate table Sylwester Nawrocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).