spi: fsl-dspi: add cs-gpios support
authorRadu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com>
Fri, 11 Nov 2022 21:13:56 +0000 (23:13 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 16 Nov 2022 14:46:07 +0000 (14:46 +0000)
commit84b60f2bce1f0416617c4dbc015b5da906b8e2ad
tree21d997bfede7659699a8f63bc6299a0e7766c066
parentd52a826b40604387d3e24b54e12e404867902fbb
spi: fsl-dspi: add cs-gpios support

Make the driver be able to bit-bang a GPIO for the Chip Select pin of
select peripherals.

The GPIO value is driven by the driver in that case, and none of the
hardware Chip Select bits will be populated in the PUSHR register for
the TX commands constructed for this peripheral.

Signed-off-by: Radu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20221111211356.545026-1-vladimir.oltean@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c