diff options
Diffstat (limited to 'include/linux/tegra_pwm_bl.h')
-rw-r--r-- | include/linux/tegra_pwm_bl.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/linux/tegra_pwm_bl.h b/include/linux/tegra_pwm_bl.h new file mode 100644 index 00000000000..71a81f2eda8 --- /dev/null +++ b/include/linux/tegra_pwm_bl.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /* Tegra PWM backlight data * | ||
2 | * | ||
3 | * Copyright (C) 2011 NVIDIA Corporation | ||
4 | * Author: Renuka Apte <rapte@nvidia.com> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | ||
11 | |||
12 | #ifndef TEGRA_PWM_BL_H | ||
13 | #define TEGRA_PWM_BL_H | ||
14 | |||
15 | #include <linux/backlight.h> | ||
16 | |||
17 | struct platform_tegra_pwm_backlight_data { | ||
18 | int which_dc; | ||
19 | int which_pwm; | ||
20 | void (*switch_to_sfio)(int); | ||
21 | int gpio_conf_to_sfio; | ||
22 | unsigned int dft_brightness; | ||
23 | unsigned int max_brightness; | ||
24 | unsigned int period; | ||
25 | unsigned int clk_div; | ||
26 | unsigned int clk_select; | ||
27 | int (*notify)(struct device *dev, int brightness); | ||
28 | int (*check_fb)(struct device *dev, struct fb_info *info); | ||
29 | }; | ||
30 | |||
31 | #endif /* TERGA_PWM_BL_H */ | ||