Improve usability of TH1520 with mainline SPL
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | riscv: cpu: th1520: Initialize IOPMPs in SPLarch/ arch/ | +107 | 1 reply | |
| 2/4 | clk: thead: Port clock controller driver of TH1520 SoCdrivers/ drivers/ drivers/ +2 more | +1057 | 1 reply | |
| 3/4 | riscv: cpu: th1520: Select clock driverarch/ | +1 | 1 reply | |
| 4/4 | riscv: dts: th1520: Complete clock treearch/ arch/ | +39 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Leo Yu-Chi Liang |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Improve usability of TH1520 with mainline SPL
Depending on the previous SPL support series of TH1520[1], this series further improves usability of TH1520 SoC when booting with mainline SPL.
The T-Head customized IOPMPs are initialized in SPL and a clock driver is ported from Linux kernel to support operation of various peripherals.
With this series, it's possible to properly initialize GPIO and eMMC when booting with mainline SPL on the 16GiB variant of Lichee Pi 4A. SDIO controller fails to initialize the SD card sometimes, which may be related to incorrect pin configuration.
A bootlog with eMMC/SD information shown could be obtained here[2]. Thanks for your time and review.
[1]: https://lore.kernel.org/all/[email protected]/
[2]: https://gist.github.com/ziyao233/75ff1e5b2cf9161093fcc12ed0a62395
Yao Zi (4):
riscv: cpu: th1520: Initialize IOPMPs in SPL
clk: thead: Port clock controller driver of TH1520 SoC
riscv: cpu: th1520: Select clock driver
riscv: dts: th1520: Complete clock tree
arch/riscv/cpu/th1520/Kconfig | 1 + arch/riscv/cpu/th1520/spl.c | 65 ++ arch/riscv/dts/th1520-lichee-module-4a.dtsi | 8 - arch/riscv/dts/th1520.dtsi | 75 +- arch/riscv/include/asm/arch-th1520/iopmp.h | 42 + drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/thead/Kconfig | 19 + drivers/clk/thead/Makefile | 5 + drivers/clk/thead/clk-th1520-ap.c | 1031 +++++++++++++++++++ 10 files changed, 1204 insertions(+), 44 deletions(-) create mode 100644 arch/riscv/include/asm/arch-th1520/iopmp.h create mode 100644 drivers/clk/thead/Kconfig create mode 100644 drivers/clk/thead/Makefile create mode 100644 drivers/clk/thead/clk-th1520-ap.c
Signature · 1 line
2.49.0