diff options
author | 2023-03-10 15:19:50 -0600 | |
---|---|---|
committer | 2023-03-17 11:16:43 +0800 | |
commit | d5812571f594b03438d0d7acd0dc044f73c1719e (patch) | |
tree | 0cc20f90f769d891e6c8c11db007d6475d7e641f /drivers/crypto/ccp/platform-access.h | |
parent | crypto: ccp - Enable platform access interface on client PSP parts (diff) | |
download | wireguard-linux-d5812571f594b03438d0d7acd0dc044f73c1719e.tar.xz wireguard-linux-d5812571f594b03438d0d7acd0dc044f73c1719e.zip |
crypto: ccp - Add support for ringing a platform doorbell
Some platforms support using a doorbell to communicate. Export
this feature for other drivers to utilize as well.
Link: https://lore.kernel.org/linux-i2c/20220916131854.687371-3-jsd@semihalf.com/
Suggested-by: Jan Dabros <jsd@semihalf.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/platform-access.h')
-rw-r--r-- | drivers/crypto/ccp/platform-access.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/platform-access.h b/drivers/crypto/ccp/platform-access.h index c3a97893320d..a83f03beb869 100644 --- a/drivers/crypto/ccp/platform-access.h +++ b/drivers/crypto/ccp/platform-access.h @@ -24,6 +24,7 @@ struct psp_platform_access_device { struct platform_access_vdata *vdata; struct mutex mailbox_mutex; + struct mutex doorbell_mutex; void *platform_access_data; }; |