[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191008165449.GA4254@piout.net>
Date: Tue, 8 Oct 2019 18:54:49 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Claudiu Beznea <claudiu.beznea@...rochip.com>
Cc: mturquette@...libre.com, sboyd@...nel.org,
nicolas.ferre@...rochip.com, linux-clk@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: at91: add compatible for sam9x60
Hi,
On 08/10/2019 19:46:26+0300, Claudiu Beznea wrote:
> Add compatible for SAM9X60's PMC.
I think the commit log could be clearer and mention why this is needed
and the compatible string in sam9x60 is not sufficient.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea@...rochip.com>
> ---
> drivers/clk/at91/pmc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c
> index db24539d5740..24975bca608e 100644
> --- a/drivers/clk/at91/pmc.c
> +++ b/drivers/clk/at91/pmc.c
> @@ -271,6 +271,7 @@ static struct syscore_ops pmc_syscore_ops = {
>
> static const struct of_device_id sama5d2_pmc_dt_ids[] = {
Maybe rename the array?
> { .compatible = "atmel,sama5d2-pmc" },
> + { .compatible = "microchip,sam9x60-pmc" },
> { /* sentinel */ }
> };
>
> --
> 2.7.4
>
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists