CONFIG_RTC_DS1742 is not available for thedefaultarchitecture x86.
Result is shown for architecture mips
default or selected kernelversion does not have config value CONFIG_RTC_DS1742.
Result is shown for kernelversion 5.4.123
DS1742 BRAM/RTC support
configname: CONFIG_RTC_DS1742
Linux/MIPS Kernel Configuration
└─>CPU selection
└─>DS1742 BRAM/RTC support