linux/drivers/soc
Jon Hunter 0a2d87e047 soc/tegra: pmc: Wait for powergate state to change
Currently, the function tegra_powergate_set() simply sets the desired
powergate state but does not wait for the state to change. In most cases
we should wait for the state to change before proceeding. Currently,
there is a case for Tegra114 and Tegra124 devices where we do not wait
when starting the secondary CPU as this is not necessary. However, this
is only done at boot time and so waiting here will only have a small
impact on boot time. Therefore, update tegra_powergate_set() to wait
when setting the powergate.

By adding this feature, we can also eliminate the polling loop from
tegra30_boot_secondary().

A function has been added for checking the status of the powergate and
so update the tegra_powergate_is_powered() to use this macro as well.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2016-04-05 15:22:53 +02:00
..
bcm ARM: bcm2835: clarify RASPBERRYPI_FIRMWARE dependency 2015-12-31 23:44:17 +01:00
brcmstb soc: brcmstb: Add Bus Interface Unit control setup 2015-10-09 13:42:16 -07:00
dove soc: dove: add legacy support to PMU driver 2015-12-08 13:19:29 +01:00
fsl powerpc updates for 4.6 2016-03-19 15:38:41 -07:00
mediatek soc: mediatek: SCPSYS: Fix double enabling of regulators 2016-02-01 11:28:07 +01:00
qcom ARM: SoC fixes for v4.5 merge window 2016-01-22 17:26:00 -08:00
rockchip soc: rockchip: power-domain: fix err handle while probing 2016-02-02 22:18:31 +01:00
samsung drivers: soc: samsung: Enable COMPILE_TEST 2016-02-25 11:25:40 +09:00
sunxi drivers: soc: sunxi: Fix mask generation for SRAM mapping 2016-01-27 20:29:20 +01:00
tegra soc/tegra: pmc: Wait for powergate state to change 2016-04-05 15:22:53 +02:00
ti soc: TI knav_qmss: fix dma_addr_t printing 2016-02-26 17:53:06 +01:00
versatile soc: versatile: add support for the PB11MPCore 2015-12-15 09:42:50 +01:00
Kconfig drivers: soc: Add support for Exynos PMU driver 2016-02-25 10:18:07 +09:00
Makefile drivers: soc: Add support for Exynos PMU driver 2016-02-25 10:18:07 +09:00