Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 52 ++
1 file changed, 52 insertions(+)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 02fce62..8794353 100644
--- a/drivers/input
The T100 object replaces the old T9 multitouch touchscreen object in new
chips.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 307 --
1 file changed, 296 insertions(+), 11 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index f182228..96c961e 100644
--- a/drivers/input/touchscreen
maXTouch chips allow the reading of multiple messages in a single I2C
transaction. The number of messages available to be read is given by the value
in the T44 object which is located directly before the T5 object.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 188
to issue a calibrate command after the chip has spent any time in
deep sleep.
This patch also deals with the situation where the power configuration is zero
on probe, which would mean that the device never wakes up to execute commands.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 83 +++---
1 file changed, 53 insertions(+), 30 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 335fa1b..b7e5646 100644
--- a
ostic
data, while the device is running.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 78 ++
1 file changed, 78 insertions(+)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 1de1d2
Some maXTouch chips will not respond on the first I2C request when they are in
a sleep state. It must be retried after a delay for the chip to wake up.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 39 +-
1 file changed, 27 insertions
Rather than having a separate configuration in platform data for screen size
and orientation, read it from the settings that the touchscreen controller is
using.
Signed-off-by: Nick Dyer
---
arch/arm/mach-exynos/mach-nuri.c |3 -
arch/arm/mach-exynos/mach-universal_c210.c |3
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 267b5d8..79fe3ba 100644
--- a/drivers/input
Add a debug switch which causes all messages from the touch controller to be
dumped to the dmesg log with a set prefix "MXT MSG:". This is used by Atmel
user-space utilities to debug touch operation. This does impact touch
performance somewhat.
Signed-off-by: Nick Dyer
---
dri
- flush any messages created after suspend
- tell app layer that slots were released at suspend
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 36 +-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen
diagnosis.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 217 ++
1 file changed, 129 insertions(+), 88 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 2f3793a..6dbd3d6
ff-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 61 --
include/linux/i2c/atmel_mxt_ts.h |1 +
2 files changed, 51 insertions(+), 11 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 28
1 file changed, 28 insertions(+)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 238c11c..94e54bd 100644
--- a/drivers/input
The mXT1664S family chips use different mappings for bootloader addresses.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/Kconfig|1 +
drivers/input/touchscreen/atmel_mxt_ts.c | 318 +++---
2 files changed, 244 insertions(+), 75 deletions(-)
diff --git a/drivers/input/touchscreen/Kconfig
b/drivers/input/touchscreen/Kconfig
This code attempts to recover from 1(b) and 3.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 33 +++---
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen
Handle multiple touch statuses in one report
Rename defines to add T9
Rename pressure to amplitude to match device spec
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 85 ++
1 file changed, 51 insertions(+), 34 deletions(-)
diff --git a
Allow the driver to optionally manage enabling/disable power to the touch
controller itself. If the regulators are not present then use the deep sleep
power mode instead.
For a correct power on sequence, it is required that we have control over the
RESET line.
Signed-off-by: Nick Dyer
If the power configuration is zero then the configuration download may fail to
work properly, so initialize T7 before config download. The downloaded
configuration may reset the T7 power configuration so it must be
re-initialized afterwards.
Signed-off-by: Nick Dyer
---
drivers/input
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 24
1 file changed, 24 insertions(+)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 94e54bd..b1fdc36 100644
--- a/drivers/input/touchscreen
The bootloader state machine toggles the CHG/Interrupt line to indicate when
it has transitioned between states. Waiting for this event improves bootloader
reliability.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 29 +++--
1 file changed, 27
By validating the checksum, we can identify if the configuration is corrupt.
In addition, this patch writes the configuration in a short series of block
writes rather than as many individual values.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 237
Add error messages for probe errors
Report type in invalid object type
Tweak some other debug output messages
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 35 --
1 file changed, 24 insertions(+), 11 deletions(-)
diff --git a/drivers
ASCII format for the configuration which can be exported from
their tools. This patch implements a parser for that format which loads the
configuration via the firmware loader and sends it to the MXT chip.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c |
The raw Atmel Object Based Protocol stores the instances and size minus one as
an efficiency measure. This can easily lead to bugs. Rename the variables to
make it clear what they are and implement macros for the conversion.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 67 +-
1 file changed, 1 insertion(+), 66 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 8794353..2f3793a 100644
--- a
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 41 ++
1 file changed, 31 insertions(+), 10 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index c879778..bdf7555 100644
--- a
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index bbe9aff..3994564 100644
--- a/drivers/input
bined patchset.
regards
--
Nick Dyer Senior Software Engineer
ITDev Hardware and Software Development Consultancy http://www.itdev.co.uk
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordom
enabled in maXTouch config (zero DISVECT
bit in T9 CTRL field)
Android converts the format in frameworks/base/services/input/Input.cpp,
search for ORIENTATION_CALIBRATION_VECTOR.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c |9 +++--
1 file changed, 7 insertions
This is in preparation for support of the T44 message count object.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 112 --
1 file changed, 58 insertions(+), 54 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers
rare), so it is better to either
1) Use level-triggered interrupts
or
2) Use edge-triggered interrupts and enable the RETRIGEN feature in T18
COMMSCONFIG
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 13 +
1 file changed, 1 insertion(+), 12 deletions
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 91 +-
1 file changed, 90 insertions(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index b0dcae4..3aac912 100644
--- a
complex and makes
device integration more error-prone because it duplicates information set
elsewhere. In addition, different versions of maXTouch chips may have these
values in different places or may not even have them at all.
Signed-off-by: Nick Dyer
---
arch/arm/mach-exynos/mach-nuri.c
Atmel supplies firmware files in ASCII HEX format (.enc) which must be
converted before they can be loaded by kernel driver. Try to detect the error
and print a friendly error message rather than feeding junk to the bootloader.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen
The matrix size is only used to print out a debug message, and results in some
rather confusing code to re-read it if the device configuration is updated. So
don't print it out.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 26 ++
1
Some systems (for example Android IDC files) rely on this name being
a specific string.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c |6 +-
include/linux/i2c/atmel_mxt_ts.h |1 +
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers
From: Iiro Valkonen
The delay before the chip can be accessed after reset varies between different
chips in maXTouch family. Waiting for 200ms and then monitoring the CHG (chip
is ready when the line is low) is guaranteed to work with all chips.
Signed-off-by: Nick Dyer
---
drivers/input
maXTouch chips and firmware versions have different sizes of message buffer
depending on the objects used, therefore it can't be hardcoded in the driver.
Allocate a buffer on probe instead.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c |
Benson Leung wrote:
> This is disappointing that Atmel decided to change the bootloader
> address scheme for the 1664S family. Unfortunately, this ifdef won't
> work for situations where there are more than one Atmel device of a
> different kind on a system using this same driver.
>
> For the C
onfig CRC, but you can get that from dmesg output
(it's in T6 messages).
You can try the mxt-app tool without the driver changes via i2c-dev, just
run it like "mxt-app -d2 -a4b" (for /dev/i2c-2, addr 4b).
cheers
--
Nick Dyer
Senior Software Engineer, ITDev
Hardware and Software Devel
Dmitry Torokhov wrote:
> On Thu, Jun 27, 2013 at 01:49:01PM +0100, Nick Dyer wrote:
>> Signed-off-by: Nick Dyer
>
> So before we allocated input device before requesting IRQ, now we fo it
> afterwards so there is moment where the interrupt is requested and not
> disabled an
Dmitry Torokhov wrote:
> On Thu, Jun 27, 2013 at 01:48:57PM +0100, Nick Dyer wrote:
>> Signed-off-by: Nick Dyer
>> Acked-by: Benson Leung
>
> Why is this needed?
The patch disables the interrupt handler on shutdown.
One of our customers reported a bug caused by input e
Dmitry Torokhov wrote:
>> The patch disables the interrupt handler on shutdown.
>>
>> One of our customers reported a bug caused by input events being generated
>> during shutdown (for example if the user was touching the device whilst it
>> was turning off), which was solved by putting in this cha
Mark Brown wrote:
> On Fri, Jun 21, 2013 at 09:16:16AM -0700, Nick Dyer wrote:
>> Mark Brown wrote:
>>> Yes, to be honest. I'd hope it wouldn't be increasing the number of
>>> read/write operations...
>
>> For some operations it does. For example
Dmitry Torokhov wrote:
> On Thu, Aug 15, 2013 at 04:55:57PM +0100, Nick Dyer wrote:
>> rydb...@euromail.se wrote:
>>> First: thanks for the patches and you work on this driver.
>>
>> Thank you for your time in looking at these changes.
>>
>>> Now, I do
This is in preparation for support of the T44 message count object.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 120 +++---
1 file changed, 62 insertions(+), 58 deletions(-)
diff --git a/drivers/input/touchscreen
* Remove unused dev variable.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 44 --
drivers/platform/x86/chromeos_laptop.c | 17
include/linux/i2c/atmel_mxt_ts.h |7 ++---
3 files changed, 30 insertions(+), 38 deleti
Many of these values are out of date and they aren't used in the driver - all
they do is increase the size of the kernel source.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 66 +-
1 file changed, 1 inse
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 842312e..df8fc1a 100644
--- a
This avoids confusion with the newer T100 touchscreen object.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 46 +++---
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/drivers/input/touchscreen
Signed-off-by: Daniel Kurtz
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 54 +-
1 file changed, 39 insertions(+), 15 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen
enabled in maXTouch config (zero DISVECT
bit in T9 CTRL field)
Android converts the format in frameworks/base/services/input/Input.cpp,
search for ORIENTATION_CALIBRATION_VECTOR.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c |9 +++--
1
changes the mxt_interrupt handler to signal the completion.
Signed-off-by: Benson Leung
Signed-off-by: Daniel Kurtz
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 102 --
1 file changed, 81 insertions(+), 21 deletions(-)
diff --git a/drivers
as we no longer wait longer than necessary
for each reset.
Signed-off-by: Benson Leung
Signed-off-by: Daniel Kurtz
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/drivers/input
Atmel supplies firmware files in ASCII HEX format (.enc) which must be
converted before they can be loaded by kernel driver. Try to detect the error
and print a friendly error message rather than feeding junk to the bootloader.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input
The T100 object replaces the old T9 multitouch touchscreen object in new
chips.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 299 --
1 file changed, 288 insertions(+), 11 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
From: Iiro Valkonen
The delay before the chip can be accessed after reset varies between different
chips in maXTouch family. Waiting for an interrupt and a T6 status message
with the RESET bit set is a better behaviour.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index ca02ee1..5291471 100644
By storing the previous T6 status byte we can detect reset completion more
correctly, and multiple debug output of the same status can be suppressed (for
example CFGERR).
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 60
some convenient
accessor functions that do the +1 every time these fields are accessed.
Signed-off-by: Daniel Kurtz
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 35 --
1 file changed, 24 insertions(+), 11 deletions(-)
ostic
data, while the device is running.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 82 ++
1 file changed, 82 insertions(+)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atme
On platforms which have multiple device instances using this driver, the
firmware may be different on each device. This patch makes the user give the
name of the firmware file when flashing.
This also prevents accidental triggering of the firmware load process.
Signed-off-by: Nick Dyer
Acked-by
mxt_initialize() into
mxt_configure_objects() to allow this.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 104 --
include/linux/i2c/atmel_mxt_ts.h |1 +
2 files changed, 86 insertions(+), 19 deletions(-)
diff --git a/drivers/input
By validating the checksum, we can identify if the configuration is corrupt.
In addition, this patch writes the configuration in a short series of block
writes rather than as many individual values.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c
positions
will be mashed together.
This also causes problems on Android if the number of slots exceeds 32.
In the future, this could be handled by looking for enabled touch object
instances and creating an input device for each one.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 27 ---
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index df8fc1a
There is a key array object in many maXTouch chips which allows some X/Y lines
to be used as a key array. This patch maps them to a series of keys which may
be configured in a platform data array.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c
- flush any messages created after suspend
- tell app layer that slots were released at suspend
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 46 ++
1 file changed, 46 insertions(+)
diff --git a/drivers/input
The T5 object may have various sizes depending on the objects used on the
particular maXTouch chip and firmware version, therefore it can't be hardcoded
in the driver. Allocate a buffer on probe instead.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchs
with this driver:
https://github.com/atmel-maxtouch/obp-utils
You can see the in-between versions at
https://github.com/ndyer/linux/
regards
--
Nick Dyer Senior Software Engineer
ITDev Hardware and Software Development Consultancy http://www.itdev.co.uk
--
To unsubscribe from this list: sen
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 2e6ddc5..ab6a1f6 100644
--- a
ASCII format for the configuration which can be exported from
their tools. This patch implements a parser for that format which loads the
configuration via the firmware loader and sends it to the MXT chip.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c |
device tree and other
platforms where having to define a static configuration isn't helpful.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
arch/arm/mach-exynos/mach-nuri.c |5 ---
arch/arm/mach-exynos/mach-universal_c210.c |5 ---
arch/arm/mach-s5pv210/mach-g
Move bootloaders reads/writes into separate functions. Instead of switching
client->addr, define new field bootloader_addr in mxt_data. Implement lookup
calculation for bootloader addresses.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c |
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 34 +++---
1 file changed, 26 insertions(+), 8 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index ad8b803
Add a debug switch which causes all messages from the touch controller to be
dumped to the dmesg log with a set prefix "MXT MSG:". This is used by Atmel
user-space utilities to debug touch operation. Enabling this output does
impact touch performance.
Signed-off-by: Nick Dyer
---
dri
ff-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 55 +-
include/linux/i2c/atmel_mxt_ts.h |1 +
2 files changed, 48 insertions(+), 8 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/
find the bootloader.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 125fe2f..06b631b 100644
--- a/dr
This code attempts to recover from 1(b) and 3.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 68 ++
1 file changed, 51 insertions(+), 17 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 129 +-
1 file changed, 75 insertions(+), 54 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index c91b22f..8d63780 100644
--- a
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 6631ef1..cd8f3e0 100644
If the power configuration is zero then the configuration download may fail to
work properly, so initialize T7 before config download. The downloaded
configuration may reset the T7 power configuration so it must be
re-initialized afterwards.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 100 ++
1 file changed, 74 insertions(+), 26 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 41ec122
x27;t print it out.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
arch/arm/mach-exynos/mach-nuri.c |3 -
arch/arm/mach-exynos/mach-universal_c210.c |3 -
arch/arm/mach-s5pv210/mach-goni.c |3 -
drivers/input/touchscreen/atmel_mxt_ts.c |
Allow the driver to optionally manage enabling/disable power to the touch
controller itself. If the regulators are not present then use the deep sleep
power mode instead.
For a correct power on sequence, it is required that we have control over the
RESET line.
Signed-off-by: Nick Dyer
Acked-by
diagnosis.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 181 ++
1 file changed, 111 insertions(+), 70 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
at mxt_proc_message) because
some objects may be used for completions (T6).
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 73 +-
1 file changed, 51 insertions(+), 22 deletions(-)
diff --git a/drivers/input/touchscr
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/Kconfig |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/touchscreen/Kconfig
b/drivers/input/touchscreen/Kconfig
index f9a5fd8..beb5ad1 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers
Some maXTouch chips (eg mXT1386) will not respond on the first I2C request
when they are in a sleep state. It must be retried after a delay for the chip
to wake up.
Signed-off-by: Nick Dyer
---
drivers/input/touchscreen/atmel_mxt_ts.c | 45 --
1 file changed, 30
By implementing a frame counter, print out fewer debug messages (the
firmware may contain hundreds of frames).
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c |8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers
maXTouch chips allow the reading of multiple messages in a single I2C
transaction. The number of messages available to be read is given by the value
in the T44 object which is located directly before the T5 object.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen
If the bootloader fails to start the appmode image on the touch controller, it
stays in bootloader mode. It is possible to reflash a working firmware image
from this state.
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 61
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 93 +-
1 file changed, 92 insertions(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 5a195be
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index c18803a
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c |8
1 file changed, 8 insertions(+)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index b3fe56c..2e6ddc5 100644
--- a/drivers/input
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c
b/drivers/input/touchscreen/atmel_mxt_ts.c
index 5291471..27a2425 100644
--- a
Add error messages for probe errors
Report type in invalid object type
Tweak some other debug output messages
Signed-off-by: Nick Dyer
Acked-by: Benson Leung
---
drivers/input/touchscreen/atmel_mxt_ts.c | 33 +-
1 file changed, 23 insertions(+), 10 deletions
1 - 100 of 487 matches
Mail list logo