Commit 560b097c authored by Cezary Gapinski's avatar Cezary Gapinski Committed by Mark Brown

spi: stm32: add description about STM32F4 bindings

Add description that STM32F4 can be used in compatible property.
Master Inter-Data Idleness optional property cannot be used in STM32F4.
Signed-off-by: default avatarCezary Gapinski <cezary.gapinski@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 00505edf
...@@ -7,7 +7,9 @@ from 4 to 32-bit data size. Although it can be configured as master or slave, ...@@ -7,7 +7,9 @@ from 4 to 32-bit data size. Although it can be configured as master or slave,
only master is supported by the driver. only master is supported by the driver.
Required properties: Required properties:
- compatible: Must be "st,stm32h7-spi". - compatible: Should be one of:
"st,stm32h7-spi"
"st,stm32f4-spi"
- reg: Offset and length of the device's register set. - reg: Offset and length of the device's register set.
- interrupts: Must contain the interrupt id. - interrupts: Must contain the interrupt id.
- clocks: Must contain an entry for spiclk (which feeds the internal clock - clocks: Must contain an entry for spiclk (which feeds the internal clock
...@@ -30,8 +32,9 @@ Child nodes represent devices on the SPI bus ...@@ -30,8 +32,9 @@ Child nodes represent devices on the SPI bus
See ../spi/spi-bus.txt See ../spi/spi-bus.txt
Optional properties: Optional properties:
- st,spi-midi-ns: (Master Inter-Data Idleness) minimum time delay in - st,spi-midi-ns: Only for STM32H7, (Master Inter-Data Idleness) minimum time
nanoseconds inserted between two consecutive data frames. delay in nanoseconds inserted between two consecutive data
frames.
Example: Example:
......
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