]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
soc: ti: omap-prm: Add basic power domain support
authorTony Lindgren <tony@atomide.com>
Thu, 2 Jul 2020 15:45:09 +0000 (08:45 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 18 Aug 2020 07:40:02 +0000 (10:40 +0300)
commit58cbff023bfaeb9c290b5dbcc0a4bb327c653e18
tree2ddfd616d48c0426e194c8aa89fee4022a803a5f
parentde104a292d07ef63803bc5c496e7cac54d8c16cc
soc: ti: omap-prm: Add basic power domain support

The PRM controller has currently only support for resets while the power
domains are still handled in the platform code.

Let's add basic power domain support to enable and disable a PRM
controlled power domain if configured in the devicetree. This can be
used for various hardware accelerators, and interconnect instances.

Further support can be added later on as needed for runtime configuration
based on domain-idle-states.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Kconfig
drivers/soc/ti/omap_prm.c