]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: tegra: enforce PM requirement
authorSameer Pujar <spujar@nvidia.com>
Wed, 27 Feb 2019 08:20:28 +0000 (13:50 +0530)
committerThierry Reding <treding@nvidia.com>
Thu, 28 Mar 2019 16:11:10 +0000 (17:11 +0100)
Currently runtime PM is enabled for Tegra HDA driver. One of the concern
raised was about handling !PM case in HDA driver. In this case, there is
a need to manage clocks and power explicitly in the driver and reviewers
were not really convinced about this. The consensus at the end was to
enforce PM requirement to keep things simple, rather driver mentioning a
dependency on PM. This is how it is done for ARM 64-bit Tegra platforms
and the same can be done for 32-bit Tegra platforms too.

Finally the objective is to remove dependency on PM availability for all
Tegra drivers. The detailed discussion can be found in following patch,
https://patchwork.ozlabs.org/patch/1031007/

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/mach-tegra/Kconfig

index 7f3b83e0d324620a32949c42bef926bfb34e96db..51a8fa3566ef7bad5c720a2c3a4dde4a9908282f 100644 (file)
@@ -10,6 +10,7 @@ menuconfig ARCH_TEGRA
        select HAVE_ARM_SCU if SMP
        select HAVE_ARM_TWD if SMP
        select PINCTRL
+       select PM
        select PM_OPP
        select ARCH_HAS_RESET_CONTROLLER
        select RESET_CONTROLLER