default or selected kernelversion does not have config value CONFIG_SENSORS_DS1374.
Result is shown for kernelversion 5.15.113

Maxim/Dallas Semiconductor DS1374 Real Time Clock

modulename: ds1374.ko

configname: CONFIG_SENSORS_DS1374

Linux Kernel Configuration
└─>Device Drivers
└─>I2C support
└─>Miscellaneous I2C Chip support
└─>Maxim/Dallas Semiconductor DS1374 Real Time Clock
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
If you say yes here you get support for Dallas Semiconductor
DS1374 real-time clock chips.

This driver can also be built as a module. If so, the module
will be called ds1374.

source code:
depends
CONFIG_EXPERIMENTAL
CONFIG_I2C