Skip to content

Commit 8d2e56e

Browse files
Shyam Sundar S Kalexandrebelloni
authored andcommitted
i3c: mipi-i3c-hci: Add AMDI5017 ACPI ID to the I3C Support List
The current driver code lacks the necessary plumbing for ACPI IDs, preventing the mipi-i3c-hci driver from being loaded on x86 platforms that advertise I3C ACPI support. Add the AMDI5017 ACPI ID to the list of supported IDs. Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Shyam Sundar S K <[email protected]> Reviewed-by: Jarkko Nikula <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent 8400291 commit 8d2e56e

File tree

1 file changed

+7
-0
lines changed
  • drivers/i3c/master/mipi-i3c-hci

1 file changed

+7
-0
lines changed

drivers/i3c/master/mipi-i3c-hci/core.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,12 +834,19 @@ static const __maybe_unused struct of_device_id i3c_hci_of_match[] = {
834834
};
835835
MODULE_DEVICE_TABLE(of, i3c_hci_of_match);
836836

837+
static const struct acpi_device_id i3c_hci_acpi_match[] = {
838+
{ "AMDI5017" },
839+
{}
840+
};
841+
MODULE_DEVICE_TABLE(acpi, i3c_hci_acpi_match);
842+
837843
static struct platform_driver i3c_hci_driver = {
838844
.probe = i3c_hci_probe,
839845
.remove_new = i3c_hci_remove,
840846
.driver = {
841847
.name = "mipi-i3c-hci",
842848
.of_match_table = of_match_ptr(i3c_hci_of_match),
849+
.acpi_match_table = i3c_hci_acpi_match,
843850
},
844851
};
845852
module_platform_driver(i3c_hci_driver);

0 commit comments

Comments
 (0)