Skip to content

Poll mode for NXP DSPI driver

Vladimir Oltean linux-devicetree linux-spi lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 18 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5spi: spi-fsl-dspi: Reduce indentation level in dspi_interruptdrivers/spi/spi-fsl-dspi.c+40 -391 reply
2/5spi: spi-fsl-dspi: Exit the ISR with IRQ_NONE when it's not oursdrivers/spi/spi-fsl-dspi.c+1 -17 replies
3/5spi: spi-fsl-dspi: Remove impossible to reach error checkdrivers/spi/spi-fsl-dspi.c+4 -201 reply
4/5spi: spi-fsl-dspi: Use poll mode in case the platform IRQ is missingdrivers/spi/spi-fsl-dspi.c+64 -231 reply
5/5ARM: dts: ls1021a-tsn: Use the DSPI controller in poll modearch/arm/boot/dts/ls1021a-tsn.dts+1 -08 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] Poll mode for NXP DSPI driver

This series makes the EOQ and TCFQ operating modes of spi-fsl-dspi work when no platform IRQ is defined in the DT.

The NXP LS1021A-TSN board needs this setting for performance reasons, and I am adding the corresponding DTS patch to this series to avoid runtime errors that may occur if the DTS and the driver patches part ways and get included through separate trees.

The series also contains a bug fix for the shared IRQ of the DSPI driver. I am going to respin a version of it as a separate patch for inclusion in stable trees, independent of this patchset.

Vladimir Oltean (5):
spi: spi-fsl-dspi: Reduce indentation level in dspi_interrupt
spi: spi-fsl-dspi: Exit the ISR with IRQ_NONE when it's not ours
spi: spi-fsl-dspi: Remove impossible to reach error check
spi: spi-fsl-dspi: Use poll mode in case the platform IRQ is missing
ARM: dts: ls1021a-tsn: Use the DSPI controller in poll mode

 arch/arm/boot/dts/ls1021a-tsn.dts |   1 +
 drivers/spi/spi-fsl-dspi.c        | 128 ++++++++++++++++++------------
 2 files changed, 78 insertions(+), 51 deletions(-)
Signature · 1 line
2.17.1