diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/configs/nitrogen6x_defconfig | 3 | ||||
-rw-r--r-- | arch/arm/mach-mx6/board-mx6q_sabrelite.c | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/configs/nitrogen6x_defconfig b/arch/arm/configs/nitrogen6x_defconfig index 0c3b5151b863..f387d81f50ec 100644 --- a/arch/arm/configs/nitrogen6x_defconfig +++ b/arch/arm/configs/nitrogen6x_defconfig @@ -1078,6 +1078,7 @@ CONFIG_INPUT_TOUCHSCREEN=y # CONFIG_TOUCHSCREEN_HAMPSHIRE is not set # CONFIG_TOUCHSCREEN_EETI is not set CONFIG_TOUCHSCREEN_EGALAX=y +CONFIG_TOUCHSCREEN_EGALAX_SINGLE_TOUCH=y # CONFIG_TOUCHSCREEN_FUJITSU is not set # CONFIG_TOUCHSCREEN_GUNZE is not set # CONFIG_TOUCHSCREEN_ELO is not set @@ -1100,6 +1101,8 @@ CONFIG_TOUCHSCREEN_TSC2004=y # CONFIG_TOUCHSCREEN_ST1232 is not set # CONFIG_TOUCHSCREEN_P1003 is not set # CONFIG_TOUCHSCREEN_TPS6507X is not set +CONFIG_TOUCHSCREEN_FT5X06=y +CONFIG_TOUCHSCREEN_FT5X06_SINGLE_TOUCH=y CONFIG_INPUT_MISC=y # CONFIG_INPUT_AD714X is not set # CONFIG_INPUT_ATI_REMOTE is not set diff --git a/arch/arm/mach-mx6/board-mx6q_sabrelite.c b/arch/arm/mach-mx6/board-mx6q_sabrelite.c index fed83bd95a20..c0065bfc24d4 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabrelite.c +++ b/arch/arm/mach-mx6/board-mx6q_sabrelite.c @@ -694,6 +694,13 @@ static struct i2c_board_info mxc_i2c2_board_info[] __initdata = { .platform_data = &tsc2007_info, .irq = gpio_to_irq(MX6Q_SABRELITE_DRGB_IRQGPIO), }, +#if defined(CONFIG_TOUCHSCREEN_FT5X06) \ + || defined(CONFIG_TOUCHSCREEN_FT5X06_MODULE) + { + I2C_BOARD_INFO("ft5x06-ts", 0x38), + .irq = gpio_to_irq(MX6Q_SABRELITE_CAP_TCH_INT1), + }, +#endif }; static void imx6q_sabrelite_usbotg_vbus(bool on) @@ -970,6 +977,7 @@ static void __init sabrelite_add_device_buttons(void) {} static iomux_v3_cfg_t n6x_sd2_pads[] = { MX6Q_USDHC_PAD_SETTING(2, 50), + MX6Q_PAD_SD1_CLK__OSC32K_32K_OUT, }; #ifdef CONFIG_WL12XX_PLATFORM_DATA @@ -1257,8 +1265,8 @@ static void __init mx6_sabrelite_board_init(void) imx6q_add_anatop_thermal_imx(1, &mx6q_sabrelite_anatop_thermal_data); imx6_init_fec(fec_data); imx6q_add_pm_imx(0, &mx6q_sabrelite_pm_data); - imx6q_add_sdhci_usdhc_imx(3, &mx6q_sabrelite_sd4_data); imx6q_add_sdhci_usdhc_imx(2, &mx6q_sabrelite_sd3_data); + imx6q_add_sdhci_usdhc_imx(3, &mx6q_sabrelite_sd4_data); imx_add_viv_gpu(&imx6_gpu_data, &imx6q_gpu_pdata); imx6q_sabrelite_init_usb(); imx6q_add_ahci(0, &mx6q_sabrelite_sata_data); |