mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master 0/3] clk: imx: composite-8m: fix muxing of core and bus
@ 2024-04-19  6:10 Ahmad Fatoum
  2024-04-19  6:10 ` [PATCH master 1/3] clk: imx: add IMX_COMPOSITE_CLK_FLAGS_DEFAULT macro Ahmad Fatoum
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ahmad Fatoum @ 2024-04-19  6:10 UTC (permalink / raw)
  To: barebox

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




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

end of thread, other threads:[~2024-04-22 11:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19  6:10 [PATCH master 0/3] clk: imx: composite-8m: fix muxing of core and bus Ahmad Fatoum
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

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