2006-12-08 05:57:38 +08:00
|
|
|
#ifndef __LCD_MIPID_H
|
|
|
|
#define __LCD_MIPID_H
|
|
|
|
|
|
|
|
enum mipid_test_num {
|
|
|
|
MIPID_TEST_RGB_LINES,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum mipid_test_result {
|
|
|
|
MIPID_TEST_SUCCESS,
|
|
|
|
MIPID_TEST_INVALID,
|
|
|
|
MIPID_TEST_FAILED,
|
|
|
|
};
|
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
|
|
|
struct mipid_platform_data {
|
|
|
|
int nreset_gpio;
|
|
|
|
int data_lines;
|
2009-09-23 07:46:41 +08:00
|
|
|
|
2006-12-08 05:57:38 +08:00
|
|
|
void (*shutdown)(struct mipid_platform_data *pdata);
|
2009-09-23 07:46:41 +08:00
|
|
|
void (*set_bklight_level)(struct mipid_platform_data *pdata,
|
|
|
|
int level);
|
|
|
|
int (*get_bklight_level)(struct mipid_platform_data *pdata);
|
|
|
|
int (*get_bklight_max)(struct mipid_platform_data *pdata);
|
2006-12-08 05:57:38 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|