OSDN Git Service

i2c: designware: Modify timing parameters for amdpsp mailbox
authorJan Dabros <jsd@semihalf.com>
Thu, 28 Apr 2022 12:26:51 +0000 (14:26 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 4 May 2022 19:54:11 +0000 (21:54 +0200)
commitbe18ce150a436d01c13546e4a2440e717c99d57c
tree801df42be3b6d81c5466e460e3592321f267fe1e
parent1621fe09fec6386a6c0a3390c51d1196b4e92566
i2c: designware: Modify timing parameters for amdpsp mailbox

Adjust retry period and timeout values for x86-PSP mailbox based on the
typical I2C traffic generated by PSP. In order to limit the possibility
of timeouts, x86 should reduce the interval between retries as well as
increase overall time after which it gives up.

Signed-off-by: Jan Dabros <jsd@semihalf.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-designware-amdpsp.c