]> git.ipfire.org Git - thirdparty/u-boot.git/commit
spi: stm32: add support for bits-per-word setting
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Wed, 25 Feb 2026 16:16:58 +0000 (17:16 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 30 Apr 2026 06:01:11 +0000 (08:01 +0200)
commit011feb002888e1fb76326aa8564eb559fe684818
treee8b97d449877d3a14a19450cb851f06c8c1340d9
parentdd5002856ad7b1caaa5d8f6831ca90a214601baf
spi: stm32: add support for bits-per-word setting

Implement the set_wordlen operation to allow dynamic bus width
configuration. This is required for peripherals with non-standard
requirements, such as display panels that need 9-bit word transfers
during the initialization and setup phase.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/spi/stm32_spi.c