You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
547 B
30 lines
547 B
18 years ago
|
#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;
|
||
16 years ago
|
|
||
18 years ago
|
void (*shutdown)(struct mipid_platform_data *pdata);
|
||
16 years ago
|
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);
|
||
18 years ago
|
};
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif
|