soc/tegra: bpmp: Implement generic PM domains
authorThierry Reding <treding@nvidia.com>
Wed, 29 Mar 2017 16:34:52 +0000 (18:34 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 13 Jun 2017 13:23:29 +0000 (15:23 +0200)
commite7149a7a3fc4ee6785f17961738f40ce1266d8d0
tree5d5576d2113537bf01fd81b0db75e1d8b77fb3ee
parent52b8b80395835c3012bf79fc9d5a1dd82a2d922a
soc/tegra: bpmp: Implement generic PM domains

The BPMP firmware, found on Tegra186 and later, provides an ABI that can
be used to enable and disable power to several power partitions in Tegra
SoCs. The ABI allows for enumeration of the available power partitions,
so the driver can be reused on future generations, provided the BPMP ABI
remains stable.

Based on work by Stefan Kristiansson <stefank@nvidia.com> and Mikko
Perttunen <mperttunen@nvidia.com>.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/firmware/tegra/bpmp.c
drivers/soc/tegra/Kconfig
drivers/soc/tegra/Makefile
drivers/soc/tegra/powergate-bpmp.c [new file with mode: 0644]
include/soc/tegra/bpmp.h