1 /* Tegra PWM backlight data *
3 * Copyright (C) 2011 NVIDIA Corporation
4 * Author: Renuka Apte <rapte@nvidia.com>
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.
12 #ifndef TEGRA_PWM_BL_H
13 #define TEGRA_PWM_BL_H
15 #include <linux/backlight.h>
17 struct platform_tegra_pwm_backlight_data {
20 void (*switch_to_sfio)(int);
21 int gpio_conf_to_sfio;
22 unsigned int dft_brightness;
23 unsigned int max_brightness;
26 unsigned int clk_select;
27 int (*notify)(struct device *dev, int brightness);
28 int (*check_fb)(struct device *dev, struct fb_info *info);
31 #endif /* TERGA_PWM_BL_H */