Thank you for investigating the driver support for the MAX98357A! However, the absence of maxim,max98357a in the kernel drivers is expected behavior. Here’s why:
The MAX98357A is a "dumb" I2S amplifier
Unlike other Maxim devices (e.g., MAX9286 for cameras), the MAX98357A does not require a dedicated kernel driver. It works as a raw I2S-to-analog converter and relies on the I2S interface itself, configured via ALSA and the SoC’s I2S driver.
The real issue is I2S driver support for Allwinner H618
For the MAX98357A to work, the I2S controller driver (e.g., sun8i-i2s) must be enabled in the kernel. In the OP’s case (kernel 6.6.75), this driver is missing for the H618. Here’s how to fix it: