devicetree.vger.kernel.org archive mirror
 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
  2019-10-21 20:24 ` [PATCH i2c-next 1/2] dt-bindings: i2c: aspeed: add hardware " Jae Hyun Yoo
  2019-10-21 20:24 ` [PATCH i2c-next 2/2] i2c: aspeed: add slave inactive " Jae Hyun Yoo
  0 siblings, 2 replies; 13+ messages in thread
From: Jae Hyun Yoo @ 2019-10-21 20:24 UTC (permalink / raw)
  To: Brendan Higgins, Wolfram Sang, Benjamin Herrenschmidt,
	Joel Stanley, Rob Herring, Mark Rutland, Andrew Jeffery, Tao Ren,
	Cedric Le Goater
  Cc: linux-i2c, devicetree, linux-arm-kernel, linux-aspeed, 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 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] 13+ messages in thread

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

Thread overview: 13+ 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 ` [PATCH i2c-next 1/2] dt-bindings: i2c: aspeed: add hardware " Jae Hyun Yoo
2019-10-21 21:05   ` Peter Rosin
2019-10-21 21:57     ` Jae Hyun Yoo
2019-10-22  4:56       ` Wolfram Sang
2019-10-22 17:09         ` Jae Hyun Yoo
2019-10-22  8:45       ` Peter Rosin
2019-10-22 17:44         ` Jae Hyun Yoo
2019-10-23 21:17           ` Peter Rosin
2019-10-23 22:09             ` Tao Ren
2019-10-24  0:09             ` Brendan Higgins
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).