OSDN Git Service

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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 10 Sep 2018 10:50:41 +0000 (12:50 +0200)
commit240714061c58e6b1abfb3322398a7634151c06cb
tree9233de84eec98db8c150ef65e9574e8b267bac53
parent11da3a7f84f19c26da6f86af878298694ede0804
ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers

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>
drivers/acpi/acpi_lpss.c