aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSvyatoslav Ryhel <clamor95@gmail.com>2024-12-13 16:53:19 +0200
committerTom Rini <trini@konsulko.com>2024-12-16 17:07:39 -0600
commitb46bd4f87465bf9b8954590190f8e413d56544b3 (patch)
treeb2a8871c190774776f222406056e015cf319322e
parent1db256a3473645ed12de980355f6089baf544bf4 (diff)
downloadu-boot-b46bd4f87465bf9b8954590190f8e413d56544b3.zip
u-boot-b46bd4f87465bf9b8954590190f8e413d56544b3.tar.gz
u-boot-b46bd4f87465bf9b8954590190f8e413d56544b3.tar.bz2
driver: clk: tegra: init basic clocks on probe
In case DM drivers probe earlier than board clock setup is done init of basic clocks should be done in CAR driver probe as well. Add it to avoid possible clock related problems. Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
-rw-r--r--drivers/clk/tegra/tegra-car-clk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/tegra/tegra-car-clk.c b/drivers/clk/tegra/tegra-car-clk.c
index ec89d4b..880dd4f 100644
--- a/drivers/clk/tegra/tegra-car-clk.c
+++ b/drivers/clk/tegra/tegra-car-clk.c
@@ -112,6 +112,9 @@ static int tegra_car_clk_probe(struct udevice *dev)
{
debug("%s(dev=%p)\n", __func__, dev);
+ clock_init();
+ clock_verify();
+
return 0;
}