Skip to content

Commit 3533913

Browse files
krzkvinodkoul
authored andcommitted
dt-bindings: dma: qcom,bam: require one of control methods
The BAM DMA resources can be controlled remotely (e.g. by trusted environment; needs qcom,powered-remotely or qcom,controlled-remotely properties) or locally. In the latter case we need to provide its clock. Require one of methods of such control to properly validate DTS. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20230626145645.646136-1-krzysztof.kozlowski@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent dfcfe38 commit 3533913

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,15 @@ required:
8787
- qcom,ee
8888
- reg
8989

90+
anyOf:
91+
- required:
92+
- qcom,powered-remotely
93+
- required:
94+
- qcom,controlled-remotely
95+
- required:
96+
- clocks
97+
- clock-names
98+
9099
additionalProperties: false
91100

92101
examples:

0 commit comments

Comments
 (0)