dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: dma: qcom,bam: require one of control methods
@ 2023-06-26 14:56 Krzysztof Kozlowski
  2023-06-26 16:57 ` Conor Dooley
  2023-07-11 16:44 ` Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-06-26 14:56 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
	dmaengine, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

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(+)

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:
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: dma: qcom,bam: require one of control methods
  2023-06-26 14:56 [PATCH] dt-bindings: dma: qcom,bam: require one of control methods Krzysztof Kozlowski
@ 2023-06-26 16:57 ` Conor Dooley
  2023-07-11 16:44 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2023-06-26 16:57 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
	dmaengine, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: dma: qcom,bam: require one of control methods
  2023-06-26 14:56 [PATCH] dt-bindings: dma: qcom,bam: require one of control methods Krzysztof Kozlowski
  2023-06-26 16:57 ` Conor Dooley
@ 2023-07-11 16:44 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2023-07-11 16:44 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, dmaengine,
	devicetree, linux-kernel, Krzysztof Kozlowski


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,
-- 
~Vinod



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-11 16:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-26 14:56 [PATCH] dt-bindings: dma: qcom,bam: require one of control methods Krzysztof Kozlowski
2023-06-26 16:57 ` Conor Dooley
2023-07-11 16:44 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).