mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/5] spi-gpio updates
@ 2024-09-26 11:21 Sascha Hauer
  2024-09-26 11:21 ` [PATCH v2 1/5] spi: spi-gpio: actually delay in spidelay() Sascha Hauer
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Sascha Hauer @ 2024-09-26 11:21 UTC (permalink / raw)
  To: open list:BAREBOX; +Cc: Ahmad Fatoum

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@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@pengutronix.de>




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-27 10:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-26 11:21 [PATCH v2 0/5] spi-gpio updates Sascha Hauer
2024-09-26 11:21 ` [PATCH v2 1/5] spi: spi-gpio: actually delay in spidelay() Sascha Hauer
2024-09-26 11:21 ` [PATCH v2 2/5] spi: spi-gpio: support different word widths Sascha Hauer
2024-09-26 11:21 ` [PATCH v2 3/5] spi: spi-gpio: switch to new gpio binding Sascha Hauer
2024-09-26 11:21 ` [PATCH v2 4/5] spi: spi-gpio: deassert CS during setup Sascha Hauer
2024-09-26 11:21 ` [PATCH v2 5/5] spi: spi-gpio: switch to gpiod api Sascha Hauer
2024-09-27 10:40 ` [PATCH v2 0/5] spi-gpio updates Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox