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:
linjh 2012-09-27 17:51:20 +08:00
parent f38439c12e
commit a575810206
2 changed files with 22 additions and 0 deletions

View File

@ -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,

View File

@ -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);
};