/* SPDX-License-Identifier: GPL-2.0-only */ /* * Simple driver for Texas Instruments LM3630A LED Flash driver chip * Copyright (C) 2012 Texas Instruments */ #ifndef __LINUX_LM3630A_H #define __LINUX_LM3630A_H #define LM3630A_NAME … enum lm3630a_pwm_ctrl { … }; enum lm3630a_leda_ctrl { … }; enum lm3630a_ledb_ctrl { … }; #define LM3630A_MAX_BRIGHTNESS … /* *@leda_label : optional led a label. *@leda_init_brt : led a init brightness. 4~255 *@leda_max_brt : led a max brightness. 4~255 *@leda_ctrl : led a disable, enable linear, enable exponential *@ledb_label : optional led b label. *@ledb_init_brt : led b init brightness. 4~255 *@ledb_max_brt : led b max brightness. 4~255 *@ledb_ctrl : led b disable, enable linear, enable exponential *@pwm_period : pwm period *@pwm_ctrl : pwm disable, bank a or b, active high or low */ struct lm3630a_platform_data { … }; #endif /* __LINUX_LM3630A_H */