DRV260XSW-LINUX

Linux Driver for DRV260x

DRV260XSW-LINUX

Overview

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:

  1. drivers/input/misc/drv260x.c
  2. Documentation/devicetree/bindings/input/ti,drv260x.txt
  3. 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  : tristate
Prompt: 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 this
driver please either

1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Here

or

2.  Contact your TI representative.

 

Haptic motor drivers
DRV2604 Haptic driver for ERM/LRA with waveform memory & auto-resonance tracking DRV2604L Haptic driver for ERM/LRA with 2-V operation, waveform memory & auto-resonance tracking DRV2605 Haptic driver for ERM/LRA with waveform library & auto-resonance tracking DRV2605L Haptic driver for ERM/LRA with 2-V operation, waveform library & auto-resonance tracking

Support & training

TI E2E™ forums with technical support from TI engineers

View all forum topics

Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.

If you have questions about quality, packaging or ordering TI products, see TI support. ​​​​​​​​

Videos