lcd-mipid.h 547 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __LCD_MIPID_H
  2. #define __LCD_MIPID_H
  3. enum mipid_test_num {
  4. MIPID_TEST_RGB_LINES,
  5. };
  6. enum mipid_test_result {
  7. MIPID_TEST_SUCCESS,
  8. MIPID_TEST_INVALID,
  9. MIPID_TEST_FAILED,
  10. };
  11. #ifdef __KERNEL__
  12. struct mipid_platform_data {
  13. int nreset_gpio;
  14. int data_lines;
  15. void (*shutdown)(struct mipid_platform_data *pdata);
  16. void (*set_bklight_level)(struct mipid_platform_data *pdata,
  17. int level);
  18. int (*get_bklight_level)(struct mipid_platform_data *pdata);
  19. int (*get_bklight_max)(struct mipid_platform_data *pdata);
  20. };
  21. #endif
  22. #endif