bus: tegra-gmi: Add runtime PM and OPP support
authorDmitry Osipenko <digetx@gmail.com>
Tue, 30 Nov 2021 23:23:27 +0000 (02:23 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Dec 2021 13:05:23 +0000 (14:05 +0100)
commit59caf73284d11188d5e6a4ad25ab4678c05ef639
tree0962481852f5804297409f4bfa9acea1a9353291
parent8b85e11c1a7a75007e027efd1dbc5add689aa5a0
bus: tegra-gmi: Add runtime PM and OPP support

The GMI bus on Tegra belongs to the core power domain and we're going to
enable GENPD support for the core domain. Now GMI must be resumed using
runtime PM API in order to initialize the GMI power state. Add runtime PM
and OPP support to the GMI driver.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/bus/tegra-gmi.c