summaryrefslogtreecommitdiff
path: root/doc/develop/bootstd
diff options
context:
space:
mode:
authorJulien Stephan <[email protected]>2026-07-09 14:58:18 +0200
committerDavid Lechner <[email protected]>2026-07-22 13:54:55 -0500
commita81e1f8a7cf2aae4304b74b818c8da90bec1c02e (patch)
tree20de093288b534cbe31c4669202e0769c702416c /doc/develop/bootstd
parent7a82edf4c0f42bbbe8e6853d5b150eb3c2a71de0 (diff)
power: domain: mediatek: add support for the power-controller model
The current driver handles a flat scpsys node with a single, fixed set of power status registers and one infracfg bus-protection mask. Newer MediaTek SoCs describe their domains as child nodes of a power controller and need a richer model: - per-domain power status register offsets (pwr_sta_offs / pwr_sta2nd_offs), falling back to the legacy SPM_PWR_STATUS registers when not set; - an ordered list of bus-protection steps (scpsys_bus_prot_data / BUS_PROT_WR), each with its own set/clear/status register, applied on power-off and released in reverse on power-on; - per-domain clocks and an optional parent power domain. Add mtk_power_controller_probe(), which walks the controller's subnodes, resolves each domain's id, clocks and infracfg, and builds the domain tree. The existing flat probe (mtk_scpsys_probe) is left unchanged. No functional change for the existing MT7623/MT7629 drivers. Signed-off-by: Julien Stephan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'doc/develop/bootstd')
0 files changed, 0 insertions, 0 deletions