File tree Expand file tree Collapse file tree 3 files changed +326
-35
lines changed
Documentation/devicetree/bindings/spi Expand file tree Collapse file tree 3 files changed +326
-35
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ properties:
115
115
maxItems : 4
116
116
117
117
st,spi-midi-ns :
118
+ deprecated : true
118
119
description : |
119
120
Only for STM32H7, (Master Inter-Data Idleness) minimum time
120
121
delay in nanoseconds inserted between two consecutive data frames.
Original file line number Diff line number Diff line change @@ -18,6 +18,38 @@ maintainers:
18
18
19
19
allOf :
20
20
- $ref : spi-controller.yaml#
21
+ - if :
22
+ properties :
23
+ compatible :
24
+ contains :
25
+ const : st,stm32f4-spi
26
+
27
+ then :
28
+ properties :
29
+ st,spi-midi-ns : false
30
+ sram : false
31
+ dmas :
32
+ maxItems : 2
33
+ dma-names :
34
+ items :
35
+ - const : rx
36
+ - const : tx
37
+
38
+ - if :
39
+ properties :
40
+ compatible :
41
+ contains :
42
+ const : st,stm32mp25-spi
43
+
44
+ then :
45
+ properties :
46
+ sram : false
47
+ dmas :
48
+ maxItems : 2
49
+ dma-names :
50
+ items :
51
+ - const : rx
52
+ - const : tx
21
53
22
54
properties :
23
55
compatible :
@@ -41,16 +73,28 @@ properties:
41
73
42
74
dmas :
43
75
description : |
44
- DMA specifiers for tx and rx dma. DMA fifo mode must be used. See
45
- the STM32 DMA controllers bindings Documentation/devicetree/bindings/dma/stm32/*.yaml.
76
+ DMA specifiers for tx and rx channels. DMA fifo mode must be used. See
77
+ the STM32 DMA bindings Documentation/devicetree/bindings/dma/stm32/st,*dma.yaml
78
+ minItems : 2
46
79
items :
47
80
- description : rx DMA channel
48
81
- description : tx DMA channel
82
+ - description : rxm2m MDMA channel
49
83
50
84
dma-names :
85
+ minItems : 2
51
86
items :
52
87
- const : rx
53
88
- const : tx
89
+ - const : rxm2m
90
+
91
+ sram :
92
+ $ref : /schemas/types.yaml#/definitions/phandle
93
+ description : |
94
+ Phandles to a reserved SRAM region which is used as temporary
95
+ storage memory between DMA and MDMA engines.
96
+ The region should be defined as child node of the AHB SRAM node
97
+ as per the generic bindings in Documentation/devicetree/bindings/sram/sram.yaml
54
98
55
99
access-controllers :
56
100
minItems : 1
You can’t perform that action at this time.
0 commit comments