Commit 0a0d851c authored by Shyam Sundar S K's avatar Shyam Sundar S K Committed by Alexandre Belloni
Browse files

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: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: default avatarShyam 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: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 25bc99be
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1748,12 +1748,19 @@ static const struct of_device_id 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 = {
	.probe = dw_i3c_probe,
	.remove_new = dw_i3c_remove,
	.driver = {
		.name = "dw-i3c-master",
		.of_match_table = dw_i3c_master_of_match,
		.acpi_match_table = amd_i3c_device_match,
		.pm = &dw_i3c_pm_ops,
	},
};