input: atmel_mxt_ts: Allow bootloader address to be set

The driver maintains a default mapping between appmode address
and bootloader address. Some appmode addresses may have
different corresponding bootloader addresses than what is
currently mapped. When this is the case, looking through an
array will not work and bootloader address must be passed in
through device tree or pdata. Appmode address is already
present in i2c client structure.

With this support, firmware upgrade for mxt336s and mxt1664s
touch controllers is now present.

Change-Id: I722f1351e133d37e656f26b4a4628313ba67d7e2
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
3 files changed