rpmsg: qcom_smd: Access APCS through mailbox framework
Subsystems (4)
PATCH v2 1/1 rpmsg: qcom_smd: Access APCS through mailbox framework
Attempt to acquire the APCS IPC through the mailbox framework and fall back to the old syscon based approach, to allow us to move away from using the syscon.
Reviewed-by Arun Kumar Neelakantam <[email protected]>
Signed-off-by Bjorn Andersson <[email protected]>
---
Changes since v1:
- Added dt binding change
.../devicetree/bindings/soc/qcom/qcom,smd.txt | 8 ++- drivers/rpmsg/Kconfig | 1 + drivers/rpmsg/qcom_smd.c | 62 +++++++++++++++------- 3 files changed, 51 insertions(+), 20 deletions(-)
Documentation/devicetree/bindings/soc/qcom/qcom,smd.txt +7 -1
@@ -22,9 +22,15 @@ The edge is described by the following properties: Definition: should specify the IRQ used by the remote processor to signal this processor about communication related updates -- qcom,ipc: +- mboxes: Usage: required Value type: <prop-encoded-array> + Definition: reference to the associated doorbell in APCS, as described + in mailbox/mailbox.txt + +- qcom,ipc: + Usage: required, unless mboxes is specified + Value type: <prop-encoded-array> Definition: three entries specifying the outgoing ipc bit used for signaling the remote processor: - phandle to a syscon node representing the apcs registers
drivers/rpmsg/Kconfig +1 -0
@@ -39,6 +39,7 @@ config RPMSG_QCOM_GLINK_SMEM config RPMSG_QCOM_SMD tristate "Qualcomm Shared Memory Driver (SMD)" + depends on MAILBOX depends on QCOM_SMEM select RPMSG help
drivers/rpmsg/qcom_smd.c +43 -19
107 lines not on this page · raw message
Signature · 6 lines
2.15.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html