default or selected kernelversion does not have config value CONFIG_INPUT_MAX77843_HAPTIC.
Result is shown for kernelversion 5.4.229

MAXIM MAX77843 haptic controller support

modulename: max77843-haptic.ko

configname: CONFIG_INPUT_MAX77843_HAPTIC

Linux Kernel Configuration
└─>Device Drivers
└─>Input device support
└─>Miscellaneous devices
└─>MAXIM MAX77843 haptic controller support
In linux kernel since version 4.1 (release Date: 2015-06-21)  
This option enables support for the haptic controller on
MAXIM MAX77843 chip. The driver supports ff-memless interface
from input framework.

To compile this driver as module, choose M here: the
module will be called max77843-haptic.

source code: