hc
2024-03-26 e0728245c89800c2038c23308f2d88969d5b41c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* SPDX-License-Identifier: GPL-2.0 */
#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;
 
   void    (*shutdown)(struct mipid_platform_data *pdata);
   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);
};
 
#endif
 
#endif