dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add MSM8953
authorStephan Gerhold <stephan.gerhold@kernkonzept.com>
Thu, 8 Sep 2022 18:24:32 +0000 (20:24 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 27 Dec 2022 16:03:12 +0000 (10:03 -0600)
commit43baa1a2215998ecb2ba64bb6d435d07541c7184
treec1346b09334b4874d35394dee8b4c78d6763b58e
parented71c47f0000ec17b4ce167bce0d44dff8e144e1
dt-bindings: remoteproc: qcom,msm8916-mss-pil: Add MSM8953

Add the compatible for MSS as found on the MSM8953 platform.

The situation is similar to the existing bindings for MSM8974: there is
an additional "mss" power domain that must be voted for while starting
up the remote processor. The difference is that on MSM8974 the power
domain is represented as a regulator (firmware expects specific voltage)
while on MSM8953 it is represented as power domain (firmware expects
performance state instead of voltage).

Handle this difference by adding the "mss" power domain as optional
third item, and then restrict it (and make it required) only when using
the MSM8953 compatible.

Co-developed-by: Sireesh Kodali <sireeshkodali1@gmail.com>
Signed-off-by: Sireesh Kodali <sireeshkodali1@gmail.com>
Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220908182433.466908-7-stephan.gerhold@kernkonzept.com
Documentation/devicetree/bindings/remoteproc/qcom,msm8916-mss-pil.yaml