linux/drivers/soc/tegra
Jon Hunter a38045121b soc/tegra: pmc: Add generic PM domain support
Adds generic PM domain support to the PMC driver where the PM domains
are populated from device-tree and the PM domain consumer devices are
bound to their relevant PM domains via device-tree as well.

Update the tegra_powergate_sequence_power_up() API so that internally
it calls the same tegra_powergate_xxx functions that are used by the
Tegra generic PM domain code for consistency.

To ensure that the Tegra power domains (a.k.a. powergates) cannot be
controlled via both the legacy tegra_powergate_xxx functions as well
as the generic PM domain framework, add a bit map for available
powergates that can be controlled via the legacy powergate functions.

Move the majority of the tegra_powergate_remove_clamping() function
to a sub-function, so that this can be used by both the legacy and
generic power domain code.

This is based upon work by Thierry Reding <treding@nvidia.com>
and Vince Hsu <vinceh@nvidia.com>.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2016-04-29 17:17:47 +02:00
..
fuse soc/tegra: fuse: Add spare bit offset for Tegra210 2015-07-16 10:38:31 +02:00
common.c soc/tegra: Add Tegra210 support 2015-07-16 09:47:59 +02:00
Kconfig ARM: tegra: select USB_ULPI from EHCI rather than platform 2015-11-24 16:47:26 +01:00
Makefile soc: tegra: Remove redundant $(CONFIG_ARCH_TEGRA) in Makefile 2015-08-13 16:17:40 +02:00
pmc.c soc/tegra: pmc: Add generic PM domain support 2016-04-29 17:17:47 +02:00