soc: qcom: Add AOSS QMP driver
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 12 Jun 2019 04:45:34 +0000 (21:45 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 12 Jun 2019 04:52:18 +0000 (21:52 -0700)
commit2209481409b7abada0e952f4c797e074f4bf3abb
tree2b3a18a0f0ad027358470fffd9a8eb1b796edd97
parent8ad2b4b371bcfe7069ee28ad18d722e1240a0a97
soc: qcom: Add AOSS QMP driver

The Always On Subsystem (AOSS) Qualcomm Messaging Protocol (QMP) driver
is used to communicate with the AOSS for certain side-channel requests,
that are not available through the RPMh interface.

The communication is a very simple synchronous mechanism of messages
being written in message RAM and a doorbell in the AOSS is rung. As the
AOSS has processed the message length is cleared and an interrupt is
fired by the AOSS as acknowledgment.

The driver exposes the QDSS clock as a clock and the low-power state
associated with the remoteprocs in the system as a set of power-domains.

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Tested-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/Kconfig
drivers/soc/qcom/Makefile
drivers/soc/qcom/qcom_aoss.c [new file with mode: 0644]