[PATCH v1 0/5] TH1520 SoC: Add AON firmware & power-domain support
Michal Wilczynski
m.wilczynski at samsung.com
Mon Mar 3 06:58:56 PST 2025
This patch series introduces and documents power management (PM) support and
the AON firmware driver for the T-Head TH1520 SoC, as used on the LicheePi 4A
board. While part of a larger effort to enable the Imagination BXM-4-64 GPU
upstream, these patches can merge independently.
Bigger series cover letter:
https://lore.kernel.org/all/20250219140239.1378758-1-m.wilczynski@samsung.com/
Michal Wilczynski (5):
dt-bindings: firmware: thead,th1520: Add support for firmware node
firmware: thead: Add AON firmware protocol driver
dt-bindings: power: Add TH1520 SoC power domains
pmdomain: thead: Add power-domain driver for TH1520
riscv: Enable PM_GENERIC_DOMAINS for T-Head SoCs
.../bindings/firmware/thead,th1520-aon.yaml | 53 ++++
MAINTAINERS | 5 +
arch/riscv/Kconfig.socs | 1 +
drivers/firmware/Kconfig | 9 +
drivers/firmware/Makefile | 1 +
drivers/firmware/thead,th1520-aon.c | 247 ++++++++++++++++++
drivers/pmdomain/Kconfig | 1 +
drivers/pmdomain/Makefile | 1 +
drivers/pmdomain/thead/Kconfig | 12 +
drivers/pmdomain/thead/Makefile | 2 +
drivers/pmdomain/thead/th1520-pm-domains.c | 209 +++++++++++++++
.../dt-bindings/power/thead,th1520-power.h | 19 ++
.../linux/firmware/thead/thead,th1520-aon.h | 200 ++++++++++++++
13 files changed, 760 insertions(+)
create mode 100644 Documentation/devicetree/bindings/firmware/thead,th1520-aon.yaml
create mode 100644 drivers/firmware/thead,th1520-aon.c
create mode 100644 drivers/pmdomain/thead/Kconfig
create mode 100644 drivers/pmdomain/thead/Makefile
create mode 100644 drivers/pmdomain/thead/th1520-pm-domains.c
create mode 100644 include/dt-bindings/power/thead,th1520-power.h
create mode 100644 include/linux/firmware/thead/thead,th1520-aon.h
--
2.34.1
More information about the linux-riscv
mailing list