Re: [PATCH 2/4] clk: samsung: exynos5420: add VPLL rates for 650, 700 and 750 MHz

From: Henrik Grimler

Date: Fri Nov 06 2026 - 09:53:03 EST


Hi Young-Jun,

On Fri, Nov 06, 2026 at 02:41:49PM +0900, Young-Jun Hong wrote:
> The VPLL drives the G3D (Mali) clock on Exynos 5420/5422. Its rate table
> stops at 600 MHz, so GPU OPPs above 600 MHz cannot be reached:
> clk_set_rate() silently keeps fout_vpll at 600 MHz.
>
> Add the 650, 700 and 750 MHz rows (VCO 1300/1400/1500 MHz, using the same
> P/M/S style as the APLL rows).

What you mean with "using the same P/M/S style as the APLL rows"?

> Tested on Samsung ARTIK 10 (Exynos 5422): with these rows the G3D devfreq
> reaches 700 and 750 MHz, and the OpenCL accuracy suite passes 96/96 at
> 750 MHz with a board-specific 1.35 V OPP.
>
> The analysis, the code and this changelog were produced with Claude
> Code (Anthropic), a coding assistant.

Was it tested by a human?

> Signed-off-by: Young-Jun Hong <nirvanah@xxxxxxxxxxxxxx>
> ---
> drivers/clk/samsung/clk-exynos5420.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c
> index 400a5c59815c..1b4b0ae16765 100644
> --- a/drivers/clk/samsung/clk-exynos5420.c
> +++ b/drivers/clk/samsung/clk-exynos5420.c
> @@ -1451,6 +1451,9 @@ static const struct samsung_pll_rate_table exynos5420_epll_24mhz_tbl[] = {
> };
>
> static const struct samsung_pll_rate_table exynos5420_vpll_24mhz_tbl[] = {
> + PLL_35XX_RATE(24 * MHZ, 750000000U, 125, 2, 1),
> + PLL_35XX_RATE(24 * MHZ, 700000000U, 175, 3, 1),
> + PLL_35XX_RATE(24 * MHZ, 650000000U, 325, 6, 1),

Do you have any references, like vendor kernel sources, to back up
these choices of dividers and scalar?

Best regards,
Henrik Grimler

> 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),
> --
> 2.47.3
>
>