Skip to content

Commit 2257117

Browse files
stephan-ghvinodkoul
authored andcommitted
dt-bindings: dma: qcom: bam-dma: Add missing required properties
num-channels and qcom,num-ees are required when there are no clocks specified in the device tree, because we have no reliable way to read them from the hardware registers if we cannot ensure the BAM hardware is up when the device is being probed. This has often been forgotten when adding new SoC device trees, so make this clear by describing this requirement in the schema. Signed-off-by: Stephan Gerhold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 8f5ae30 commit 2257117

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,12 @@ required:
9292
anyOf:
9393
- required:
9494
- qcom,powered-remotely
95+
- num-channels
96+
- qcom,num-ees
9597
- required:
9698
- qcom,controlled-remotely
99+
- num-channels
100+
- qcom,num-ees
97101
- required:
98102
- clocks
99103
- clock-names

0 commit comments

Comments
 (0)