soc: qcom: smsm: Add driver for Qualcomm SMSM

This driver exposed the Qualcomm Shared Memory State Machine bits.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
This commit is contained in:
Bjorn Andersson
2015-09-24 18:25:02 -07:00
committed by Andy Gross
parent 9460ae2ff3
commit c97c4090ff
3 changed files with 634 additions and 0 deletions

View File

@@ -52,3 +52,11 @@ config QCOM_SMD_RPM
config QCOM_SMEM_STATE
bool
config QCOM_SMSM
bool "Qualcomm Shared Memory State Machine"
depends on QCOM_SMEM
select QCOM_SMEM_STATE
help
Say yes here to support the Qualcomm Shared Memory State Machine.
The state machine is represented by bits in shared memory.

View File

@@ -4,3 +4,4 @@ obj-$(CONFIG_QCOM_SMD) += smd.o
obj-$(CONFIG_QCOM_SMD_RPM) += smd-rpm.o
obj-$(CONFIG_QCOM_SMEM) += smem.o
obj-$(CONFIG_QCOM_SMEM_STATE) += smem_state.o
obj-$(CONFIG_QCOM_SMSM) += smsm.o

625
drivers/soc/qcom/smsm.c Normal file

File diff suppressed because it is too large Load Diff