Skip to content

Commit b5a4681

Browse files
Alain Volmatbroonie
authored andcommitted
spi: stm32: fix missing device mode capability in stm32mp25
The STM32MP25 SOC has capability to behave in device mode however missing .has_device_mode within its stm32mp25_spi_cfg structure leads to not being able to enable the device mode. Signed-off-by: Alain Volmat <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 8cf0b93 commit b5a4681

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/spi/spi-stm32.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,6 +2044,7 @@ static const struct stm32_spi_cfg stm32mp25_spi_cfg = {
20442044
.baud_rate_div_max = STM32H7_SPI_MBR_DIV_MAX,
20452045
.has_fifo = true,
20462046
.prevent_dma_burst = true,
2047+
.has_device_mode = true,
20472048
};
20482049

20492050
static const struct of_device_id stm32_spi_of_match[] = {

0 commit comments

Comments
 (0)