]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jun 2021 09:34:52 +0000 (11:34 +0200)
commit1f631a7f01aecf401ba72caeb06ae73a1748eb44
tree601cbd54fde94ed27bf9cd892bec670ad4271a73
parentb9e6f2571ab35d5d50b8e8a47466ea6e43ad2906
i2c: mpc: implement erratum A-004447 workaround

[ Upstream commit 8f0cdec8b5fd94135d643662506ee94ae9e98785 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/busses/i2c-mpc.c