[PATCH v2 0/5] spi-gpio updates
Sascha Hauer
s.hauer at pengutronix.de
Thu Sep 26 04:21:36 PDT 2024
Our spio-gpio driver currently only supports 8bit word width. This
series updates the driver to support arbitrary word widths up to 32bit.
Also we get rid of the deprecated GPIO binding that the driver uses.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
Changes in v2:
- use ndelay to implement spi_delay()
- extract initial CS setting to extra patch
- add patch to convert to gpiod API
- update sandbox-libftdi-example.dtsi to use new GPIO binding
- Link to v1: https://lore.barebox.org/20240925-spi-gpio-v1-0-47f6285b3bf1@pengutronix.de
---
Sascha Hauer (5):
spi: spi-gpio: actually delay in spidelay()
spi: spi-gpio: support different word widths
spi: spi-gpio: switch to new gpio binding
spi: spi-gpio: deassert CS during setup
spi: spi-gpio: switch to gpiod api
arch/arm/dts/stm32mp151-mect1s.dts | 6 +-
arch/sandbox/dts/sandbox-libftdi-example.dtsi | 6 +-
drivers/spi/gpio_spi.c | 181 +++++++++++++-------------
include/spi/spi_gpio.h | 27 ----
4 files changed, 95 insertions(+), 125 deletions(-)
---
base-commit: 419ea9350aa083d4a2806a70132129a49a5ecf95
change-id: 20240925-spi-gpio-4e65be1f7b90
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list