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

Maxim MAX7360 Rotary Encoder

modulename: max7360-rotary.ko

configname: CONFIG_INPUT_MAX7360_ROTARY

Linux Kernel Configuration
└─>Device Drivers
└─>Input device support
└─>Miscellaneous devices
└─>Maxim MAX7360 Rotary Encoder
In linux kernel since version 6.12.57 (release Date: 2025-11-02)  
If you say yes here you get support for the rotary encoder on the
Maxim MAX7360 I/O Expander.

To compile this driver as a module, choose M here: the module will be
called max7360_rotary.

source code: