[PATCH -next 0/2] Add i2c arbitration support for new SoCs

From: Jan Dabros
Date: Fri Sep 16 2022 - 09:19:40 EST


This patchset comprises changes into i2c-designware-amdpsp.c module
which aims to add support for new SoCs, while keep backward
compatibility with Cezanne platforms.

Beside new algorithm introduced for the PSP-x86 communication, it also
switches from MSR/MMIO access to SMN (System Management Network) since
only the latter is working on both old new revisions of SoCs.

Jan Dabros (2):
i2c: designware: Switch from using MMIO access to SMN access
i2c: designware: Add support for new SoCs in AMDPSP driver

arch/x86/include/asm/amd_nb.h | 1 +
arch/x86/kernel/amd_nb.c | 3 +-
drivers/i2c/busses/i2c-designware-amdpsp.c | 199 +++++++++++++-------
drivers/i2c/busses/i2c-designware-core.h | 1 -
drivers/i2c/busses/i2c-designware-platdrv.c | 1 -
5 files changed, 134 insertions(+), 71 deletions(-)

--
2.37.3.968.ga6b4b080e4-goog