(subset) [PATCH v2 1/2] spi: atmel_spi: Fix GPIO-based chip select handling to support multiple valid entries

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 1 05:44:17 PDT 2024


On Sat, 22 Jun 2024 19:48:14 +0200, Oleksij Rempel wrote:
> Current implementation of GPIO-based chip select configuration in this
> driver only considers the first valid GPIO and ignores
> subsequent entries. This patch ensures that all valid GPIO entries are
> processed correctly, enabling configurations with multiple valid and
> invalid entries.
> 
> Specifically, this change addresses the issue where configurations like
> `cs-gpios = <&pioC 25 0>, <0>, <0>, <&pioC 28 0>;` are not handled
> correctly, leading to the last valid GPIO being ignored.
> 
> [...]

Applied, thanks!

[1/2] spi: atmel_spi: Fix GPIO-based chip select handling to support multiple valid entries
      https://git.pengutronix.de/cgit/barebox/commit/?id=22467a5fc41f (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list