mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
switch ctp touchpannel to i2c0
This commit is contained in:
@@ -652,7 +652,15 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = {
|
||||
.addr = 0x1a,
|
||||
.flags = 0,
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#if defined (CONFIG_TOUCHSCREEN_IT7250) //add by robert for ctp_it7250
|
||||
{
|
||||
.type = "Ctp_it7250",
|
||||
.addr = 0x46,
|
||||
.flags = 0,
|
||||
.irq = RK2818_PIN_PE1,
|
||||
},
|
||||
#endif //end add
|
||||
};
|
||||
static struct i2c_board_info __initdata board_i2c1_devices[] = {
|
||||
#if defined (CONFIG_RTC_HYM8563)
|
||||
@@ -701,15 +709,7 @@ static struct i2c_board_info __initdata board_i2c1_devices[] = {
|
||||
.platform_data = &rk2818_gs_platdata,
|
||||
},
|
||||
#endif
|
||||
#if defined (CONFIG_TOUCHSCREEN_IT7250) //add by robert for ctp_it7250
|
||||
{
|
||||
.type = "Ctp_it7250",
|
||||
.addr = 0x46,
|
||||
.flags = 0,
|
||||
.irq = RK2818_PIN_PE1,
|
||||
},
|
||||
#endif //end add
|
||||
{},
|
||||
|
||||
};
|
||||
|
||||
static struct i2c_board_info __initdata board_i2c2_devices[] = {
|
||||
|
||||
Reference in New Issue
Block a user