]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firmware: thead: Add AON firmware protocol driver
authorMichal Wilczynski <m.wilczynski@samsung.com>
Tue, 11 Mar 2025 17:18:57 +0000 (18:18 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 13 Mar 2025 13:41:32 +0000 (14:41 +0100)
commite4b3cbd840e565484d0ad8d260d27c057466ed17
treec12e06e0f620b475b35800a37c5e55a43ca11561
parentfe59b03954376d03ddf555b400248642d09fb534
firmware: thead: Add AON firmware protocol driver

The T-Head TH1520 SoC uses an E902 co-processor running Always-On (AON)
firmware to manage power, clock, and other system resources [1]. This
patch introduces a driver implementing the AON firmware protocol,
allowing the Linux kernel to communicate with the firmware via mailbox
channels.  Through an RPC-based interface, the kernel can initiate power
state transitions, update resource configurations, and perform other
AON-related tasks.

[1]
Link: https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/TH1520%20System%20User%20Manual.pdf
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
Acked-by: Drew Fustini <drew@pdp7.com>
Link: https://lore.kernel.org/r/20250311171900.1549916-3-m.wilczynski@samsung.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
MAINTAINERS
drivers/firmware/Kconfig
drivers/firmware/Makefile
drivers/firmware/thead,th1520-aon.c [new file with mode: 0644]
include/linux/firmware/thead/thead,th1520-aon.h [new file with mode: 0644]