blob: 71a81f2eda881c5a4e2f841806152084ae31a150 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* Tegra PWM backlight data *
*
* Copyright (C) 2011 NVIDIA Corporation
* Author: Renuka Apte <rapte@nvidia.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#ifndef TEGRA_PWM_BL_H
#define TEGRA_PWM_BL_H
#include <linux/backlight.h>
struct platform_tegra_pwm_backlight_data {
int which_dc;
int which_pwm;
void (*switch_to_sfio)(int);
int gpio_conf_to_sfio;
unsigned int dft_brightness;
unsigned int max_brightness;
unsigned int period;
unsigned int clk_div;
unsigned int clk_select;
int (*notify)(struct device *dev, int brightness);
int (*check_fb)(struct device *dev, struct fb_info *info);
};
#endif /* TERGA_PWM_BL_H */
|