i2c: mpc: implement erratum A-004447 workaround
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Tue, 11 May 2021 21:20:52 +0000 (09:20 +1200)
committerWolfram Sang <wsa@kernel.org>
Thu, 27 May 2021 19:52:25 +0000 (21:52 +0200)
commit8f0cdec8b5fd94135d643662506ee94ae9e98785
treea5d0bd8638bf2381a5869c526666645b03de8440
parent19ae697a1e4edf1d755b413e3aa38da65e2db23b
i2c: mpc: implement erratum A-004447 workaround

The P2040/P2041 has an erratum where the normal i2c recovery mechanism
does not work. Implement the alternative recovery mechanism documented
in the P2040 Chip Errata Rev Q.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mpc.c