The Linux driver supports the DRV260X series of haptic motor drivers. The Linux driver supports communication through the I2C bus and interfaces with the input sub-system for a forced feedback response.
Linux Mainline Status
Available in Linux Main line: Yes
Available through git.ti.com: N/A
Supported Devices:
- drv2604
- drv2604l
- drv2605
- drv2605l
Linux Source Files
The files associated with this device are:
- drivers/input/misc/drv260x.c
- Documentation/devicetree/bindings/input/ti,drv260x.txt
- include/linux/platform_data/drv260x-pdata.h
Source Files
drivers/input/misc/drv260x.c
Linux Device Tree Documenation
Documentation/devicetree/bindings/input/ti,drv260x.txt
Other Files
include/linux/platform_data/drv260x-pdata.h
Enabling Driver Support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")
Menuconfig Location
Symbol: INPUT_DRV260X_HAPTICS [=y]Type : tristatePrompt: TI DRV260X haptics support Location: -> Device Drivers -> Input device support -> Generic input layer (needed for keyboard, mouse, ...) (INPUT [=y]) -> Miscellaneous devices (INPUT_MISC [=y]) Defined at drivers/input/misc/Kconfig:765 Depends on: !UML && INPUT_MISC [=y] && INPUT [=y] && I2C [=y] && (GPIOLIB [=y] || COMPILE_TEST [=y]) Selects: INPUT_FF_MEMLESS [=y] && REGMAP_I2C [=y]
Fixes and Code Enhancements
If there are fixes and or code enhancements that need to be added to thisdriver please either1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Hereor2. Contact your TI representative.