mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 21:02:43 +01:00
Apple SoCs have PMGR blocks that control a bunch of power-related features. Besides the existing device power state controls (which are very uniform and handled by apple-pmgr-pwrstate), we also need to manage more random registers such as SoC-wide fabric and memory controller power states, which have a different interface. Add a driver for these kitchen sink controls. Right now it implements fabric and memory controller power state switching on system standby/s2idle, which saves about 1W of power or so on t60xx platforms. Signed-off-by: Hector Martin <[email protected]> Reviewed-by: Sven Peter <[email protected]> Co-developed-by: Sasha Finkelstein <[email protected]> Signed-off-by: Sasha Finkelstein <[email protected]> Reviewed-by: Joshua Peisach <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Sven Peter <[email protected]>