summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2017-03-17 10:05:57 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-12-12 07:32:37 (GMT)
commite1b55764a77c285bd91722499222a618634e9786 (patch)
tree0bfd854d7dedc39b2b4c54ffdb3e8acebc0199a6 /include
parent25df938ff2fe042df6ccf7278ab461a34d19a86b (diff)
downloadlinux-e1b55764a77c285bd91722499222a618634e9786.tar.xz
soc/qman: add dedicated channel ID for CAAM
Add and export the ID of the channel serviced by the CAAM (Cryptographic Acceleration and Assurance Module) DCP. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
-rw-r--r--include/soc/fsl/qman.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/soc/fsl/qman.h b/include/soc/fsl/qman.h
index 1668c99..9529b01 100644
--- a/include/soc/fsl/qman.h
+++ b/include/soc/fsl/qman.h
@@ -36,8 +36,11 @@
/* Hardware constants */
#define QM_CHANNEL_SWPORTAL0 0
#define QMAN_CHANNEL_POOL1 0x21
+#define QMAN_CHANNEL_CAAM 0x80
#define QMAN_CHANNEL_POOL1_REV3 0x401
+#define QMAN_CHANNEL_CAAM_REV3 0x840
extern u16 qm_channel_pool1;
+extern u16 qm_channel_caam;
/* Portal processing (interrupt) sources */
#define QM_PIRQ_CSCI 0x00100000 /* Congestion State Change */