Skip to content

clk: imx: Improve imx8mm/imx8mn LCDIF clocks

Adam Ford linux-arm-kernel linux-clk lkml 5 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyApplied
  2. v34 patches 0 repliesSuperseded
  3. v2 posting 2/20 of 4 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/24 patches2 repliesSuperseded
v13 patches1 replySuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4clk: imx: composite-8m: Add support to determine_ratedrivers/clk/imx/clk-composite-8m.c+7 -00 replies
2/4clk: imx: Add imx8m_clk_hw_composite_flags macrodrivers/clk/imx/clk.h+4 -00 replies
3/4clk: imx8mm: Let IMX8MM_CLK_LCDIF_PIXEL set parent ratedrivers/clk/imx/clk-imx8mm.c+1 -10 replies
4/4clk: imx: Let IMX8MN_CLK_DISP_PIXEL set parent ratedrivers/clk/imx/clk-imx8mn.c+1 -10 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPeng FanFabio Estevam
1/4R-b R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH V4 0/4] clk: imx: Improve imx8mm/imx8mn LCDIF clocks

Both the i.MX8M Mini and Nano have a video_pll which can be used to source a clock which feeds the lcdif interface. This interface currently fixes video_pll and divides down the clock feeding LCDIF. However, when connected to an HDMI bridge chip that supports a variety of video resolutions and refresh rates, the only settings that properly sync are ones that evenly divide from the video_pll_out clock.

This series adds the ability for the clk-compolsite-8m to request a better parent clock rate if the proper clock flag is enable and sets that flag in the corresponding imx8mm and imx8mn video_pll clocks to increase the number of resolutions and refresh rates timings that the LCDIF can produce.

This also has a side benefit of allowing the video-pll to run at a lower clock speed which can potentially save some power depending on the requested resolution and refresh rate.

v4: Sorry for the noise. I forgot to 'git ammend' so V4
is what V3 should have been.
V3: Change the name of clk_divider_determine_rate to
imx8m_clk_divider_determine_rate
V2: Split off the new imx8m_clk_hw_composite_flags definition
into its own patch and re-order to fix build error.

Adam Ford (3):
clk: imx: composite-8m: Add support to determine_rate
clk: imx8mm: Let IMX8MM_CLK_LCDIF_PIXEL set parent rate
clk: imx: Let IMX8MN_CLK_DISP_PIXEL set parent rate

 drivers/clk/imx/clk-composite-8m.c | 7 +++++++
 drivers/clk/imx/clk-imx8mm.c       | 2 +-
 drivers/clk/imx/clk-imx8mn.c       | 2 +-
 drivers/clk/imx/clk.h              | 4 ++++
 4 files changed, 13 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1