DRV260XSW-LINUX

適用於 DRV260x 的 Linux 驅動程式

DRV260XSW-LINUX

概覽

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  : 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.

 

支援與培訓

內含 TI 工程師技術支援的 TI E2E™ 論壇

檢視所有論壇主題 以英文檢視所有論壇主題

內容係由 TI 和社群貢獻者依「現狀」提供,且不構成 TI 規範。檢視使用條款

若有關於品質、封裝或訂購 TI 產品的問題,請參閱 TI 支援