]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
driver: clk: tegra: init basic clocks on probe
authorSvyatoslav Ryhel <clamor95@gmail.com>
Fri, 13 Dec 2024 14:53:19 +0000 (16:53 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 16 Dec 2024 23:07:39 +0000 (17:07 -0600)
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>
drivers/clk/tegra/tegra-car-clk.c

index ec89d4b2b2d848633b2fdc990812ae9386453be5..880dd4f6ece9fde3ef3dd9d457e717ce4c237e29 100644 (file)
@@ -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;
 }