Subject: Re: [PATCH] soc: imx8: print SoC type and revision

From: Shawn Guo <[email-masked]>
Date: Mon, 9 Dec 2019 15:24:56 +0800

On Wed, Nov 27, 2019 at 12:05:56PM +0100, Lucas Stach wrote:
> This is useful information to have when looking through system logs,
> so add it to the output.
> 
> Signed-off-by: Lucas Stach <[email-masked]>

It doesn't apply to v5.5-rc1.  I applied it manually.  Please check
imx/drivers branch to make sure it's done correctly.

Shawn

> ---
>  drivers/soc/imx/soc-imx8.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/soc/imx/soc-imx8.c b/drivers/soc/imx/soc-imx8.c
> index dbf57203e9ee..cafec82b2e7b 100644
> --- a/drivers/soc/imx/soc-imx8.c
> +++ b/drivers/soc/imx/soc-imx8.c
> @@ -211,6 +211,9 @@ static int __init imx8_soc_init(void)
>  	if (ret)
>  		goto free_rev;
>  
> +	pr_info("SoC: %s revision %s\n", soc_dev_attr->soc_id,
> +		soc_dev_attr->revision);
> +
>  	if (IS_ENABLED(CONFIG_ARM_IMX_CPUFREQ_DT))
>  		platform_device_register_simple("imx-cpufreq-dt", -1, NULL, 0);
>  
> -- 
> 2.20.1
> 

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel