LM3642SW-LINUX

用于 LM3642 的 Linux 驱动程序

LM3642SW-LINUX

概述

The Linux driver supports the LM3642 LED Flash Driver. The Linux driver supports communication through the I2C bus and interfaces with the LED sub-system.

 

Linux Mainline Status

Available in Linux Main line: Yes
Available through git.ti.com: N/A

Supported Devices:

  • lm3642

 

Linux Source Files

The files associated with this device are:

  1. drivers/leds/leds-lm3642.c
  2. include/linux/platform_data/leds-lm3642.h

Source Files

drivers/leds/leds-lm3642.c

Other Files

include/linux/platform_data/leds-lm3642.h

 

Enabling Driver Support

Configure kernel with "make menuconfig" (alternatively use "make xconfig" or"make nconfig")

Menuconfig Location

Symbol: LEDS_LM3642 [=y]Type  : tristatePrompt: LED support for LM3642 Chip  Location:    -> Device Drivers      -> LED Support (NEW_LEDS [=y])  Defined at drivers/leds/Kconfig:91  Depends on: NEW_LEDS [=y] && LEDS_CLASS [=y] && I2C [=y]  Selects: 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.

 

下载 观看带字幕的视频 视频

支持和培训