Thread (23 messages) 23 messages, 2 authors, 2021-01-26

Re: [PATCH 03/10] input: iqs5xx: Accommodate bootloader latency

flat view

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2021-01-25 04:20:09

On Mon, Jan 18, 2021 at 02:43:39PM -0600, Jeff LaBundy wrote:
The bootloader NAK's all I2C communication after the first 64-byte
bulk write if the bus frequency is equal to 400 kHz. This prevents
the platform from pushing updated firmware to the device.

The vendor's USB bootloader programming dongle appears to insert a
delay between the "open" command and the first 64-byte bulk write.
Adding a similar delay to the driver seems to eliminate the issue.

Furthermore, the dongle does not access the bootloader immediately
after powering up the device. Follow suit by adding a delay before
the "open" command to avoid wasted retries at 400 kHz.

Signed-off-by: Jeff LaBundy <redacted>
Applied, thank you.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help