dt-bindings: soc: qcom: apr: Make qcom,protection-domain optional again
authorStephan Gerhold <stephan@gerhold.net>
Thu, 29 Dec 2022 15:16:47 +0000 (16:16 +0100)
committerBjorn Andersson <andersson@kernel.org>
Fri, 6 Jan 2023 17:51:19 +0000 (11:51 -0600)
commit26658868354963afbff672ad6f7a85c44c311975
tree7dcca8ccab6e9155236b84e79a660437ec728681
parent1b929c02afd37871d5afb9d498426f83432e71c2
dt-bindings: soc: qcom: apr: Make qcom,protection-domain optional again

The protection domain functionality exists only in SoCs starting from
MSM8998 [1], while the APR bindings are also used on older platforms.

Commit 41288c305836 ("ASoC: dt-bindings: qcom,apr: Split services to
shared schema") made the "qcom,protection-domain" required but it
should remain optional to avoid dtbs_check warnings on older platforms,
e.g.:

arch/arm64/boot/dts/qcom/apq8096-db820c.dtb:
  apr: service@3: 'qcom,protection-domain' is a required property
  From schema: Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml

[1]: https://lore.kernel.org/all/20200312120842.21991-1-sibis@codeaurora.org/

Fixes: 41288c305836 ("ASoC: dt-bindings: qcom,apr: Split services to shared schema")
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221229151648.19839-2-stephan@gerhold.net
Documentation/devicetree/bindings/soc/qcom/qcom,apr-services.yaml