mirror-linux/drivers/pmdomain
Michal Wilczynski dc9a897dbb pmdomain: thead: Add power-domain driver for TH1520
The T-Head TH1520 SoC contains multiple power islands that can be
programmatically turned on and off using the AON (Always-On) protocol
and a hardware mailbox [1]. The relevant mailbox driver has already been
merged into the mainline kernel in commit 5d4d263e1c ("mailbox:
Introduce support for T-head TH1520 Mailbox driver");

Introduce a power-domain driver for the TH1520 SoC, which is using AON
firmware protocol to communicate with E902 core through the hardware
mailbox. This way it can send power on/off commands to the E902 core.

The interaction with AUDIO power island e.g trying to turn it OFF proved
to crash the firmware running on the E902 core. Introduce the workaround
to disable interacting with the power island.

[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-5-m.wilczynski@samsung.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2025-03-13 14:42:06 +01:00
..
actions pmdomain: Use device_get_match_data() 2023-10-17 11:45:11 +02:00
amlogic pmdomain: amlogic: fix T7 ISP secpower 2025-03-05 15:51:04 +01:00
apple pmdomain: apple: Make apple_pmgr_reset_ops static 2024-08-20 11:28:01 +02:00
arm pmdomain: arm: scmi_pm_domain: Send an explicit request to set the current state 2025-01-17 12:17:16 +01:00
bcm pmdomain: bcm2835-power: set flag GENPD_FLAG_ACTIVE_WAKEUP 2025-02-13 14:43:02 +01:00
imx pmdomain: imx: gpcv2: use proper helper for property detection 2025-02-19 12:59:09 +01:00
mediatek pmdomain: airoha: Fix compilation error with Clang-20 and Thumb2 mode 2025-01-21 10:45:24 +01:00
qcom Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
renesas pmdomain: renesas: rcar-sysc: Drop fwnode_dev_initialized() call 2025-02-14 12:24:12 +01:00
rockchip pmdomain: rockchip: add regulator dependency 2025-03-05 15:46:33 +01:00
samsung pmdomain: samsung: Move Kconfig option to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
st pmdomain: st: Add a Kconfig option for the ux500 power domain 2023-10-04 23:41:56 +02:00
starfive pmdomain: starfive: Update prefixes for AON power domain 2023-10-04 23:41:57 +02:00
sunxi pmdomain: sunxi: add V853 ppu support 2025-02-14 12:23:05 +01:00
tegra pmdomain: core: constify of_phandle_args in xlate 2024-02-14 10:26:11 +01:00
thead pmdomain: thead: Add power-domain driver for TH1520 2025-03-13 14:42:06 +01:00
ti pmdomain: ti: Use of_property_present() for non-boolean properties 2025-02-13 14:43:02 +01:00
xilinx Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
Kconfig pmdomain: thead: Add power-domain driver for TH1520 2025-03-13 14:42:06 +01:00
Makefile pmdomain: thead: Add power-domain driver for TH1520 2025-03-13 14:42:06 +01:00
core.c pmdomain: core: Introduce dev_pm_genpd_rpm_always_on() 2025-02-13 14:47:48 +01:00
governor.c PM: domains: Move genpd and its governor to the pmdomain subsystem 2023-12-18 12:49:48 +01:00