[PATCH v3 2/7] mmc: cv1800b: Add SG2002 compatible string

Zhuxu Ran via U-Boot <[email protected]> Thu, 06 Aug 2026 20:13:22 +0800
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <20260806-milkv-duo-upstream-dts-v3-2-917cf70a2337__3614.5599022106$1786021526$gmane$org@zohomail.com>
The upstream SG2002 devicetree uses "sophgo,sg2002-dwcmshc"
for the SDHCI controller.

Add the compatible string to the existing CV1800B SDHCI driver.

Signed-off-by: Zhuxu Ran <[email protected]>
---
 drivers/mmc/cv1800b_sdhci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/cv1800b_sdhci.c b/drivers/mmc/cv1800b_sdhci.c
index b756649f90f..f8d94232170 100644
--- a/drivers/mmc/cv1800b_sdhci.c
+++ b/drivers/mmc/cv1800b_sdhci.c
@@ -110,6 +110,7 @@ static int cv1800b_sdhci_probe(struct udevice *dev)
 
 static const struct udevice_id cv1800b_sdhci_match[] = {
 	{ .compatible = "sophgo,cv1800b-dwcmshc" },
+	{ .compatible = "sophgo,sg2002-dwcmshc" },
 	{ }
 };
 

-- 
2.55.0