aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data/lm35xx_bl.h
blob: 02d12b989565b061e46fb539e15e1e93787868b4 (plain)
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
32
33
34
35
36
37
/*
 * Copyright (C) 2012 LGE, Inc.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef __LM35XX_BL_H
#define __LM35XX_BL_H

#ifdef CONFIG_BACKLIGHT_LM3530
void lm3530_lcd_backlight_set_level( int level);
void lm3530_lcd_backlight_pwm_disable(void);
int lm3530_lcd_backlight_on_status(void);
#endif

struct backlight_platform_data {
	void (*platform_init)(void);
	int gpio;
	unsigned int mode;
	int max_current;
	int init_on_boot;
	int min_brightness;
	int max_brightness;
	int default_brightness;
	char *blmap;
	int blmap_size;
};

#endif