From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH master 0/3] clk: imx: composite-8m: fix muxing of core and bus
Date: Fri, 19 Apr 2024 08:10:00 +0200 [thread overview]
Message-ID: <20240419061003.2590849-1-a.fatoum@pengutronix.de> (raw)
The i.MX8M differntiates between three types of composite clocks (called
slices): Core, Bus and IP (peripheral) clocks. How muxes are configured
differs between these clocks, so the driver is populating a mux_ops
variable to point at the correct struct clk_ops.
Unfortunately, mux_ops wasn't actually used, leading to barebox hangs,
depending on the assigned-clock-parents properties in the device tree.
This is correct here. The issues were observed on an i.MX8MP.
Ahmad Fatoum (3):
clk: imx: add IMX_COMPOSITE_CLK_FLAGS_DEFAULT macro
clk: imx: composite-8m: fix muxing of core and bus clocks
clk: imx: imx8mp: sync with Linux v6.9-rc3
drivers/clk/imx/clk-composite-8m.c | 26 +++++----
drivers/clk/imx/clk-imx8mp.c | 93 +++++++++++++++++++-----------
drivers/clk/imx/clk.h | 19 +++++-
3 files changed, 90 insertions(+), 48 deletions(-)
--
2.39.2
next reply other threads:[~2024-04-19 6:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-19 6:10 Ahmad Fatoum [this message]
2024-04-19 6:10 ` [PATCH master 1/3] clk: imx: add IMX_COMPOSITE_CLK_FLAGS_DEFAULT macro Ahmad Fatoum
2024-04-19 6:10 ` [PATCH master 2/3] clk: imx: composite-8m: fix muxing of core and bus clocks Ahmad Fatoum
2024-04-19 6:10 ` [PATCH master 3/3] clk: imx: imx8mp: sync with Linux v6.9-rc3 Ahmad Fatoum
2024-04-22 11:26 ` [PATCH master 0/3] clk: imx: composite-8m: fix muxing of core and bus 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=20240419061003.2590849-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox