]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac1f6ba3ead2c5be79959c7066826764b0ffa0ac
tree2b3a18a0f0ad027358470fffd9a8eb1b796edd97
parent02cbc30bc884a450ba7c47174318d30acc688b9b
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]