mbox series

[v7,0/6] Use CCP driver to handle PSP I2C arbitration

Message ID 20230329220753.7741-1-mario.limonciello@amd.com
Headers show
Series Use CCP driver to handle PSP I2C arbitration | expand

Message

Mario Limonciello March 29, 2023, 10:07 p.m. UTC
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.

Mario Limonciello (6):
  crypto: ccp: Drop extra doorbell checks
  crypto: ccp: Bump up doorbell debug message to error
  crypto: ccp: Return doorbell status code as an argument
  crypto: ccp: Use lower 8 bytes to communicate with doorbell command
    register
  i2c: designware: Use PCI PSP driver for communication
  i2c: designware: Add doorbell support for Mendocino

 drivers/crypto/ccp/platform-access.c        |  31 +--
 drivers/i2c/busses/Kconfig                  |   4 +-
 drivers/i2c/busses/i2c-designware-amdpsp.c  | 199 +++++---------------
 drivers/i2c/busses/i2c-designware-core.h    |   1 -
 drivers/i2c/busses/i2c-designware-platdrv.c |   1 -
 include/linux/psp-platform-access.h         |   5 +-
 6 files changed, 62 insertions(+), 179 deletions(-)


base-commit: 9117e682b8b79f7b5e2517fd28d42757d3e8b860

Comments

Mark Hasemeyer March 31, 2023, 7:34 p.m. UTC | #1
Tested-by: Mark Hasemeyer <markhas@chromium.org>