Skip to content

spi: Add support for Realtek RTL838x/RTL839x SoC SPI

Bert Vermeulen linux-devicetree linux-spi lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 1 replyIn review
  2. v4 posting 2/25 patches 3 repliesSuperseded
  3. v4 posting 1/22 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v32 patches3 repliesSuperseded
v22 patches4 repliesSuperseded

Changes in v5 from the cover letter

- Changed SoC compatible to list exact models

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: spi: Realtek RTL838x/RTL839x SPI controllerDocumentation/devicetree/bindings/spi/realtek,rtl-spi.yaml+41 -00 replies
2/2spi: realtek-rtl: Add support for Realtek RTL838x/RTL839x SPI controllersdrivers/spi/Makefile drivers/spi/spi-realtek-rtl.c+210 -00 replies

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH v5 0/2] spi: Add support for Realtek RTL838x/RTL839x SoC SPI

v5:
- Changed SoC compatible to list exact models

v4:
- Added SoC series-specific compatible matches.

v3:
- Added cpu_relax() to busy loop.
- Dropped .remove callback from driver struct.
- Use (variations of) realtek-rtl as prefix.
- Dropped Kconfig entry, and use MACH_REALTEK_RTL setting to build the driver, since there's no point booting without the SPI-connected flash.

v2:
- Rewrote from spi-nor driver to regular spi driver, implementing only set_cs() and transfer_one(). (Thanks Chuanhong Guo!)

Bert Vermeulen (2):
dt-bindings: spi: Realtek RTL838x/RTL839x SPI controller
spi: realtek-rtl: Add support for Realtek RTL838x/RTL839x SPI
controllers

 .../bindings/spi/realtek,rtl-spi.yaml         |  41 ++++
 drivers/spi/Makefile                          |   1 +
 drivers/spi/spi-realtek-rtl.c                 | 209 ++++++++++++++++++
 3 files changed, 251 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml
 create mode 100644 drivers/spi/spi-realtek-rtl.c
Signature · 1 line
2.25.1