Skip to content

Commit 0a0d851

Browse files
Shyam Sundar S Kalexandrebelloni
authored andcommitted
i3c: dw: Add support for AMDI0015 ACPI ID
Add AMDI0015 _HID for Designware I3C driver so that the dw-i3c-master driver can be probed on AMD platforms. Reviewed-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Link: https://lore.kernel.org/r/20241114110239.660551-2-Shyam-sundar.S-k@amd.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 25bc99b commit 0a0d851

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/i3c/master/dw-i3c-master.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,12 +1748,19 @@ static const struct of_device_id dw_i3c_master_of_match[] = {
17481748
};
17491749
MODULE_DEVICE_TABLE(of, dw_i3c_master_of_match);
17501750

1751+
static const struct acpi_device_id amd_i3c_device_match[] = {
1752+
{ "AMDI0015" },
1753+
{ }
1754+
};
1755+
MODULE_DEVICE_TABLE(acpi, amd_i3c_device_match);
1756+
17511757
static struct platform_driver dw_i3c_driver = {
17521758
.probe = dw_i3c_probe,
17531759
.remove_new = dw_i3c_remove,
17541760
.driver = {
17551761
.name = "dw-i3c-master",
17561762
.of_match_table = dw_i3c_master_of_match,
1763+
.acpi_match_table = amd_i3c_device_match,
17571764
.pm = &dw_i3c_pm_ops,
17581765
},
17591766
};

0 commit comments

Comments
 (0)