]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dw: Add alternative ACPI HIDs for Cherry Trail DMA controllers
authorHans de Goede <hdegoede@redhat.com>
Mon, 27 Aug 2018 07:45:45 +0000 (09:45 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 29 Aug 2018 16:24:56 +0000 (21:54 +0530)
commitfcb25a50b14b50ed0189067c728ac768ff823ade
tree6e06bdb6b981dd3aead3f3feb247e20a615ee020
parentf030a7bb7b1f7de16c1c716a587185e209e25800
dmaengine: dw: 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>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw/platform.c