mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
phonepad: update phonepad tp struct, exp gpio struct and lcd io enable control
[reference file] modified: arch/arm/mach-rk2928/include/mach/board.h include/linux/rk_screen.h
This commit is contained in:
parent
f38439c12e
commit
a575810206
|
|
@ -67,6 +67,26 @@ struct ft5x0x_platform_data{
|
|||
void (*exit_platform_hw)(void);
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined (CONFIG_TOUCHSCREEN_I30)
|
||||
struct ft5306_platform_data {
|
||||
int rest_pin;
|
||||
int irq_pin ;
|
||||
int (*get_pendown_state)(void);
|
||||
int (*init_platform_hw)(void);
|
||||
int (*platform_sleep)(void);
|
||||
int (*platform_wakeup)(void);
|
||||
void (*exit_platform_hw)(void);
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined (CONFIG_GPIOEXP_AW9523B)
|
||||
struct gpio_exp_platform_data {
|
||||
int (*init_platform_hw)(void);
|
||||
void (*exit_platform_hw)(void);
|
||||
};
|
||||
#endif
|
||||
|
||||
enum _periph_pll {
|
||||
periph_pll_1485mhz = 148500000,
|
||||
periph_pll_297mhz = 297000000,
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ struct rk29lcd_info {
|
|||
u32 reset_pin;
|
||||
int (*io_init)(void);
|
||||
int (*io_deinit)(void);
|
||||
int (*io_enable)(void);
|
||||
int (*io_disable)(void);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user