Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <Sanket.Goswami@amd.com>
Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20240812144018.360847-1-Shyam-sundar.S-k@amd.com
[ rjw: Added missing tag ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Shyam Sundar S K and committed by
Rafael J. Wysocki
8eea417b 47ac09b9

+6
+6
drivers/acpi/acpi_apd.c
··· 118 118 .fixed_clk_rate = 150000000, 119 119 }; 120 120 121 + static const struct apd_device_desc wt_i3c_desc = { 122 + .setup = acpi_apd_setup, 123 + .fixed_clk_rate = 125000000, 124 + }; 125 + 121 126 static struct property_entry uart_properties[] = { 122 127 PROPERTY_ENTRY_U32("reg-io-width", 4), 123 128 PROPERTY_ENTRY_U32("reg-shift", 2), ··· 236 231 { "AMD0030", }, 237 232 { "AMD0040", APD_ADDR(fch_misc_desc)}, 238 233 { "AMDI0010", APD_ADDR(wt_i2c_desc) }, 234 + { "AMDI0015", APD_ADDR(wt_i3c_desc) }, 239 235 { "AMDI0019", APD_ADDR(wt_i2c_desc) }, 240 236 { "AMDI0020", APD_ADDR(cz_uart_desc) }, 241 237 { "AMDI0022", APD_ADDR(cz_uart_desc) },