dt-bindings: soc: qcom,smsm: Allow specifying mboxes instead of qcom,ipc
authorLuca Weiss <luca@z3ntu.xyz>
Thu, 6 Jun 2024 19:18:32 +0000 (21:18 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 13 Jun 2024 04:09:25 +0000 (23:09 -0500)
commit5e66abcf1e250f032ecb18a7ecfac5287298ed8e
treef3cbfaafe26d2fa9383824a5a0047973d0b382cf
parent1b503fa221d144fbb11e2591378429566564a6b8
dt-bindings: soc: qcom,smsm: Allow specifying mboxes instead of qcom,ipc

The qcom,ipc-N properties are essentially providing a reference to a
mailbox, so allow using the mboxes property to do the same in a more
structured way.

Since multiple SMSM hosts are supported, we need to be able to provide
the correct mailbox for each host. The old qcom,ipc-N properties map to
the mboxes property by index, starting at 0 since that's a valid SMSM
host also.

Mark the older qcom,ipc-N as deprecated and update the example with
mboxes.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240606-smsm-mbox-v2-1-8abe6b5f01da@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Documentation/devicetree/bindings/soc/qcom/qcom,smsm.yaml