Message ID | 20230626145645.646136-1-krzysztof.kozlowski@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 213d8e122f2d9e2c9bdda6b804cf1082919bece3 |
Headers | show |
Series | dt-bindings: dma: qcom,bam: require one of control methods | expand |
On Mon, Jun 26, 2023 at 04:56:45PM +0200, Krzysztof Kozlowski wrote: > 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. Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor.
On Mon, 26 Jun 2023 16:56:45 +0200, Krzysztof Kozlowski wrote: > 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. > > [...] Applied, thanks! [1/1] dt-bindings: dma: qcom,bam: require one of control methods commit: 213d8e122f2d9e2c9bdda6b804cf1082919bece3 Best regards,
diff --git a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml index c9c34f7cdf5b..a0af90ec86f1 100644 --- a/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml @@ -95,6 +95,15 @@ required: - qcom,ee - reg +anyOf: + - required: + - qcom,powered-remotely + - required: + - qcom,controlled-remotely + - required: + - clocks + - clock-names + additionalProperties: false examples:
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> --- Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml | 9 +++++++++ 1 file changed, 9 insertions(+)