On Wed, Nov 27, 2019 at 10:34 AM Christophe Leroy <christophe.leroy@xxxxxx> wrote: > In the meantime, I have tried changing "gpios" by "cs-gpios" in the > device tree, and I get the following warning: (...) > [ 3.156654] WARNING: CPU: 0 PID: 1 at drivers/spi/spi-fsl-spi.c:716 > fsl_spi_cs_control+0x64/0x7c That should be this one: if (WARN_ON_ONCE(!pinfo->immr_spi_cs)) return; That happens when spi->cs_gpiod is NULL so the chipselect isn't found and assigned, and the code goes on to check the native CS and find that this isn't available either and issues the warning. That one is a bit puzzling because I know we have this working with other "cs-gpios" consumer drivers working just fine. :/ Yours, Linus Walleij