From d44e30685ec873b14916503d330475e17cafe25f Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 12 Jul 2014 14:02:24 -0600 Subject: [PATCH] SAMA5D4-EK: The MXT should be able to handle an I2C frequency of 400KHz --- configs/sama5d4-ek/Kconfig | 2 +- configs/sama5d4-ek/nsh/defconfig | 4 +++- configs/sama5d4-ek/nxwm/defconfig | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configs/sama5d4-ek/Kconfig b/configs/sama5d4-ek/Kconfig index ea53972c45..dd25ecaafc 100644 --- a/configs/sama5d4-ek/Kconfig +++ b/configs/sama5d4-ek/Kconfig @@ -178,7 +178,7 @@ if INPUT_MXT config SAMA5D4EK_MXT_I2CFREQUENCY int "maXTouch I2C frequency" - default 100000 + default 400000 config SAMA5D4EK_MXT_DEVMINOR int "/dev/input minor number" diff --git a/configs/sama5d4-ek/nsh/defconfig b/configs/sama5d4-ek/nsh/defconfig index 40199147fa..b66c0a7f5a 100644 --- a/configs/sama5d4-ek/nsh/defconfig +++ b/configs/sama5d4-ek/nsh/defconfig @@ -409,7 +409,7 @@ CONFIG_NSH_MMCSDSLOTNO=0 # CONFIG_SAMA5D4EK_396MHZ is not set CONFIG_SAMA5D4EK_528MHZ=y CONFIG_SAMA5D4EK_DRAM_BOOT=y -CONFIG_SAMA5D4EK_MXT_I2CFREQUENCY=100000 +CONFIG_SAMA5D4EK_MXT_I2CFREQUENCY=400000 CONFIG_SAMA5D4EK_MXT_DEVMINOR=0 # @@ -543,6 +543,8 @@ CONFIG_INPUT=y # CONFIG_INPUT_TSC2007 is not set # CONFIG_INPUT_ADS7843E is not set CONFIG_INPUT_MXT=y +CONFIG_MXT_THRESHX=5 +CONFIG_MXT_THRESHY=8 CONFIG_MXT_NPOLLWAITERS=4 # CONFIG_INPUT_STMPE811 is not set # CONFIG_LCD is not set diff --git a/configs/sama5d4-ek/nxwm/defconfig b/configs/sama5d4-ek/nxwm/defconfig index b113eb2c4e..319463c0db 100644 --- a/configs/sama5d4-ek/nxwm/defconfig +++ b/configs/sama5d4-ek/nxwm/defconfig @@ -409,7 +409,7 @@ CONFIG_NSH_MMCSDSLOTNO=0 # CONFIG_SAMA5D4EK_396MHZ is not set CONFIG_SAMA5D4EK_528MHZ=y CONFIG_SAMA5D4EK_DRAM_BOOT=y -CONFIG_SAMA5D4EK_MXT_I2CFREQUENCY=100000 +CONFIG_SAMA5D4EK_MXT_I2CFREQUENCY=400000 CONFIG_SAMA5D4EK_MXT_DEVMINOR=0 # @@ -547,6 +547,8 @@ CONFIG_INPUT=y # CONFIG_INPUT_TSC2007 is not set # CONFIG_INPUT_ADS7843E is not set CONFIG_INPUT_MXT=y +CONFIG_MXT_THRESHX=5 +CONFIG_MXT_THRESHY=8 CONFIG_MXT_NPOLLWAITERS=4 # CONFIG_INPUT_STMPE811 is not set # CONFIG_LCD is not set