[PATCH v1] spi: stm32: avoid enabling SPI in setup to allow register configuration
Sascha Hauer
s.hauer at pengutronix.de
Thu May 30 06:24:02 PDT 2024
On Wed, 29 May 2024 12:08:38 +0200, Oleksij Rempel wrote:
> The stm32_spi_setup function configures the STM32 SPI engine by setting
> the SPI mode and speed. However, enabling the SPI peripheral during this
> process blocks all changes to configuration registers, causing the
> configuration writes to be ignored.
>
> Remove stm32_spi_enable calls from stm32_spi_setup to ensure proper
> configuration of the SPI registers before enabling the peripheral.
>
> [...]
Applied, thanks!
[1/1] spi: stm32: avoid enabling SPI in setup to allow register configuration
https://git.pengutronix.de/cgit/barebox/commit/?id=e548c6f567f2 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list