Skip to content

Commit 2665886

Browse files
stephan-ghandersson
authored andcommitted
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 41288c3 ("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/[email protected]/ Fixes: 41288c3 ("ASoC: dt-bindings: qcom,apr: Split services to shared schema") Signed-off-by: Stephan Gerhold <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 1b929c0 commit 2665886

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Documentation/devicetree/bindings/soc/qcom/qcom,apr-services.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ properties:
3939
qcom,protection-domain:
4040
$ref: /schemas/types.yaml#/definitions/string-array
4141
description: |
42-
Protection domain service name and path for APR service
43-
possible values are::
42+
Protection domain service name and path for APR service (if supported).
43+
Possible values are::
4444
"avs/audio", "msm/adsp/audio_pd".
4545
"kernel/elf_loader", "msm/modem/wlan_pd".
4646
"tms/servreg", "msm/adsp/audio_pd".
@@ -49,6 +49,5 @@ properties:
4949
5050
required:
5151
- reg
52-
- qcom,protection-domain
5352

5453
additionalProperties: true

0 commit comments

Comments
 (0)