Browse Source

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 <michal.simek@xilinx.com>
Michal Simek 2 years ago
parent
commit
0c383a7957
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/clk/clk_zynqmp.c

+ 1 - 0
drivers/clk/clk_zynqmp.c

@@ -813,6 +813,7 @@ static int zynqmp_clk_enable(struct clk *clk)
 		mask = 0x3;
 		mask = 0x3;
 		break;
 		break;
 	case qspi_ref ... can1_ref:
 	case qspi_ref ... can1_ref:
+	case lpd_lsbus:
 		clkact_shift = 24;
 		clkact_shift = 24;
 		mask = 0x1;
 		mask = 0x1;
 		break;
 		break;