All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i2c-next 0/2] i2c: aspeed: Add H/W timeout support
@ 2019-10-21 20:24 ` Jae Hyun Yoo
  0 siblings, 0 replies; 51+ messages in thread
From: Jae Hyun Yoo @ 2019-10-21 20:24 UTC (permalink / raw)
  To: linux-aspeed

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 can 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               | 82 +++++++++++++++++--
 2 files changed, 78 insertions(+), 6 deletions(-)

-- 
2.23.0


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

end of thread, other threads:[~2019-10-24 17:27 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-21 20:24 [PATCH i2c-next 0/2] i2c: aspeed: Add H/W timeout support Jae Hyun Yoo
2019-10-21 20:24 ` Jae Hyun Yoo
2019-10-21 20:24 ` Jae Hyun Yoo
2019-10-21 20:24 ` Jae Hyun Yoo
2019-10-21 20:24 ` [PATCH i2c-next 1/2] dt-bindings: i2c: aspeed: add hardware " Jae Hyun Yoo
2019-10-21 20:24   ` Jae Hyun Yoo
2019-10-21 20:24   ` Jae Hyun Yoo
2019-10-21 20:24   ` Jae Hyun Yoo
2019-10-21 21:05   ` Peter Rosin
2019-10-21 21:05     ` Peter Rosin
2019-10-21 21:05     ` Peter Rosin
2019-10-21 21:05     ` Peter Rosin
2019-10-21 21:57     ` Jae Hyun Yoo
2019-10-21 21:57       ` Jae Hyun Yoo
2019-10-21 21:57       ` Jae Hyun Yoo
2019-10-21 21:57       ` Jae Hyun Yoo
2019-10-22  4:56       ` Wolfram Sang
2019-10-22  4:56         ` Wolfram Sang
2019-10-22  4:56         ` Wolfram Sang
2019-10-22 17:09         ` Jae Hyun Yoo
2019-10-22 17:09           ` Jae Hyun Yoo
2019-10-22 17:09           ` Jae Hyun Yoo
2019-10-22 17:09           ` Jae Hyun Yoo
2019-10-22  8:45       ` Peter Rosin
2019-10-22  8:45         ` Peter Rosin
2019-10-22  8:45         ` Peter Rosin
2019-10-22  8:45         ` Peter Rosin
2019-10-22 17:44         ` Jae Hyun Yoo
2019-10-22 17:44           ` Jae Hyun Yoo
2019-10-22 17:44           ` Jae Hyun Yoo
2019-10-22 17:44           ` Jae Hyun Yoo
2019-10-23 21:17           ` Peter Rosin
2019-10-23 21:17             ` Peter Rosin
2019-10-23 21:17             ` Peter Rosin
2019-10-23 21:17             ` Peter Rosin
2019-10-23 22:09             ` Tao Ren
2019-10-23 22:09               ` Tao Ren
2019-10-23 22:09               ` Tao Ren
2019-10-23 22:09               ` Tao Ren
2019-10-24  0:09             ` Brendan Higgins
2019-10-24  0:09               ` Brendan Higgins
2019-10-24  0:09               ` Brendan Higgins
2019-10-24  0:09               ` Brendan Higgins
2019-10-24 17:27               ` Jae Hyun Yoo
2019-10-24 17:27                 ` Jae Hyun Yoo
2019-10-24 17:27                 ` Jae Hyun Yoo
2019-10-24 17:27                 ` Jae Hyun Yoo
2019-10-21 20:24 ` [PATCH i2c-next 2/2] i2c: aspeed: add slave inactive " Jae Hyun Yoo
2019-10-21 20:24   ` Jae Hyun Yoo
2019-10-21 20:24   ` Jae Hyun Yoo
2019-10-21 20:24   ` 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.