]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
f4e4c324 TL |
2 | #ifndef __LCD_MIPID_H |
3 | #define __LCD_MIPID_H | |
4 | ||
5 | enum mipid_test_num { | |
6 | MIPID_TEST_RGB_LINES, | |
7 | }; | |
8 | ||
9 | enum mipid_test_result { | |
10 | MIPID_TEST_SUCCESS, | |
11 | MIPID_TEST_INVALID, | |
12 | MIPID_TEST_FAILED, | |
13 | }; | |
14 | ||
15 | #ifdef __KERNEL__ | |
16 | ||
17 | struct mipid_platform_data { | |
18 | int nreset_gpio; | |
19 | int data_lines; | |
66d2f99d | 20 | |
f4e4c324 | 21 | void (*shutdown)(struct mipid_platform_data *pdata); |
66d2f99d ID |
22 | void (*set_bklight_level)(struct mipid_platform_data *pdata, |
23 | int level); | |
24 | int (*get_bklight_level)(struct mipid_platform_data *pdata); | |
25 | int (*get_bklight_max)(struct mipid_platform_data *pdata); | |
f4e4c324 TL |
26 | }; |
27 | ||
28 | #endif | |
29 | ||
30 | #endif |