Bug 208729 - AXP288 no battery info on Cherrytrail Tablet
Summary: AXP288 no battery info on Cherrytrail Tablet
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Platform_x86 (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_platform_x86@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-28 23:02 UTC by Tino S.
Modified: 2020-08-18 20:43 UTC (History)
0 users

See Also:
Kernel Version: 5.7
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg | grep -i acpi (9.56 KB, text/plain)
2020-07-28 23:02 UTC, Tino S.
Details
lsmod (5.97 KB, text/plain)
2020-07-28 23:02 UTC, Tino S.
Details
acpidump (677.43 KB, text/plain)
2020-08-07 09:15 UTC, Tino S.
Details

Description Tino S. 2020-07-28 23:02:03 UTC
Created attachment 290657 [details]
dmesg | grep -i acpi

I have a Cherrytrail-based tablet (Trekstor SurfTab twin 11.6) which shows no information about batery state / power management at all. It seems the right modules are loaded:

axp20x_pek             16384  0
axp288_fuel_gauge      28672  0
industrialio           94208  4 industrialio_triggered_buffer,kfifo_buf,axp288_fuel_gauge,bmc150_accel_core
axp20x_i2c             16384  0
regmap_i2c             16384  3 snd_soc_rt5651,axp20x_i2c,bmc150_accel_i2c
axp20x                 32768  1 axp20x_i2c
mfd_core               20480  2 axp20x,lpc_ich

But the directory /sys/class/power_supply is empty and the acpi tool also 

Related to AXP288 and ACPI the log shows this:
[   32.387720] ACPI: AC: found native INT33F4 PMIC, not loading
[   32.851507] ACPI: AC: found native INT33F4 PMIC, not loading

I attached the output of dmesg and lsmod and dmidecode.

If you need anything else please let me know.

Thanks,
Tino
Comment 1 Tino S. 2020-07-28 23:02:59 UTC
Created attachment 290659 [details]
lsmod
Comment 2 Tino S. 2020-08-07 09:15:41 UTC
Created attachment 290807 [details]
acpidump

This is acpi dump of the device
Comment 3 Tino S. 2020-08-08 15:35:39 UTC
This report is a follow-up of this:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964181
Comment 4 Tino S. 2020-08-18 20:43:57 UTC
We can close this as this is a config-related issue. With

CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
CONFIG_MFD_CORE=y
CONFIG_MFD_AXP20X=y
CONFIG_MFD_AXP20X_I2C=y
CONFIG_AXP288_ADC=m

it works as it should.

Note You need to log in before you can comment on or make changes to this bug.