All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH dev-5.2 0/2] i2c: aspeed: Add H/W timeout support
@ 2019-09-04 20:07 Jae Hyun Yoo
  2019-09-04 20:07 ` [PATCH dev-5.2 1/2] dt-bindings: i2c: aspeed: add hardware " Jae Hyun Yoo
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Jae Hyun Yoo @ 2019-09-04 20:07 UTC (permalink / raw)
  To: Brendan Higgins, Benjamin Herrenschmidt, Joel Stanley,
	Andrew Jeffery, Ryan Chen, Tao Ren
  Cc: openbmc, Jae Hyun Yoo

In case of multi-master environment, if a peer master incorrectly handles
a bus in the middle of a transaction, I2C hardware hangs in slave state
and it can't escape from the slave state, so this commit adds slave
inactive timeout support to recover the bus in the case.

By applying this change, SDA data-low and SCL clock-low timeout feature
also could be enabled which was disabled previously.

Jae Hyun Yoo (2):
  dt-bindings: i2c: aspeed: add hardware timeout support
  i2c: aspeed: add slave inactive timeout support

 .../devicetree/bindings/i2c/i2c-aspeed.txt    |  2 +
 drivers/i2c/busses/i2c-aspeed.c               | 79 +++++++++++++++++--
 2 files changed, 75 insertions(+), 6 deletions(-)

-- 
2.23.0

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

end of thread, other threads:[~2019-09-12  1:26 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 20:07 [PATCH dev-5.2 0/2] i2c: aspeed: Add H/W timeout support Jae Hyun Yoo
2019-09-04 20:07 ` [PATCH dev-5.2 1/2] dt-bindings: i2c: aspeed: add hardware " Jae Hyun Yoo
2019-09-04 20:07 ` [PATCH dev-5.2 2/2] i2c: aspeed: add slave inactive " Jae Hyun Yoo
2019-09-04 22:37   ` Tao Ren
2019-09-05 22:28   ` Tao Ren
2019-09-05 22:48     ` Jae Hyun Yoo
2019-09-05 23:19       ` Tao Ren
2019-09-05 23:35         ` Jae Hyun Yoo
2019-09-06  1:16           ` Tao Ren
2019-09-06  1:56             ` [Potential Spoof] " Tao Ren
2019-09-06  2:35               ` Tao Ren
2019-09-06 16:20                 ` Jae Hyun Yoo
2019-09-04 22:54 ` [PATCH dev-5.2 0/2] i2c: aspeed: Add H/W " Joel Stanley
2019-09-04 23:01   ` Jae Hyun Yoo
2019-09-04 23:12     ` Andrew Jeffery
2019-09-04 23:40       ` Jae Hyun Yoo
2019-09-05  0:10         ` Andrew Jeffery
2019-09-05  0:54           ` Jae Hyun Yoo
2019-09-11 18:56             ` Jae Hyun Yoo
2019-09-12  1:22               ` Andrew Jeffery
2019-09-12  1:26                 ` Jae Hyun Yoo
2019-09-04 23:50   ` Brendan Higgins
2019-09-05  0:56     ` Jae Hyun Yoo

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.