[PATCH 1/2] clk: imx27: add nand clock

Sascha Hauer s.hauer at pengutronix.de
Mon Apr 15 23:31:25 PDT 2024


The NAND clock is currently missing. The NAND driver doesn't use it
currently, but will be using it later once we update the driver. Add
this missing clock.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/clk/imx/clk-imx27.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/imx/clk-imx27.c b/drivers/clk/imx/clk-imx27.c
index 083d87fb34..7da4a1f9a6 100644
--- a/drivers/clk/imx/clk-imx27.c
+++ b/drivers/clk/imx/clk-imx27.c
@@ -246,6 +246,7 @@ static int imx27_ccm_probe(struct device *dev)
 	clkdev_add_physbase(clks[lcdc_ahb_gate], MX27_LCDC_BASE_ADDR, "ahb");
 	clkdev_add_physbase(clks[lcdc_ipg_gate], MX27_LCDC_BASE_ADDR, "ipg");
 	clkdev_add_physbase(clks[ipg], MX27_FEC_BASE_ADDR, NULL);
+	clkdev_add_physbase(clks[nfc_div], MX27_NFC_BASE_ADDR, NULL);
 
 	return 0;
 }
-- 
2.39.2




More information about the barebox mailing list