diff mbox series

i2c: mvtwsi: disable i2c slave also on Armada 8k

Message ID 217399a976d24a3129ac6f0854baec75ed5a25ff.1601552942.git.baruch@tkos.co.il
State New
Delegated to: Heiko Schocher
Headers show
Series i2c: mvtwsi: disable i2c slave also on Armada 8k | expand

Commit Message

Baruch Siach Oct. 1, 2020, 11:49 a.m. UTC
The hidden I2C slave is also present on the Armada 8k AP806. Testing
shows that this I2C slave causes the same issues as Armada 38x.
Disabling that I2C slave fixes all these issues.

I2C blocks on the Armada 8k CP110 are not affected.

Extend the I2C slave disable to Armada 8k as well.

Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
 drivers/i2c/mvtwsi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series


diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c
index fdb8fd42e5c0..14c594d648ba 100644
--- a/drivers/i2c/mvtwsi.c
+++ b/drivers/i2c/mvtwsi.c
@@ -823,7 +823,8 @@  static int mvtwsi_i2c_bind(struct udevice *bus)
 	struct mvtwsi_registers *twsi = dev_read_addr_ptr(bus);
 	/* Disable the hidden slave in i2c0 of these platforms */
 			&& bus->req_seq == 0)