i2c: octeon: Handle watchdog timeout
authorSuneel Garapati <sgarapati@marvell.com>
Tue, 23 Apr 2024 07:46:07 +0000 (00:46 -0700)
committerAndi Shyti <andi.shyti@kernel.org>
Sun, 5 May 2024 22:56:40 +0000 (00:56 +0200)
commitb9960b902f42c80ef436bf172666f20acbda32ac
treefa4046f262a9b0fa757ed68fdcf44f27d3dc60ad
parent0b042c72d90de2f53d6d6d768158614f4b717b16
i2c: octeon: Handle watchdog timeout

Add watchdog timeout handling to cater to the unhandled warnings
seen during validation on boards with different I2C slaves.
This status code reflects the state that controller couldn't
receive any response from slave while being in non-idle state
and HW recommends to reset before any further bus access.

Signed-off-by: Suneel Garapati <sgarapati@marvell.com>
Signed-off-by: Piyush Malgujar <pmalgujar@marvell.com>
Acked-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-octeon-core.c
drivers/i2c/busses/i2c-octeon-core.h