mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
2c79cea873
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. v4: Adjust delay depending on the family ID of the chip. Also add a readback of command register after backup is issued, to make sure we are not proceeding too fast there. v3: Add a check for NULL read_chg() function, and add the read_chg() to platform files using this driver (currently only mach-goni.c) v2: At Dmitry's suggestion, add a timeout so we are not stuck looping endlessly in case the CHG is not going low. Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com> Signed-off-by: Amy Maloche <amaloche@codeaurora.org> |
||
---|---|---|
.. | ||
include/mach | ||
clock.c | ||
common.c | ||
common.h | ||
dev-audio.c | ||
dma.c | ||
Kconfig | ||
mach-aquila.c | ||
mach-goni.c | ||
mach-smdkc110.c | ||
mach-smdkv210.c | ||
mach-torbreck.c | ||
Makefile | ||
Makefile.boot | ||
pm.c | ||
setup-fb-24bpp.c | ||
setup-fimc.c | ||
setup-i2c0.c | ||
setup-i2c1.c | ||
setup-i2c2.c | ||
setup-ide.c | ||
setup-keypad.c | ||
setup-sdhci-gpio.c | ||
setup-spi.c | ||
setup-usb-phy.c |