Skip to content

Add basic SPI support on TH1520

Kanak Shilledar linux-devicetree linux-riscv lkml 2 versions – Applied

Status from this message: Applied to thead-dt-for-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 7 repliesApplied
  2. v23 patches 14 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/1riscv: dts: thead: add basic spi nodearch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts +1 more+34 -04 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchDrew Fustini
1/1A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/1] Add basic SPI support on TH1520

Implemented basic SPI support for TH1520 SoC. There are two SPIs reserved on the LicheePi4A, one on the SPI Flash pads that are blanked out on the back, and one on the pins. I implemented the one connected to the pad.

It is using a fixed clock of 396MHz. The address and clock frequency was referenced from the TH1520 System Reference Manual [1].

I have tested this on the LicheePi4A.

[2] Driver Patch discussion
[3] Devicetree binding discussion

Changes made in v3:
- Dropped the driver patch as the generic fallback compatible was working properly. [2]
- Removed the devicetree binding patch as it got accepted and is already in the linux-next branch. [3]
- Arranged the devicetree aliases alphabetically in the DTS files.

Changes made in v2:
- Changed from single patch file to a patchset by splitting the single commit into dt-bindings, driver and the devicetree.

[1] https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manual.pdf
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/[email protected]/

Kanak Shilledar (1):
riscv: dts: thead: add basic spi node

 .../boot/dts/thead/th1520-beaglev-ahead.dts      |  9 +++++++++
 .../boot/dts/thead/th1520-lichee-module-4a.dtsi  |  4 ++++
 .../riscv/boot/dts/thead/th1520-lichee-pi-4a.dts |  5 +++++
 arch/riscv/boot/dts/thead/th1520.dtsi            | 16 ++++++++++++++++
 4 files changed, 34 insertions(+)

base-commit: 22a40d14b572deb80c0648557f4bd502d7e83826

Signature · 1 line
2.45.2