[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <920da850-7caf-4385-b4b5-10fe6a828066@tuxon.dev>
Date: Sat, 31 Jan 2026 17:53:24 +0200
From: Claudiu Beznea <claudiu.beznea@...on.dev>
To: Alexander Dahl <ada@...rsis.com>
Cc: Nicolas Ferre <nicolas.ferre@...rochip.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Ryan Wanner <ryan.wanner@...rochip.com>,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
Srinivas Kandagatla <srini@...nel.org>
Subject: Re: [PATCH v3 12/19] nvmem: microchip-otpc: Add SAM9X60 support
On 1/20/26 17:44, Alexander Dahl wrote:
> Register layout is almost identical to SAMA7G5 OTPC. SAMA7G5 has some
Can't you just use a fallback to sama7g5 for sam9x60 and drop this patch?
> additional bits in common registers, and some additional registers all
> related to custom packages in secure world. None of these are currently
> used by the driver.
>
> Signed-off-by: Alexander Dahl <ada@...rsis.com>
> ---
>
> Notes:
> v3:
> - no changes
>
> v2:
> - Reword commit message (additional information about SoC differences)
>
> drivers/nvmem/microchip-otpc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/nvmem/microchip-otpc.c b/drivers/nvmem/microchip-otpc.c
> index bf7e5167152cb..d39f2d57e5f5e 100644
> --- a/drivers/nvmem/microchip-otpc.c
> +++ b/drivers/nvmem/microchip-otpc.c
> @@ -269,6 +269,7 @@ static int mchp_otpc_probe(struct platform_device *pdev)
>
> static const struct of_device_id __maybe_unused mchp_otpc_ids[] = {
> { .compatible = "microchip,sama7g5-otpc", },
> + { .compatible = "microchip,sam9x60-otpc", },
> { },
> };
> MODULE_DEVICE_TABLE(of, mchp_otpc_ids);
Powered by blists - more mailing lists