All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] Add i2c ignore NAK support
@ 2026-10-26  7:16 Swamil Jain
  2026-10-26  7:16 ` [PATCH RFC 1/2] i2c: add flag to support ignoring NAK responses Swamil Jain
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Swamil Jain @ 2026-10-26  7:16 UTC (permalink / raw)
  To: u-boot; +Cc: Heiko Schocher, Tom Rini, Swamil Jain

Some i2c peripherals do not require or wait for i2c ACK, so the series
adds a flag(DM_I2C_CHIP_IGNORE_NAK) to ignore negative acknowledgment
(NAK).

Our usecase is SII9022A[1] hdmi-bridge, while reading the EDID block
the bridge doesn't send ACK (mentioned in programmer's guide[2], pg 22).

[1]: https://www.digikey.in/en/products/detail/lattice-semiconductor-corporation/SII9022ACNU/6596625
[2]: https://www.scribd.com/document/808632235/SiI9022A-SiI9024A%E7%BC%96%E7%A8%8B%E6%8E%A5%E5%8F%A3

PATCH 01/02: Add flag to support ignoring NAK
PATCH 02/02: suppress warnings if i2c chip does not require ACK

Need feedback for the series. Please suggest if we can have a better
approach.

Signed-off-by: Swamil Jain <s-jain1@ti.com>
---
Swamil Jain (2):
      i2c: add flag to support ignoring NAK responses
      i2c: omap24xx: suppress NACK error log when I2C_M_IGNORE_NAK is set

 drivers/i2c/i2c-uclass.c   |  3 +++
 drivers/i2c/omap24xx_i2c.c | 16 ++++++++++------
 include/i2c.h              |  1 +
 3 files changed, 14 insertions(+), 6 deletions(-)
---
base-commit: ed869863c7e2aca50d57a05d843830dd843138c4
change-id: 20261026-rfc_i2c_nak_suppress-d99cc3ca3ec3

Best regards,
--  
Swamil Jain <s-jain1@ti.com>


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

end of thread, other threads:[~2026-10-29  6:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-26  7:16 [PATCH RFC 0/2] Add i2c ignore NAK support Swamil Jain
2026-10-26  7:16 ` [PATCH RFC 1/2] i2c: add flag to support ignoring NAK responses Swamil Jain
2026-10-26 16:10   ` Simon Glass
2026-10-26  7:16 ` [PATCH RFC 2/2] i2c: omap24xx: suppress NACK error log when I2C_M_IGNORE_NAK is set Swamil Jain
2026-10-26 16:10   ` Simon Glass
2026-10-26 16:10 ` [PATCH RFC 0/2] Add i2c ignore NAK support Simon Glass
2026-10-27  7:04   ` Swamil Jain
2026-10-27  7:45     ` Heiko Schocher
2026-10-29  6:05       ` Swamil Jain
2026-10-29  6:47         ` Heiko Schocher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.