Add pinctrl support for TH1520 SoC
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | pinctrl: Port pin controller driver for T-Head TH1520 SoCMAINTAINERS drivers/ drivers/ +1 more | +710 | 1 reply | |
| 2/3 | riscv: dts: th1520: Add pin controllersarch/ | +28 | 1 reply | |
| 3/3 | riscv: cpu: th1520: Enable pinctrl by defaultarch/ configs/ | +2 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Leo Yu-Chi Liang |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Add pinctrl support for TH1520 SoC
This series adds pin configuration support for TH1520 SoC with a driver ported from Linux kernel, and enables it by default. As a test, random configuration is specified in devicetree, then the effects are verified by reading back registers or observing hardware behavior.
With several downstream patches, I've also successfully brought up the second GMAC controller on TH1520. Since the controller won't work with the default pin configuration, this also serves as a proof of the driver's functionality.
This series may depend on the previous series "Bring up secondary cores on Lichee Pi 4A"[1] for a clean apply. An output of pinmux status -a could be obtained here[2].
[1]: https://lore.kernel.org/u-boot/[email protected]/
[2]: https://gist.github.com/ziyao233/55738ed1a33d450ccb1dc3752494a2b4
Yao Zi (3):
pinctrl: Port pin controller driver for T-Head TH1520 SoC
riscv: dts: th1520: Add pin controllers
riscv: cpu: th1520: Enable pinctrl by default
MAINTAINERS | 1 + arch/riscv/cpu/th1520/Kconfig | 1 + arch/riscv/dts/th1520.dtsi | 28 ++ configs/th1520_lpi4a_defconfig | 1 + drivers/pinctrl/Kconfig | 8 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-th1520.c | 700 +++++++++++++++++++++++++++++++ 7 files changed, 740 insertions(+) create mode 100644 drivers/pinctrl/pinctrl-th1520.c
Signature · 1 line
2.49.0