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>
This commit is contained in:
Shyam Sundar S K 2024-11-14 16:32:38 +05:30 committed by Alexandre Belloni
parent 25bc99be5f
commit 0a0d851ce1

View File

@ -1748,12 +1748,19 @@ static const struct of_device_id dw_i3c_master_of_match[] = {
}; };
MODULE_DEVICE_TABLE(of, dw_i3c_master_of_match); MODULE_DEVICE_TABLE(of, dw_i3c_master_of_match);
static const struct acpi_device_id amd_i3c_device_match[] = {
{ "AMDI0015" },
{ }
};
MODULE_DEVICE_TABLE(acpi, amd_i3c_device_match);
static struct platform_driver dw_i3c_driver = { static struct platform_driver dw_i3c_driver = {
.probe = dw_i3c_probe, .probe = dw_i3c_probe,
.remove_new = dw_i3c_remove, .remove_new = dw_i3c_remove,
.driver = { .driver = {
.name = "dw-i3c-master", .name = "dw-i3c-master",
.of_match_table = dw_i3c_master_of_match, .of_match_table = dw_i3c_master_of_match,
.acpi_match_table = amd_i3c_device_match,
.pm = &dw_i3c_pm_ops, .pm = &dw_i3c_pm_ops,
}, },
}; };