soc/tegra: pmc: Export tegra_powergate_power_on() [Linux 5.3]

This Linux kernel change "soc/tegra: pmc: Export tegra_powergate_power_on()" is included in the Linux 5.3 release. This change is authored by Manikanta Maddireddy <mmaddireddy [at]> on Tue Jun 18 23:31:40 2019 +0530. The commit for this change in Linux stable tree is e3b09c1 (patch).

soc/tegra: pmc: Export tegra_powergate_power_on()

tegra_powergate_sequence_power_up() powers up partition and also enables
clock & reset. However, if a controller like PCIe have multiple clocks
& resets and they need to be enabled in a sequence, driver must use
standalone function tegra_powergate_power_on() to power up partition.

Export tegra_powergate_power_on() to allow Tegra controller drivers to
unpower gate partition independent to clock & reset.

Signed-off-by: Manikanta Maddireddy <>
Signed-off-by: Lorenzo Pieralisi <>
Acked-by: Thierry Reding <>

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/soc/tegra/pmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index 5648e5c..9c4a12c 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -709,6 +709,7 @@ int tegra_powergate_power_on(unsigned int id)

    return tegra_powergate_set(pmc, id, true);

  * tegra_powergate_power_off() - power off partition

Leave a Reply

Your email address will not be published. Required fields are marked *