power: supply: axp288_fuel_gauge: Deny ROCK Pi X
authorGuoyi Zhang <kuoi@bioarchlinux.org>
Wed, 21 Feb 2024 08:34:25 +0000 (16:34 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 21 Feb 2024 20:18:24 +0000 (21:18 +0100)
commit9e6047c01159697cfd2f9b7788af9fe90fc7f544
tree24d13b38a945e619e5e0384733d339c73cbdaa65
parent6f005ab7f5814bcbb58154167c282f03fc35db6a
power: supply: axp288_fuel_gauge: Deny ROCK Pi X

The ROCK Pi X is a single board computer without batteries using the
AXP288 PMIC where the EFI code does not disable the charger part of
the PMIC causing us to report a discharging battery with a continuously
consumed battery charge to userspace.

Add it to the deny-list to avoid the bogus battery status reporting.

Signed-off-by: Guoyi Zhang <kuoi@bioarchlinux.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240221083425.440108-1-kuoi@bioarchlinux.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/axp288_fuel_gauge.c