diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/led-lm3530.h | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/include/linux/led-lm3530.h b/include/linux/led-lm3530.h index 4b133479d6e..963ecb68002 100644 --- a/include/linux/led-lm3530.h +++ b/include/linux/led-lm3530.h @@ -60,6 +60,7 @@  enum lm3530_mode {  	LM3530_BL_MODE_MANUAL = 0,	/* "man" */ +	LM3530_BL_MODE_SIMPLE_MANUAL,	/* "man" simple enable/disable */  	LM3530_BL_MODE_ALS,		/* "als" */  	LM3530_BL_MODE_PWM,		/* "pwm" */  }; @@ -93,6 +94,7 @@ struct lm3530_pwm_data {   * @als_vmin: als input voltage calibrated for max brightness in mV   * @als_vmax: als input voltage calibrated for min brightness in mV   * @brt_val: brightness value (0-127) + * @pwm_gpio: PWM control pin   * @pwm_data: PWM control functions (only valid when the mode is PWM)   */  struct lm3530_platform_data { @@ -115,6 +117,8 @@ struct lm3530_platform_data {  	u8 brt_val; +	int pwm_gpio; +  	struct lm3530_pwm_data pwm_data;  }; |