diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pwm_backlight.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/pwm_backlight.h b/include/linux/pwm_backlight.h index bf19167960fe..c4d55510c7bd 100644 --- a/include/linux/pwm_backlight.h +++ b/include/linux/pwm_backlight.h @@ -18,6 +18,22 @@ #include <linux/backlight.h> +enum pwm_bl_edp_states { + PWM_BL_EDP_NEG_3, + PWM_BL_EDP_NEG_2, + PWM_BL_EDP_NEG_1, + PWM_BL_EDP_ZERO, + PWM_BL_EDP_1, + PWM_BL_EDP_2, + PWM_BL_EDP_3, + PWM_BL_EDP_4, + PWM_BL_EDP_5, + PWM_BL_EDP_6, + PWM_BL_EDP_NUM_STATES, +}; + +#define PWM_BL_EDP_BRIGHTNESS_UNIT 25 + struct platform_pwm_backlight_data { int pwm_id; unsigned int max_brightness; @@ -31,6 +47,8 @@ struct platform_pwm_backlight_data { void (*notify_after)(struct device *dev, int brightness); void (*exit)(struct device *dev); int (*check_fb)(struct device *dev, struct fb_info *info); + unsigned int *edp_states; + unsigned int *edp_brightness; }; #endif |