Skip to content

Commit 8eea417

Browse files
Shyam Sundar S Krafaeljw
authored andcommitted
ACPI: APD: Add AMDI0015 as platform device
Add AMDI0015 to the ACPI APD support list to ensure correct clock settings for the I3C device on the latest AMD platforms. Co-developed-by: Sanket Goswami <[email protected]> Signed-off-by: Sanket Goswami <[email protected]> Signed-off-by: Shyam Sundar S K <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Added missing tag ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 47ac09b commit 8eea417

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/acpi/acpi_apd.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ static const struct apd_device_desc wt_i2c_desc = {
118118
.fixed_clk_rate = 150000000,
119119
};
120120

121+
static const struct apd_device_desc wt_i3c_desc = {
122+
.setup = acpi_apd_setup,
123+
.fixed_clk_rate = 125000000,
124+
};
125+
121126
static struct property_entry uart_properties[] = {
122127
PROPERTY_ENTRY_U32("reg-io-width", 4),
123128
PROPERTY_ENTRY_U32("reg-shift", 2),
@@ -231,6 +236,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = {
231236
{ "AMD0030", },
232237
{ "AMD0040", APD_ADDR(fch_misc_desc)},
233238
{ "AMDI0010", APD_ADDR(wt_i2c_desc) },
239+
{ "AMDI0015", APD_ADDR(wt_i3c_desc) },
234240
{ "AMDI0019", APD_ADDR(wt_i2c_desc) },
235241
{ "AMDI0020", APD_ADDR(cz_uart_desc) },
236242
{ "AMDI0022", APD_ADDR(cz_uart_desc) },

0 commit comments

Comments
 (0)