]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers
authorHans de Goede <hdegoede@redhat.com>
Mon, 27 Aug 2018 07:45:44 +0000 (09:45 +0200)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:56:39 +0000 (19:56 -0600)
commitb68f9e2c05dfe38f9aa1247bfcbecea3d1b887a8
tree83a89faa7deb417b934f12fcaddbeee3e19619c9
parentb7d76df72b3917bc23db04256cf7e60723ed43e9
ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers

BugLink: https://bugs.launchpad.net/bugs/1836802
[ Upstream commit 240714061c58e6b1abfb3322398a7634151c06cb ]

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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/acpi/acpi_lpss.c