2 * Simple driver for Texas Instruments LM3556 LED Flash driver chip (Rev0x03)
3 * Copyright (C) 2012 Texas Instruments
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
11 #ifndef __LINUX_LM3556_H
12 #define __LINUX_LM3556_H
14 #define LM3556_NAME "leds-lm3556"
16 enum lm3556_pin_polarity
{
21 enum lm3556_pin_enable
{
26 enum lm3556_strobe_usuage
{
27 STROBE_EDGE_DETECT
= 0,
31 enum lm3556_indic_mode
{
32 INDIC_MODE_INTERNAL
= 0,
36 struct lm3556_platform_data
{
37 enum lm3556_pin_enable torch_pin_en
;
38 enum lm3556_pin_polarity torch_pin_polarity
;
40 enum lm3556_strobe_usuage strobe_usuage
;
41 enum lm3556_pin_enable strobe_pin_en
;
42 enum lm3556_pin_polarity strobe_pin_polarity
;
44 enum lm3556_pin_enable tx_pin_en
;
45 enum lm3556_pin_polarity tx_pin_polarity
;
47 enum lm3556_indic_mode indicator_mode
;
50 #endif /* __LINUX_LM3556_H */