[PATCH v1 1/1] driver: clk: tegra: init basic clocks on probe

Svyatoslav Ryhel clamor95 at gmail.com
Fri Dec 6 07:03:40 CET 2024


пт, 6 груд. 2024 р. о 08:01 Svyatoslav Ryhel <clamor95 at gmail.com> пише:
>
> 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.
>
> Signed-off-by: Svyatoslav Ryhel <clamor95 at gmail.com>
> ---
>  drivers/clk/tegra/tegra-car-clk.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/clk/tegra/tegra-car-clk.c b/drivers/clk/tegra/tegra-car-clk.c
> index 9078253d100..4f8405328a3 100644
> --- a/drivers/clk/tegra/tegra-car-clk.c
> +++ b/drivers/clk/tegra/tegra-car-clk.c
> @@ -111,6 +111,9 @@ static int tegra_car_clk_probe(struct udevice *dev)
>  {
>         debug("%s(dev=%p)\n", __func__, dev);
>
> +       clock_init();
> +       clock_verify();
> +
>         return 0;
>  }
>
> --
> 2.43.0
>

Simon, please test this commit and it it works for you, it can replace
this revert  https://lore.kernel.org/all/20241201164810.GT3600562@bill-the-cat/T/#m2b62b471fd37e4c9725c98547e2a919cf11db5e5


More information about the U-Boot mailing list