Skip to content

Commit e20076c

Browse files
gautierg-stnashif
authored andcommitted
dts: bindings: spi: add st,stm32-data-width property
Adds a new property for STM32 SPI bindings to indicate which data widths are supported by each SPI instance. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
1 parent 50ebaed commit e20076c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

dts/bindings/spi/st,stm32-spi-common.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,16 @@ properties:
2121
ioswp:
2222
type: boolean
2323
description: Swap SPI MOSI and MISO pins
24+
25+
st,spi-data-width:
26+
type: string
27+
required: true
28+
enum:
29+
- "full-4-to-32-bit"
30+
- "full-4-to-16-bit"
31+
- "limited-8-16-bit"
32+
description: |
33+
Indicates the data width supported by the SPI instance.
34+
- full-4-to-32-bit: supports data width from 4 to 32 bits
35+
- full-4-to-16-bit: supports data width from 4 to 16 bits
36+
- limited-8-16-bit: supports only 8 and 16-bit data widths

0 commit comments

Comments
 (0)