]> asedeno.scripts.mit.edu Git - linux.git/commit
soc/tegra: pmc: Parameterize driver
authorThierry Reding <treding@nvidia.com>
Wed, 30 Aug 2017 10:32:58 +0000 (12:32 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 13 Dec 2017 12:04:50 +0000 (13:04 +0100)
commit5be2255676bf2bc69170f05cfe15f771e5aeef24
tree7cfda090c95370560aadeb5ce7b1eba2aabfcf5d
parent75c15b90e42373a3c651d53e6e55239b0f03777d
soc/tegra: pmc: Parameterize driver

Parameterize some aspects of the driver in preparation for Tegra186 PMC
support. Initially the Tegra186 driver had been split off into an extra
driver, but it turns out the backwards-compatibility break isn't as bad
as originally assumed, so with a little parameterization the same code
can be used to keep supporting all SoC generations.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c