default or selected kernelversion does not have config value CONFIG_SERIAL_LH7A40X.
Result is shown for kernelversion 5.4.69

Sharp LH7A40X embedded UART support

modulename: serial_lh7a40x.ko

configname: CONFIG_SERIAL_LH7A40X

Linux Kernel Configuration
└─>Device Drivers
└─>Character devices
└─>Serial drivers
└─>Sharp LH7A40X embedded UART support
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
This enables support for the three on-board UARTs of the
Sharp LH7A40X series CPUs. Choose Y or M.

source code: