DRV260XSW-LINUX

DRV260x용 리눅스 드라이버

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 지원을 방문하세요.