2011-07-20 14:44:21 +00:00
|
|
|
/* linux/arch/arm/plat-samsung/include/plat/backlight.h
|
|
|
|
*
|
|
|
|
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
|
|
|
|
* http://www.samsung.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 __ASM_PLAT_BACKLIGHT_H
|
|
|
|
#define __ASM_PLAT_BACKLIGHT_H __FILE__
|
|
|
|
|
|
|
|
/* samsung_bl_gpio_info - GPIO info for PWM Backlight control
|
|
|
|
* @no: GPIO number for PWM timer out
|
|
|
|
* @func: Special function of GPIO line for PWM timer
|
|
|
|
*/
|
|
|
|
struct samsung_bl_gpio_info {
|
|
|
|
int no;
|
|
|
|
int func;
|
|
|
|
};
|
|
|
|
|
2011-07-29 01:23:45 +00:00
|
|
|
extern void __init samsung_bl_set(struct samsung_bl_gpio_info *gpio_info,
|
2011-07-20 14:44:21 +00:00
|
|
|
struct platform_pwm_backlight_data *bl_data);
|
|
|
|
|
|
|
|
#endif /* __ASM_PLAT_BACKLIGHT_H */
|