From: Sascha Hauer <s.hauer@pengutronix.de> To: Barebox List <barebox@lists.infradead.org> Subject: [PATCH 1/3] clk: imx28: Set gpmi clock to gpmi_ref Date: Tue, 4 May 2021 16:10:29 +0200 [thread overview] Message-ID: <20210504141031.3457-1-s.hauer@pengutronix.de> (raw) The GPMI is parented to ref_xtal (=24MHz) by default. Reparent it to ref_gpmi to get reasonable NAND speed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> --- drivers/clk/mxs/clk-imx28.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c index aa4ba99cd7..382021e49c 100644 --- a/drivers/clk/mxs/clk-imx28.c +++ b/drivers/clk/mxs/clk-imx28.c @@ -145,6 +145,7 @@ static int __init mx28_clocks_init(struct device_d *dev, void __iomem *regs) clk_set_rate(clks[ssp2], 96000000); clk_set_rate(clks[ssp3], 96000000); clk_set_parent(clks[lcdif_sel], clks[ref_pix]); + clk_set_parent(clks[gpmi_sel], clks[ref_gpmi]); if (dev->device_node) { clk_data.clks = clks; -- 2.29.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2021-05-04 14:11 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-04 14:10 Sascha Hauer [this message] 2021-05-04 14:10 ` [PATCH 2/3] clk: imx28: propagate rate change to parents Sascha Hauer 2021-05-04 14:10 ` [PATCH 3/3] mtd: nand: mxs: Enable edo mode switching for i.MX28 Sascha Hauer
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210504141031.3457-1-s.hauer@pengutronix.de \ --to=s.hauer@pengutronix.de \ --cc=barebox@lists.infradead.org \ --subject='Re: [PATCH 1/3] clk: imx28: Set gpmi clock to gpmi_ref' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox