devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc
@ 2023-10-17 19:46 Frank Li
  2023-10-17 19:46 ` [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2 Frank Li
  2023-11-03 19:04 ` [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc Alexandre Belloni
  0 siblings, 2 replies; 11+ messages in thread
From: Frank Li @ 2023-10-17 19:46 UTC (permalink / raw)
  To: miquel.raynal
  Cc: Frank.Li, alexander.stein, alexandre.belloni, conor+dt,
	conor.culhane, conor, devicetree, festevam, haibo.chen, imx, joe,
	kernel, krzysztof.kozlowski+dt, krzysztof.kozlowski,
	linux-arm-kernel, linux-i3c, linux-imx, linux-kernel, peng.fan,
	ping.bai, robh+dt, s.hauer, shawnguo, sherry.sun, xiaoning.wang

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>
---

Notes:
    Change from v2 to v3
    - Miquèl think drop silvaco,i3c-master totally. I grep dts tree. No
    upstream dts use silvaco,i3c-master yet.
      I have not add "Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>",
    it is different solution with previous one even just one line change.
      I think v2/v3 both is good, feel free to pick each one.
    
    Change from v1 to v2
    - update driver by using compatible string silvaco,i3c-master-v1
    
    Change from v1 to v2
    - update driver by using compatible string silvaco,i3c-master-v1

 drivers/i3c/master/svc-i3c-master.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i3c/master/svc-i3c-master.c b/drivers/i3c/master/svc-i3c-master.c
index cf932ee056ef9..e307ba2b965e6 100644
--- a/drivers/i3c/master/svc-i3c-master.c
+++ b/drivers/i3c/master/svc-i3c-master.c
@@ -1650,7 +1650,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);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-12-13  8:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-17 19:46 [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc Frank Li
2023-10-17 19:46 ` [PATCH v2 2/2] arm64: dts: freescale: imx93: add i3c1 and i3c2 Frank Li
2023-11-09 15:51   ` Frank Li
2023-11-09 16:51     ` Krzysztof Kozlowski
2023-11-27  2:21     ` Shawn Guo
2023-11-27  9:35       ` Conor Dooley
2023-12-06  5:46         ` Frank Li
2023-12-06  9:31           ` Shawn Guo
2023-12-06 16:33             ` Frank Li
2023-12-13  8:12   ` Shawn Guo
2023-11-03 19:04 ` [PATCH v2 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).