On 25.09.24 16:06, Sascha Hauer wrote: > The spi-gpio driver only supports 8bit word width. Add support for > arbitrary word widths up to 32bit. > > Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> With below issue addressed: Reviewed-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> > static int gpio_spi_setup(struct spi_device *spi) > { > - if (spi->bits_per_word != 8) { > - dev_err(spi->master->dev, "master does not support %d bits per word\n", > - spi->bits_per_word); > - return -EINVAL; > - } > - > + gpio_spi_set_cs(spi, 0); Chipselect is already asserted/deasserted in gpio_spi_transfer, why deassert it here? > return 0; > } > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |