mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: i2c: it6625: fix MCU reset and host control timing
@ 2026-10-07 10:31 Hermes Wu via B4 Relay
  2026-10-07 10:31 ` [PATCH v2 1/2] media: i2c: it6625: wait 1s after reset release Hermes Wu via B4 Relay
  2026-10-07 10:31 ` [PATCH v2 2/2] media: i2c: it6625: allow 250 ms for host control requests to complete Hermes Wu via B4 Relay
  0 siblings, 2 replies; 3+ messages in thread
From: Hermes Wu via B4 Relay @ 2026-10-07 10:31 UTC (permalink / raw)
  To: Hermes Wu, Mauro Carvalho Chehab, Hans Verkuil
  Cc: linux-media, linux-kernel, Hermes Wu

The IT6625/IT6626 are driven through an on-chip MCU. The driver does not
give the MCU enough time in two places: after releasing reset in probe,
and when waiting for the MCU to acknowledge a host control request.
Both can cause spurious failures.

Patch 1 waits 1s after reset release before the chip-ID read.
Patch 2 raises the host control request timeout from 25 ms to 250 ms.

Signed-off-by: Hermes Wu <Hermes.wu@ite.com.tw>
---
Changes in v2:
- Patch 1: increase the post-reset wait from 700 ms to 1s.
- Patch 2: new, raise the host control request timeout to 250 ms.
- Link to v1: https://lore.kernel.org/r/20261006-upstream-it6625-reset-delay-v1-1-e4cb3c74e6d3@ite.com.tw

---
Hermes Wu (2):
      media: i2c: it6625: wait 1s after reset release
      media: i2c: it6625: allow 250 ms for host control requests to complete

 drivers/media/i2c/it6625.c | 23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)
---
base-commit: 89a3d2a2237e017cdbefcb036db71ce74e67faf5
change-id: 20261006-upstream-it6625-reset-delay-3239507c5f09

Best regards,
-- 
Hermes Wu <Hermes.wu@ite.com.tw>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-07 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 10:31 [PATCH v2 0/2] media: i2c: it6625: fix MCU reset and host control timing Hermes Wu via B4 Relay
2026-10-07 10:31 ` [PATCH v2 1/2] media: i2c: it6625: wait 1s after reset release Hermes Wu via B4 Relay
2026-10-07 10:31 ` [PATCH v2 2/2] media: i2c: it6625: allow 250 ms for host control requests to complete Hermes Wu via B4 Relay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®