default or selected kernelversion does not have config value CONFIG_MTD_DOC2001.
Result is shown for kernelversion 6.2.5

M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)

modulename: doc2001.ko

configname: CONFIG_MTD_DOC2001

Linux Kernel Configuration
└─>Device Drivers
└─>Memory Technology Device (MTD) support
└─>Self-contained MTD device drivers
└─>M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
This provides an alternative MTD device driver for the M-Systems
DiskOnChip Millennium devices. Use this if you have problems with
the combined DiskOnChip 2000 and Millennium driver above. To get
the DiskOnChip probe code to load and use this driver instead of
the other one, you will need to undefine DOC_SINGLE_DRIVER near
the beginning of <file:drivers/mtd/devices/docprobe.c>.

If you use this device, you probably also want to enable the NFTL
'NAND Flash Translation Layer' option below, which is used to
emulate a block device by using a kind of file system on the flash
chips.

NOTE: This driver is deprecated and will probably be removed soon.
Please try the new DiskOnChip driver under "NAND Flash Device
Drivers".

source code: