default or selected kernelversion does not have config value CONFIG_MTD_NAND_LOONGSON.
Result is shown for kernelversion 6.18-rc3

Loongson NAND controller

modulename: loongson-nand-controller.ko

configname: CONFIG_MTD_NAND_LOONGSON

Linux Kernel Configuration
└─>Device Drivers
└─>Memory Technology Device (MTD) support
└─>NAND
└─>Raw/Parallel NAND Device Support
└─>Loongson NAND controller
Enables support for NAND controller on Loongson family chips.

source code: