summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
diff options
context:
space:
mode:
authorCarlo Caione <carlo@endlessm.com>2018-04-18 14:04:39 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-05-10 16:59:48 +0200
commitec625a37c10c64681c00459912ce7318e133bf7a (patch)
tree5d7be3fbdbe3290a11bdf62cc79631e0b1af4f77 /drivers/gpu/drm/rockchip/rockchip_vop_reg.c
parent1b799c5cf031c2b615f4b21150eafde3ff227788 (diff)
downloadblackbird-op-linux-ec625a37c10c64681c00459912ce7318e133bf7a.tar.gz
blackbird-op-linux-ec625a37c10c64681c00459912ce7318e133bf7a.zip
ACPI / battery: Add quirk to avoid checking for PMIC with native driver
With commit dccfae6d4f4c (ACPI / battery: Add a blacklist with PMIC ACPI HIDs with a native battery driver) a blacklist was introduced to avoid using the ACPI drivers for the battery 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 battery devices) there are some Cherry Trail devices which use a separate FG controller despite the AXP288 having a builtin FG. The net effect of blacklisting the ACPI drivers is that on these devices the battery reporting is broken since the AXP288 PMIC FG bits are not actually used on this hardware. This commit adds a battery_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 'drivers/gpu/drm/rockchip/rockchip_vop_reg.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud