Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __LCD_MIPID_H
0003 #define __LCD_MIPID_H
0004 
0005 enum mipid_test_num {
0006     MIPID_TEST_RGB_LINES,
0007 };
0008 
0009 enum mipid_test_result {
0010     MIPID_TEST_SUCCESS,
0011     MIPID_TEST_INVALID,
0012     MIPID_TEST_FAILED,
0013 };
0014 
0015 #ifdef __KERNEL__
0016 
0017 struct mipid_platform_data {
0018     int nreset_gpio;
0019     int data_lines;
0020 
0021     void    (*shutdown)(struct mipid_platform_data *pdata);
0022     void    (*set_bklight_level)(struct mipid_platform_data *pdata,
0023                      int level);
0024     int (*get_bklight_level)(struct mipid_platform_data *pdata);
0025     int (*get_bklight_max)(struct mipid_platform_data *pdata);
0026 };
0027 
0028 #endif
0029 
0030 #endif