mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
9152cfd9e9c39e5fa182913efc477e146a6cda62
Add genpd/pm_runtime support to handle power domains in Tegra Display driver. Also updated CEC and HDA_DC drivers to add pm_runtime calls. Added new APIs in CEC and SOR drivers to abstract calls to pm_runtime and tegra_powergate APIs based on specific Kernel version. Guarded powergate_id with CONFIG_TEGRA_POWERGATE since its not needed when pm_runtime APIs are used, and the powergate IDs are defined in tegra_powergate.h which is not used in K5.9. Removed pm_runtime autosuspend setting since display driver doesn't assign PM suspend/resume hooks at present. Suspend/resume calls are linked to platform device callbacks. Removed pm_runtime_enable() call in dc_common probe since there's logically no need of power-domains in dc_common and also there is no power-domains node in display_hub node in device-tree. Same with DSI. All the power-domains handled by each DC are listed in "power-domains" and "power-domain-names" properties under respective dc nodes in device tree. bug 200601926 Change-Id: I0fc9d21ff56185a69de6e0663b5932a93cf40e2b Signed-off-by: Naveen Kumar S <nkumars@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2358953 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Shu Zhong <shuz@nvidia.com> Reviewed-by: Ujwal Patel <ujwalp@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
Description
No description provided