Commit 9e6047c0 authored by Guoyi Zhang's avatar Guoyi Zhang Committed by Sebastian Reichel

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: default avatarGuoyi Zhang <kuoi@bioarchlinux.org>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240221083425.440108-1-kuoi@bioarchlinux.orgSigned-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 6f005ab7
......@@ -601,6 +601,14 @@ static const struct dmi_system_id axp288_quirks[] = {
},
.driver_data = NULL,
},
{
/* Radxa ROCK Pi X Single Board Computer */
.matches = {
DMI_MATCH(DMI_BOARD_NAME, "ROCK Pi X"),
DMI_MATCH(DMI_BOARD_VENDOR, "Radxa"),
},
.driver_data = (void *)AXP288_QUIRK_NO_BATTERY,
},
{
/*
* Various Ace PC/Meegopad/MinisForum/Wintel Mini-PCs/HDMI-sticks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment