linux_dsm_epyc7002/drivers/soc/tegra
Jon Hunter 6ac2a01de1 soc/tegra: pmc: Move powergate initialisation to probe
Commit 8df127456f ("soc/tegra: pmc: Enable XUSB partitions on boot")
was added as a workaround to ensure that the XUSB powergates or domains
were turned on early during boot because as this time the Tegra XHCI
driver did not handle the power domains at all. Now that the Tegra XHCI
driver has been updated to properly managed the power domains, the
workaround to enable the XUSB power domain early has been removed. This
also means that we can now move the initialisation of the powergates
into the PMC driver probe. Therefore, move the powergate initialisation
into the PMC driver probe and return any errors detected. To handle any
errors, functions to cleanup and remove any power-domains registered
with the generic power-domain framework have been added.

Finally the initialisation of the 'powergates_available' bitmask is kept
in the PMC early init function to allow the legacy PMC powergate APIs to
be called during early boot for enabling secondary CPUs on 32-bit Tegra
devices.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2019-04-17 10:32:33 +02:00
..
fuse soc/tegra: fuse: Fix typo in tegra210_init_speedo_data 2019-01-25 12:39:47 +01:00
common.c soc/tegra: Don't leak device tree node reference 2018-11-22 16:10:04 +01:00
flowctrl.c soc/tegra: flowctrl: Fix error handling 2017-06-13 16:47:44 +02:00
Kconfig soc/tegra: default select TEGRA_TIMER for Tegra210 2019-02-23 12:13:45 +01:00
Makefile soc/tegra: pmc: Consolidate Tegra186 support 2017-12-13 13:06:44 +01:00
pmc.c soc/tegra: pmc: Move powergate initialisation to probe 2019-04-17 10:32:33 +02:00
powergate-bpmp.c soc/tegra: bpmp: Check BPMP response return code 2017-10-19 16:33:57 +02:00