Merge branch 'for-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds
Pull LED subsystem update from Bryan Wu. * 'for-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds: (50 commits) leds-lp8788: forgotten unlock at lp8788_led_work LEDS: propagate error codes in blinkm_detect() LEDS: memory leak in blinkm_led_common_set() leds: add new lp8788 led driver LEDS: add BlinkM RGB LED driver, documentation and update MAINTAINERS leds: max8997: Simplify max8997_led_set_mode implementation leds/leds-s3c24xx: use devm_gpio_request leds: convert Network Space v2 LED driver to devm_kzalloc() and cleanup error exit path leds: convert DAC124S085 LED driver to devm_kzalloc() leds: convert LM3530 LED driver to devm_kzalloc() and cleanup error exit path leds: convert TCA6507 LED driver to devm_kzalloc() leds: convert Freescale MC13783 LED driver to devm_kzalloc() and cleanup error exit path leds: convert ADP5520 LED driver to devm_kzalloc() and cleanup error exit path leds: convert PCA955x LED driver to devm_kzalloc() and cleanup error exit path leds: convert Sun Fire LED driver to devm_kzalloc() and cleanup error exit path leds: convert PCA9532 LED driver to devm_kzalloc() leds: convert LT3593 LED driver to devm_kzalloc() leds: convert Renesas TPU LED driver to devm_kzalloc() and cleanup error exit path leds: convert LP5523 LED driver to devm_kzalloc() and cleanup error exit path leds: convert PCA9633 LED driver to devm_kzalloc() ...
This commit is contained in:
commit
aa0b3b2bee
51 changed files with 2376 additions and 413 deletions
50
include/linux/platform_data/leds-lm3556.h
Normal file
50
include/linux/platform_data/leds-lm3556.h
Normal file
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* Simple driver for Texas Instruments LM3556 LED Flash driver chip (Rev0x03)
|
||||
* Copyright (C) 2012 Texas Instruments
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __LINUX_LM3556_H
|
||||
#define __LINUX_LM3556_H
|
||||
|
||||
#define LM3556_NAME "leds-lm3556"
|
||||
|
||||
enum lm3556_pin_polarity {
|
||||
PIN_LOW_ACTIVE = 0,
|
||||
PIN_HIGH_ACTIVE,
|
||||
};
|
||||
|
||||
enum lm3556_pin_enable {
|
||||
PIN_DISABLED = 0,
|
||||
PIN_ENABLED,
|
||||
};
|
||||
|
||||
enum lm3556_strobe_usuage {
|
||||
STROBE_EDGE_DETECT = 0,
|
||||
STROBE_LEVEL_DETECT,
|
||||
};
|
||||
|
||||
enum lm3556_indic_mode {
|
||||
INDIC_MODE_INTERNAL = 0,
|
||||
INDIC_MODE_EXTERNAL,
|
||||
};
|
||||
|
||||
struct lm3556_platform_data {
|
||||
enum lm3556_pin_enable torch_pin_en;
|
||||
enum lm3556_pin_polarity torch_pin_polarity;
|
||||
|
||||
enum lm3556_strobe_usuage strobe_usuage;
|
||||
enum lm3556_pin_enable strobe_pin_en;
|
||||
enum lm3556_pin_polarity strobe_pin_polarity;
|
||||
|
||||
enum lm3556_pin_enable tx_pin_en;
|
||||
enum lm3556_pin_polarity tx_pin_polarity;
|
||||
|
||||
enum lm3556_indic_mode indicator_mode;
|
||||
};
|
||||
|
||||
#endif /* __LINUX_LM3556_H */
|
Loading…
Add table
Add a link
Reference in a new issue