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

Maxim MAX8971 battery charger driver

modulename: max8971_charger.ko

configname: CONFIG_CHARGER_MAX8971

Linux Kernel Configuration
└─>Device Drivers
└─>Power supply class support
└─>Maxim MAX8971 battery charger driver
In linux kernel since version 6.1.145 (release Date: 2025-07-14)  
The MAX8971 is a compact, high-frequency, high-efficiency switch-mode
charger for a one-cell lithium-ion (Li+) battery. It delivers up to
1.55A of current to the battery from inputs up to 7.5V and withstands
transient inputs up to 22V.

Say Y to enable support for the Maxim MAX8971 battery charger.
This driver can also be built as a module. If so, the module will be
called max8971_charger.

source code: