| * Simple driver for Texas Instruments LM3630 LED Flash driver chip |
| * 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. |
| #define LM3630_NAME "lm3630_bl" |
| enum lm3630_bank_a_ctrl { |
| BANK_A_CTRL_DISABLE = 0x0, |
| enum lm3630_bank_b_ctrl { |
| struct lm3630_platform_data { |
| /* initial on brightness */ |
| enum lm3630_pwm_ctrl pwm_ctrl; |
| enum lm3630_pwm_active pwm_active; |
| enum lm3630_bank_a_ctrl bank_a_ctrl; |
| enum lm3630_bank_b_ctrl bank_b_ctrl; |
| void (*pwm_set_intensity) (int brightness, int max_brightness); |
| #endif /* __LINUX_LM3630_H */ |