Skip to content

Commit fe68a58

Browse files
jwrdegoedegregkh
authored andcommitted
ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers
[ Upstream commit 2407140 ] Bay and Cherry Trail DSTDs represent a different set of devices depending on which OS the device think it is booting. One set of decices for Windows and another set of devices for Android which targets the Android-x86 Linux kernel fork (which e.g. used to have its own display driver instead of using the i915 driver). Which set of devices we are actually going to get is out of our control, this is controlled by the ACPI OSID variable, which gets either set through an EFI setup option, or sometimes is autodetected. So we need to support both. This commit adds support for the 80862286 and 808622C0 ACPI HIDs which we get for the first resp. second DMA controller on Cherry Trail devices when OSID is set to Android. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 74e8d28 commit fe68a58

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/acpi/acpi_lpss.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,11 @@ static const struct acpi_device_id acpi_lpss_device_ids[] = {
327327
{ "INT33FC", },
328328

329329
/* Braswell LPSS devices */
330+
{ "80862286", LPSS_ADDR(lpss_dma_desc) },
330331
{ "80862288", LPSS_ADDR(bsw_pwm_dev_desc) },
331332
{ "8086228A", LPSS_ADDR(bsw_uart_dev_desc) },
332333
{ "8086228E", LPSS_ADDR(bsw_spi_dev_desc) },
334+
{ "808622C0", LPSS_ADDR(lpss_dma_desc) },
333335
{ "808622C1", LPSS_ADDR(bsw_i2c_dev_desc) },
334336

335337
/* Broadwell LPSS devices */

0 commit comments

Comments
 (0)