/*
 * AMLOGIC lcd backlight support header file for backlight driver.
 *
 *
 * Author:  Evoke Zhang <evoke.zhang@amlogic.com>
 *
 */
#ifndef __AML_LCD_BACKLIGHT_H
#define __AML_LCD_BACKLIGHT_H

#define	DRV_BL_FLAG		0
#define LCD_BL_FLAG		1

#define BL_LEVEL_MAX    		255
#define BL_LEVEL_MIN    		10
#define BL_LEVEL_OFF			1

#define BL_LEVEL_MID    		128
#define BL_LEVEL_MID_MAPPED		102

extern void bl_power_on(int bl_flag);
extern void bl_power_off(int bl_flag);
extern unsigned get_backlight_level(void);
#endif