From: Frank Li <Frank.Li@nxp.com>
Date: Tue, 17 Oct 2023 19:46:56 +0000 (-0400)
Subject: i3c: master: svc: fix compatibility string mismatch with binding doc
X-Git-Tag: v6.7-rc1~58^2~2
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8911eae9c8a947e5c1cc4fcce40473f1f5e475cd;p=users%2Fdwmw2%2Flinux.git

i3c: master: svc: fix compatibility string mismatch with binding doc

In the binding documentation, the compatible string is specified as
'silvaco,i3c-master-v1', but in the driver, it is defined as
'silvaco,i3c-master'.

Rename 'silvaco,i3c-master' to 'silvaco,i3c-master-v1' to ensure
compatibility with the documentation.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20231017194657.3199749-1-Frank.Li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---

diff --git a/drivers/i3c/master/svc-i3c-master.c b/drivers/i3c/master/svc-i3c-master.c
index b192a8b91e5d5..cf703c00f6334 100644
--- a/drivers/i3c/master/svc-i3c-master.c
+++ b/drivers/i3c/master/svc-i3c-master.c
@@ -1703,7 +1703,7 @@ static const struct dev_pm_ops svc_i3c_pm_ops = {
 };
 
 static const struct of_device_id svc_i3c_master_of_match_tbl[] = {
-	{ .compatible = "silvaco,i3c-master" },
+	{ .compatible = "silvaco,i3c-master-v1"},
 	{ /* sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, svc_i3c_master_of_match_tbl);