blob: e031e1a486d9fc8e7d7d6539c75d39df1235d2c2 [file] [log] [blame]
eric miao42796d32008-04-14 09:35:08 +01001/*
2 * Generic PWM backlight driver data - see drivers/video/backlight/pwm_bl.c
3 */
4#ifndef __LINUX_PWM_BACKLIGHT_H
5#define __LINUX_PWM_BACKLIGHT_H
6
7struct platform_pwm_backlight_data {
8 int pwm_id;
9 unsigned int max_brightness;
10 unsigned int dft_brightness;
Arun Murthyfef77642010-11-11 14:05:28 -080011 unsigned int lth_brightness;
eric miao42796d32008-04-14 09:35:08 +010012 unsigned int pwm_period_ns;
Philipp Zabel3b731252008-05-22 14:18:40 +010013 int (*init)(struct device *dev);
Ben Dookscfc38992009-11-10 17:20:40 +000014 int (*notify)(struct device *dev, int brightness);
Philipp Zabel3b731252008-05-22 14:18:40 +010015 void (*exit)(struct device *dev);
eric miao42796d32008-04-14 09:35:08 +010016};
17
18#endif