diff options
author | Carlo Caione <carlo@endlessm.com> | 2018-04-18 14:04:40 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-10 17:12:39 +0200 |
commit | 91ea5b1dd3aedd8bbf710956f219109bbe0c26e0 (patch) | |
tree | f12935596243e28cf3d6b434502009bef2065556 /include/acpi | |
parent | 75bc37fefc4471e718ba8e651aa74673d4e0a9eb (diff) | |
download | linux-91ea5b1dd3aedd8bbf710956f219109bbe0c26e0.tar.gz linux-91ea5b1dd3aedd8bbf710956f219109bbe0c26e0.tar.bz2 linux-91ea5b1dd3aedd8bbf710956f219109bbe0c26e0.zip |
ACPI / AC: Add quirk to avoid checking for PMIC with native driver
With commit af3ec837b84b (ACPI / AC: Add a blacklist with PMIC ACPI HIDs
with a native charger driver) a blacklist was introduced to avoid using
the ACPI drivers for AC when a native PMIC driver was already present.
While this is in general a good idea (because of broken DSDT or proprietary
and undocumented ACPI opregions for the ACPI AC devices) there are some
Cherry Trail devices which use a separate charger controller despite the
AXP288 having a builtin charger.
The net effect of blacklisting the ACPI drivers is that on these devices
the AC reporting is broken since the AXP288 PMIC charger bits are not
actually used on this hardware.
This commit adds an ac_do_not_check_pmic quirk for this and sets this on
the 2 devices currently known to use a separate FG controller,
the ECS EF20EA and the Lenovo Ideapad Miix 320.
[hdegoede@redhat.com: Merge the quirk handling and the adding of the DMI
table entry into 1 commit, add a second DMI entry for the Miix 320.]
Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions