Patchwork [01/30] soc/tegra: pmc: Export tegra_powergate_power_on()

login
register
mail settings
Submitter Manikanta Maddireddy
Date April 11, 2019, 5:03 p.m.
Message ID <20190411170355.6882-2-mmaddireddy@nvidia.com>
Download mbox | patch
Permalink /patch/770813/
State New
Headers show

Comments

Manikanta Maddireddy - April 11, 2019, 5:03 p.m.
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 has to 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 <mmaddireddy@nvidia.com>
---
 drivers/soc/tegra/pmc.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c
index 0c5f79528e5f..cb3de81348bd 100644
--- a/drivers/soc/tegra/pmc.c
+++ b/drivers/soc/tegra/pmc.c
@@ -701,6 +701,7 @@  int tegra_powergate_power_on(unsigned int id)
 
 	return tegra_powergate_set(pmc, id, true);
 }
+EXPORT_SYMBOL(tegra_powergate_power_on);
 
 /**
  * tegra_powergate_power_off() - power off partition