[PATCH v2 11/16] nvmem: microchip-otpc: Add SAM9X60 support

From: Alexander Dahl
Date: Tue Feb 11 2025 - 01:52:47 EST


Register layout is almost identical to SAMA7G5 OTPC. SAMA7G5 has some
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@xxxxxxxxxxx>
---

Notes:
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);
--
2.39.5