spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / plat-omap / include / plat / lcd_mipid.h
blob8e52c6572281792cdb703b2f9ea60c70dbd56559
1 #ifndef __LCD_MIPID_H
2 #define __LCD_MIPID_H
4 enum mipid_test_num {
5 MIPID_TEST_RGB_LINES,
6 };
8 enum mipid_test_result {
9 MIPID_TEST_SUCCESS,
10 MIPID_TEST_INVALID,
11 MIPID_TEST_FAILED,
14 #ifdef __KERNEL__
16 struct mipid_platform_data {
17 int nreset_gpio;
18 int data_lines;
20 void (*shutdown)(struct mipid_platform_data *pdata);
21 void (*set_bklight_level)(struct mipid_platform_data *pdata,
22 int level);
23 int (*get_bklight_level)(struct mipid_platform_data *pdata);
24 int (*get_bklight_max)(struct mipid_platform_data *pdata);
27 #endif
29 #endif