Skip to content

Commit 3949963

Browse files
FRASTMcfriedt
authored andcommitted
dts: stm32 spi can configure the frame-format
If supported by the SPI instance and soc, this property will configure the frame-format to be compliant with the TI mode. By default, if supported, the frame-format is Motorola mode. Signed-off-by: Francois Ramu <[email protected]>
1 parent 5473b22 commit 3949963

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ properties:
1212
interrupts:
1313
required: true
1414

15+
frame-format:
16+
type: boolean
17+
required: false
18+
description: |
19+
Use Frame Format to support TI or motorola SPI mode when the SPI
20+
interface is compatible with the TI protocol. The FRF bit of the
21+
SPIx_CR2 configures the SPI to be compliant with this protocol.
22+
false: SPI Motorola mode (default)
23+
true: SPI TI mode
24+
1525
pinctrl-0:
1626
type: phandles
1727
required: false

0 commit comments

Comments
 (0)