From: Michal Simek Date: Thu, 1 Jul 2021 17:01:42 +0000 (+0200) Subject: clk: zynqmp: Add support for enabling clock on lpd_lsbus X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=0c383a79577b95e745abe466fab5fd744887dec8;p=u-boot.git clk: zynqmp: Add support for enabling clock on lpd_lsbus lpd_lsbus is clock which is used by many IPs like dmas, gems, gpio, sdhcis, spis, ttcs, uarts, watchdog that's why make sense to also enable access to change this clock. For this clock you already get the rate. Signed-off-by: Michal Simek --- diff --git a/drivers/clk/clk_zynqmp.c b/drivers/clk/clk_zynqmp.c index 13a623fdb9..52fecec7a7 100644 --- a/drivers/clk/clk_zynqmp.c +++ b/drivers/clk/clk_zynqmp.c @@ -813,6 +813,7 @@ static int zynqmp_clk_enable(struct clk *clk) mask = 0x3; break; case qspi_ref ... can1_ref: + case lpd_lsbus: clkact_shift = 24; mask = 0x1; break;