[PATCH v5 0/3] Use CCP driver to handle PSP I2C arbitration

Mario Limonciello posted 3 patches 2 years, 10 months ago
There is a newer version of this series
drivers/crypto/ccp/platform-access.c        |   7 +-
drivers/i2c/busses/Kconfig                  |   3 +-
drivers/i2c/busses/i2c-designware-amdpsp.c  | 192 +++++---------------
drivers/i2c/busses/i2c-designware-core.h    |   1 -
drivers/i2c/busses/i2c-designware-platdrv.c |   1 -
include/linux/psp-platform-access.h         |   1 +
6 files changed, 57 insertions(+), 148 deletions(-)
[PATCH v5 0/3] Use CCP driver to handle PSP I2C arbitration
Posted by Mario Limonciello 2 years, 10 months ago
The CCP driver now has symbols that can be used by i2c-designware-amdpsp
to handle the communication regarding i2c arbitration with the PSP for
both Cezanne and Mendocino based designs.

Utilize those symbols.

v4->v5:
 * Rebase on crypodev-2.6 with merged patches 1-5 & 7
 * Pick up tags
 * PCI dependency
 * Poll for busy
 * Make errors visible rather than debugging only.

Mario Limonciello (3):
  crypto: ccp: Bump up doorbell debug messages to error
  i2c: designware: Use PCI PSP driver for communication
  i2c: designware: Add doorbell support for Skyrim

 drivers/crypto/ccp/platform-access.c        |   7 +-
 drivers/i2c/busses/Kconfig                  |   3 +-
 drivers/i2c/busses/i2c-designware-amdpsp.c  | 192 +++++---------------
 drivers/i2c/busses/i2c-designware-core.h    |   1 -
 drivers/i2c/busses/i2c-designware-platdrv.c |   1 -
 include/linux/psp-platform-access.h         |   1 +
 6 files changed, 57 insertions(+), 148 deletions(-)


base-commit: e6af5c0c4d32a27e04a56f29aad587e03ff427f1
-- 
2.34.1