summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2026-08-06 18:40:19 -0500
committerDavid Lechner <[email protected]>2026-08-24 18:11:10 -0500
commitca1cf823fa1e59039494d4eabb4d117abd4844a3 (patch)
treec5dd78bc633663d7f8a7725a54f6332b205bc128
parent34b86a6741e7cd7ec83c9926bd8a81ddb3206079 (diff)
spi: mtk_snor: combine mt8188 and mt8189 into mediatek,mt8186-nor
Replace "mediatek,mt8188-nor" and "mediatek,mt8189-nor" with "mediatek,mt8186-nor" in the mtk_snor driver. Both of these have "mediatek,mt8186-nor" as a fallback, so we can use that instead of adding each new compatible when we add more similar SoCs. Reviewed-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/20260806-mtk-snor-fallback-compatible-v1-1-74559b491b4a@baylibre.com Signed-off-by: David Lechner <[email protected]>
-rw-r--r--drivers/spi/mtk_snor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/mtk_snor.c b/drivers/spi/mtk_snor.c
index 40fc1826db6..95bd8f06eb9 100644
--- a/drivers/spi/mtk_snor.c
+++ b/drivers/spi/mtk_snor.c
@@ -607,8 +607,7 @@ static const struct mtk_snor_caps mtk_snor_caps_extra_bit = {
static const struct udevice_id mtk_snor_ids[] = {
{ .compatible = "mediatek,mtk-snor", .data = (ulong)&mtk_snor_caps_default },
- { .compatible = "mediatek,mt8188-nor", .data = (ulong)&mtk_snor_caps_extra_bit },
- { .compatible = "mediatek,mt8189-nor", .data = (ulong)&mtk_snor_caps_extra_bit },
+ { .compatible = "mediatek,mt8186-nor", .data = (ulong)&mtk_snor_caps_extra_bit },
{ .compatible = "mediatek,mt8195-nor", .data = (ulong)&mtk_snor_caps_default },
{}
};