Skip to content

spi cs_timing restructure

Mason Zhang linux-arm-kernel linux-mediatek linux-spi lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesIn review
  2. v24 patches 4 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- merged patch2/3/4 for build pass

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spi: move cs spi_delay to spi_devicedrivers/spi/spi.c include/linux/spi/spi.h+12 -141 reply
2/2spi: modify set_cs_timing parameterdrivers/spi/spi-mt65xx.c drivers/spi/spi-tegra114.c include/linux/spi/spi.h+66 -522 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] spi cs_timing restructure

Hello,
This patchset has restructure spi cs_timing, as we know spi core has removed spi_set_cs_timing() API, it is a correct decision because it asked spi devices to call it in one more time.
so we need find another way to support user set cs_timing. Actually, spi_device set spi_delay for cs_timing is enough, and about how to set cs_timing, just put it one the master driver.
We have test this patch in mediatek platform, it can compeletly meets our needs.

Changed in v2:
- fix tegra spi build err

Changed in v3:
- merged patch2/3/4 for build pass

Mason Zhang (2):
spi: move cs spi_delay to spi_device
spi: modify set_cs_timing parameter

 drivers/spi/spi-mt65xx.c   | 107 +++++++++++++++++++++----------------
 drivers/spi/spi-tegra114.c |   8 +--
 drivers/spi/spi.c          |   6 +--
 include/linux/spi/spi.h    |  23 ++++----
 4 files changed, 78 insertions(+), 66 deletions(-)
Signature · 1 line
2.18.0