[PATCH V2 3/5] clk: renesas: Add R8A774A1 clock tables

Marek Vasut marek.vasut at gmail.com
Fri Jun 19 16:07:46 CEST 2020


On 6/19/20 3:58 PM, Adam Ford wrote:
> This sync's the clock tables with the official release from
> Renesas' repo based on U-Boot 2018.09 and modified to build into
> the latest version of U-Boot.

Can you import the clock table from Linux too ?

[...]

> +static const struct mstp_stop_table r8a774a1_mstp_table[] = {
> +	{ 0x00200000, 0x0, 0x00200000, 0 },
> +	{ 0xFFFFFFFF, 0x0, 0xFFFFFFFF, 0 },
> +	{ 0x340E2FDC, 0x2040, 0x340E2FDC, 0 },
> +	{ 0xFFFFFFDF, 0x400, 0xFFFFFFDF, 0 },
> +	{ 0x80000184, 0x180, 0x80000184, 0 },
> +	{ 0xC3FFFFFF, 0x0, 0xC3FFFFFF, 0 },
> +	{ 0xFFFFFFFF, 0x0, 0xFFFFFFFF, 0 },
> +	{ 0xFFFFFFFF, 0x0, 0xFFFFFFFF, 0 },
> +	{ 0x01F1FFF7, 0x0, 0x01F1FFF7, 0 },
> +	{ 0xFFFFFFFE, 0x0, 0xFFFFFFFE, 0 },
> +	{ 0xFFFEFFE0, 0x0, 0xFFFEFFE0, 0 },
> +	{ 0x000000B7, 0x0, 0x000000B7, 0 },
> +};

Can you check whether all those bits are really defined in the MSTP
registers of the SoC ?


More information about the U-Boot mailing list