LM3642SW-LINUX

Linux Driver for LM3642

LM3642SW-LINUX

Overview

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.

 

Illumination LED drivers
LM3642 1.5A Synchronous Boost LED flash driver w/ high-side current
Download View video with transcript Video

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