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

Alexander Dahl
2025-02-11T06:52:32Z

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@thorsis.com>
---

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