From e5641b8084f479cb548a95fa1671b9bd22a1cfc8 Mon Sep 17 00:00:00 2001 From: smaniar Date: Thu, 22 Jul 2021 19:30:53 +0530 Subject: [PATCH] dt-bindings: Added COMPUTE_L0 signals & broadcast client These changes enable IPCC_COMPUTE_L0 signals and broadcast client. These will be used by the new IPCLite communication protocol to communicate with remote subsystems over compute_l0 interrupt line. Change-Id: I7aac6f121c53136b8cc19f1d1e166ccc2d59caee Signed-off-by: smaniar --- include/dt-bindings/soc/qcom,ipcc.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/include/dt-bindings/soc/qcom,ipcc.h b/include/dt-bindings/soc/qcom,ipcc.h index 3432ba9f38f0..d1c51838f28f 100644 --- a/include/dt-bindings/soc/qcom,ipcc.h +++ b/include/dt-bindings/soc/qcom,ipcc.h @@ -13,8 +13,14 @@ #define IPCC_MPROC_SIGNAL_PING 3 #define IPCC_MPROC_SIGNAL_MAX 4 /* Used by driver only */ -#define IPCC_COMPUTE_L0_SIGNAL_MAX 32 /* Used by driver only */ -#define IPCC_COMPUTE_L1_SIGNAL_MAX 32 /* Used by driver only */ +/* Signal IDs for COMPUTE_L0 protocol */ +#define IPCC_COMPUTE_L0_SIGNAL_IPCLITE_MSG 0 +#define IPCC_COMPUTE_L0_SIGNAL_IPCLITE_MEM_INIT 1 +#define IPCC_COMPUTE_L0_SIGNAL_IPCLITE_VERSION 2 +#define IPCC_COMPUTE_L0_SIGNAL_IPCLITE_TEST 3 +#define IPCC_COMPUTE_L0_SIGNAL_MAX 32 /* Used by driver only */ + +#define IPCC_COMPUTE_L1_SIGNAL_MAX 32 /* Used by driver only */ /* Client IDs */ #define IPCC_CLIENT_AOP 0 @@ -36,6 +42,7 @@ #define IPCC_CLIENT_SPSS 16 #define IPCC_CLIENT_TME 23 #define IPCC_CLIENT_WPSS 24 -#define IPCC_CLIENT_MAX 25 /* Used by driver only */ +#define IPCC_CLIENT_BROADCAST 0xF000 +#define IPCC_CLIENT_MAX 26 /* Used by driver only */ #endif