[PATCH 09/12] dt-bindings: media: st: dcmi: add DMA-MDMA chaining properties

Alain Volmat
2025-12-18T18:45:20Z

Add properties update and new sram property necessary in order
to enable the DMA-MDMA chaining.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml b/Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml
index 34147127192f..ccaa2d0a2669 100644
--- a/Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml
+++ b/Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml
@@ -27,11 +27,14 @@ properties:
- const: mclk

dmas:
- maxItems: 1
+ minItems: 1
+ maxItems: 2

dma-names:
items:
- const: tx
+ - const: mdma_tx
+ minItems: 1

resets:
maxItems: 1
@@ -40,6 +43,14 @@ properties:
minItems: 1
maxItems: 2

+ sram:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description:
+ phandles to a reserved SRAM region which is used as temporary
+ storage memory between DMA and MDMA engines.
+ The region should be defined as child nodes of the AHB SRAM node
+ as per the generic bindings in Documentation/devicetree/bindings/sram/sram.yaml
+
port:
$ref: /schemas/graph.yaml#/$defs/port-base
unevaluatedProperties: false

--
2.34.1