From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 0/7] ARM: i.MX6: clk updates
Date: Tue, 8 Mar 2022 13:20:21 +0100 [thread overview]
Message-ID: <20220308122028.3857376-1-s.hauer@pengutronix.de> (raw)
This branch fixes some odd issues in the i.MX6 clock tree. The i.MX6Q
and i.MX6D SoC variants need a workaround for the PFDs and it turned
out we have that workaround twice: once in the clk driver and then again
in architecture code. When deep probe is enabled the order in which they
run may be changed. The difference with both workarounds is that the one
in the architecture code leaves the PFD clocks enabled and the one in
the clock driver leaves them disabled. That is still not a problem, but
our clock driver lacks the hdmi_isfr clock, so that the i.MX hdmi driver
works on a dummy clock instead. This works when the architecture
workaround runs after the one in the clk driver, but when deep probe
is enabled and the order changes then the hdmi driver finds its clock
disabled and doesn't work.
The issues are resolved in this series: The hdmi_isfr clock is added to
the clock tree and one of the duplicated workarounds is removed. There
are some other patches I came along while investigating why hdmi doesn't
work with deep probe enabled.
Sascha Hauer (7):
clk: imx6: Add hdmi_isfr clk
clk: imx6: fix axi_sels
clk: imx6: Fix periph_clk2_sel and periph2_clk2_sel clocks
clk: imx6: emi_sel clock muxing
clk: imx6: fix cko1_sels
clk: imx6: do pfd workaround unconditionally
ARM: i.MX: Remove duplicate PFD workaround
arch/arm/mach-imx/imx6.c | 44 --------------------------------------
drivers/clk/imx/clk-imx6.c | 37 ++++++++++++++++++++++++--------
2 files changed, 28 insertions(+), 53 deletions(-)
--
2.30.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2022-03-08 12:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-08 12:20 Sascha Hauer [this message]
2022-03-08 12:20 ` [PATCH 1/7] clk: imx6: Add hdmi_isfr clk Sascha Hauer
2022-03-08 12:20 ` [PATCH 2/7] clk: imx6: fix axi_sels Sascha Hauer
2022-03-08 12:20 ` [PATCH 3/7] clk: imx6: Fix periph_clk2_sel and periph2_clk2_sel clocks Sascha Hauer
2022-03-08 12:20 ` [PATCH 4/7] clk: imx6: emi_sel clock muxing Sascha Hauer
2022-03-08 12:20 ` [PATCH 5/7] clk: imx6: fix cko1_sels Sascha Hauer
2022-03-08 12:20 ` [PATCH 6/7] clk: imx6: do pfd workaround unconditionally Sascha Hauer
2022-03-08 12:20 ` [PATCH 7/7] ARM: i.MX: Remove duplicate PFD workaround 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=20220308122028.3857376-1-s.hauer@pengutronix.de \
--to=s.hauer@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