default or selected kernelversion does not have config value CONFIG_AXP288_CHARGER.
Result is shown for kernelversion 6.0-rc7

X-Powers AXP288 Charger

modulename: axp288_charger.ko
configname: CONFIG_AXP288_CHARGER

Linux Kernel Configuration
└─> Device Drivers
└─> Power supply class support
└─> X-Powers AXP288 Charger

Say yes here to have support X-Power AXP288 power management IC (PMIC)
integrated charger.

source code: