summaryrefslogtreecommitdiffstats
path: root/include/linux/psp.h
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2023-03-10 15:19:50 -0600
committerHerbert Xu <herbert@gondor.apana.org.au>2023-03-17 11:16:43 +0800
commitd5812571f594b03438d0d7acd0dc044f73c1719e (patch)
tree0cc20f90f769d891e6c8c11db007d6475d7e641f /include/linux/psp.h
parent22351239247b30978d06eb2ab5c258e6b344949f (diff)
downloadlinux-d5812571f594b03438d0d7acd0dc044f73c1719e.tar.gz
linux-d5812571f594b03438d0d7acd0dc044f73c1719e.tar.bz2
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 'include/linux/psp.h')
-rw-r--r--include/linux/psp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/psp.h b/include/linux/psp.h
index d3424790a70e..92e60aeef21e 100644
--- a/include/linux/psp.h
+++ b/include/linux/psp.h
@@ -23,4 +23,7 @@
#define PSP_CMDRESP_RECOVERY BIT(30)
#define PSP_CMDRESP_RESP BIT(31)
+#define PSP_DRBL_MSG PSP_CMDRESP_CMD
+#define PSP_DRBL_RING BIT(0)
+
#endif /* __PSP_H */