Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Frank Li and committed by
Alexandre Belloni
8911eae9 9aaeef11

+1 -1
+1 -1
drivers/i3c/master/svc-i3c-master.c
··· 1703 1703 }; 1704 1704 1705 1705 static const struct of_device_id svc_i3c_master_of_match_tbl[] = { 1706 - { .compatible = "silvaco,i3c-master" }, 1706 + { .compatible = "silvaco,i3c-master-v1"}, 1707 1707 { /* sentinel */ }, 1708 1708 }; 1709 1709 MODULE_DEVICE_TABLE(of, svc_i3c_master_of_match_tbl);