66d2f99d0b
Fixed-by: Mike Wege <ext-mike.wege@nokia.com> Fixed-by: Arnaud Patard <arnaud.patard@rtp-net.org> Fixed-by: Timo Savola <tsavola@movial.fi> Fixed-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Fixed-by: Trilok Soni <soni.trilok@gmail.com> Signed-off-by: Imre Deak <imre.deak@solidboot.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com> Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
30 lines
547 B
C
30 lines
547 B
C
#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
|