mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/4] clk: zynq: add QSPI reference clock
@ 2019-12-18 22:43 Lucas Stach
  2019-12-18 22:43 ` [PATCH 2/4] spi: add Zynq QSPI controller driver Lucas Stach
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Lucas Stach @ 2019-12-18 22:43 UTC (permalink / raw)
  To: barebox

Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
 drivers/clk/zynq/clkc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/clk/zynq/clkc.c b/drivers/clk/zynq/clkc.c
index 30ca5a60faf3..a6d8ba92cabc 100644
--- a/drivers/clk/zynq/clkc.c
+++ b/drivers/clk/zynq/clkc.c
@@ -414,6 +414,9 @@ static int zynq_clock_probe(struct device_d *dev)
 	clks[ddrpll] = zynq_pll_clk(ZYNQ_PLL_DDR, "ddr_pll", clk_base + 0x4);
 	clks[iopll] = zynq_pll_clk(ZYNQ_PLL_IO,  "io_pll", clk_base + 0x8);
 
+	zynq_periph_clk("lqspi_clk", clk_base + 0x4c);
+	clks[lqspi] = clk_gate("qspi0", "lqspi_clk", clk_base + 0x4c, 0, 0, 0);
+
 	zynq_periph_clk("sdio_clk", clk_base + 0x50);
 	clks[sdio0] = clk_gate("sdio0", "sdio_clk", clk_base + 0x50, 0, 0, 0);
 	clks[sdio1] = clk_gate("sdio1", "sdio_clk", clk_base + 0x50, 1, 0, 0);
-- 
2.23.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-20 15:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-18 22:43 [PATCH 1/4] clk: zynq: add QSPI reference clock Lucas Stach
2019-12-18 22:43 ` [PATCH 2/4] spi: add Zynq QSPI controller driver Lucas Stach
2019-12-18 22:43 ` [PATCH 3/4] ARM: zynq: add QSPI DT node Lucas Stach
2019-12-18 22:43 ` [PATCH 4/4] ARM: zynq: zed: add QSPI flash support Lucas Stach
2019-12-20 15:11 ` [PATCH 1/4] clk: zynq: add QSPI reference clock Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox