Skip to content

Commit 8494ae7

Browse files
ADESTMvinodkoul
authored andcommitted
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: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/20240531150712.2503554-2-amelie.delaunay@foss.st.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 54e4ada commit 8494ae7

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

Documentation/devicetree/bindings/dma/st,stm32-dma.yaml renamed to Documentation/devicetree/bindings/dma/stm32/st,stm32-dma.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/dma/st,stm32-dma.yaml#
4+
$id: http://devicetree.org/schemas/dma/stm32/st,stm32-dma.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: STMicroelectronics STM32 DMA Controller
@@ -53,7 +53,7 @@ maintainers:
5353
- Amelie Delaunay <amelie.delaunay@foss.st.com>
5454

5555
allOf:
56-
- $ref: dma-controller.yaml#
56+
- $ref: /schemas/dma/dma-controller.yaml#
5757

5858
properties:
5959
"#dma-cells":

Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml renamed to Documentation/devicetree/bindings/dma/stm32/st,stm32-dmamux.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/dma/st,stm32-dmamux.yaml#
4+
$id: http://devicetree.org/schemas/dma/stm32/st,stm32-dmamux.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: STMicroelectronics STM32 DMA MUX (DMA request router)
@@ -10,7 +10,7 @@ maintainers:
1010
- Amelie Delaunay <amelie.delaunay@foss.st.com>
1111

1212
allOf:
13-
- $ref: dma-router.yaml#
13+
- $ref: /schemas/dma/dma-router.yaml#
1414

1515
properties:
1616
"#dma-cells":

Documentation/devicetree/bindings/dma/st,stm32-mdma.yaml renamed to Documentation/devicetree/bindings/dma/stm32/st,stm32-mdma.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/dma/st,stm32-mdma.yaml#
4+
$id: http://devicetree.org/schemas/dma/stm32/st,stm32-mdma.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: STMicroelectronics STM32 MDMA Controller
@@ -53,7 +53,7 @@ maintainers:
5353
- Amelie Delaunay <amelie.delaunay@foss.st.com>
5454

5555
allOf:
56-
- $ref: dma-controller.yaml#
56+
- $ref: /schemas/dma/dma-controller.yaml#
5757

5858
properties:
5959
"#dma-cells":

Documentation/devicetree/bindings/spi/st,stm32-spi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ properties:
4242
dmas:
4343
description: |
4444
DMA specifiers for tx and rx dma. DMA fifo mode must be used. See
45-
the STM32 DMA bindings Documentation/devicetree/bindings/dma/st,stm32-dma.yaml.
45+
the STM32 DMA controllers bindings Documentation/devicetree/bindings/dma/stm32/*.yaml.
4646
items:
4747
- description: rx DMA channel
4848
- description: tx DMA channel

0 commit comments

Comments
 (0)