Commit 8494ae75 authored by Amelie Delaunay's avatar Amelie Delaunay Committed by Vinod Koul

dt-bindings: dma: New directory for STM32 DMA controllers bindings

Gather the STM32 DMA controllers bindings under ./dma/stm32/.
Then fix reference to old path in spi/st,stm32-spi.yaml: update the dmas
property description by referring to all STM32 DMA controllers bindings.
Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarAmelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20240531150712.2503554-2-amelie.delaunay@foss.st.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 54e4ada1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2 %YAML 1.2
--- ---
$id: http://devicetree.org/schemas/dma/st,stm32-dma.yaml# $id: http://devicetree.org/schemas/dma/stm32/st,stm32-dma.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
title: STMicroelectronics STM32 DMA Controller title: STMicroelectronics STM32 DMA Controller
...@@ -53,7 +53,7 @@ maintainers: ...@@ -53,7 +53,7 @@ maintainers:
- Amelie Delaunay <amelie.delaunay@foss.st.com> - Amelie Delaunay <amelie.delaunay@foss.st.com>
allOf: allOf:
- $ref: dma-controller.yaml# - $ref: /schemas/dma/dma-controller.yaml#
properties: properties:
"#dma-cells": "#dma-cells":
......
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2 %YAML 1.2
--- ---
$id: http://devicetree.org/schemas/dma/st,stm32-dmamux.yaml# $id: http://devicetree.org/schemas/dma/stm32/st,stm32-dmamux.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
title: STMicroelectronics STM32 DMA MUX (DMA request router) title: STMicroelectronics STM32 DMA MUX (DMA request router)
...@@ -10,7 +10,7 @@ maintainers: ...@@ -10,7 +10,7 @@ maintainers:
- Amelie Delaunay <amelie.delaunay@foss.st.com> - Amelie Delaunay <amelie.delaunay@foss.st.com>
allOf: allOf:
- $ref: dma-router.yaml# - $ref: /schemas/dma/dma-router.yaml#
properties: properties:
"#dma-cells": "#dma-cells":
......
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2 %YAML 1.2
--- ---
$id: http://devicetree.org/schemas/dma/st,stm32-mdma.yaml# $id: http://devicetree.org/schemas/dma/stm32/st,stm32-mdma.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
title: STMicroelectronics STM32 MDMA Controller title: STMicroelectronics STM32 MDMA Controller
...@@ -53,7 +53,7 @@ maintainers: ...@@ -53,7 +53,7 @@ maintainers:
- Amelie Delaunay <amelie.delaunay@foss.st.com> - Amelie Delaunay <amelie.delaunay@foss.st.com>
allOf: allOf:
- $ref: dma-controller.yaml# - $ref: /schemas/dma/dma-controller.yaml#
properties: properties:
"#dma-cells": "#dma-cells":
......
...@@ -42,7 +42,7 @@ properties: ...@@ -42,7 +42,7 @@ properties:
dmas: dmas:
description: | description: |
DMA specifiers for tx and rx dma. DMA fifo mode must be used. See DMA specifiers for tx and rx dma. DMA fifo mode must be used. See
the STM32 DMA bindings Documentation/devicetree/bindings/dma/st,stm32-dma.yaml. the STM32 DMA controllers bindings Documentation/devicetree/bindings/dma/stm32/*.yaml.
items: items:
- description: rx DMA channel - description: rx DMA channel
- description: tx DMA channel - description: tx DMA channel
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment