From: Marek Vasut <marex@denx.de>
To: Adam Ford <aford173@gmail.com>
Cc: linux-clk@vger.kernel.org, Abel Vesa <abelvesa@kernel.org>,
Fabio Estevam <festevam@gmail.com>,
"Lukas F . Hartmann" <lukas@mntmn.com>,
Michael Turquette <mturquette@baylibre.com>,
Peng Fan <peng.fan@nxp.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Sascha Hauer <s.hauer@pengutronix.de>,
Shawn Guo <shawnguo@kernel.org>, Stephen Boyd <sboyd@kernel.org>,
imx@lists.linux.dev, kernel@dh-electronics.com,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] clk: imx: clk-imx8mp: Allow media_disp pixel clock reconfigure parent rate
Date: Fri, 21 Jun 2024 22:22:10 +0200 [thread overview]
Message-ID: <a2d7ef0c-e4f7-4029-9f4f-27eca47d3573@denx.de> (raw)
In-Reply-To: <CAHCN7xJA2i+k-n+02Km+83YXVEse=NDR_KmwQzhdTmCAJkP+BA@mail.gmail.com>
On 6/21/24 7:52 PM, Adam Ford wrote:
> On Fri, May 31, 2024 at 3:36 PM Marek Vasut <marex@denx.de> wrote:
>>
>> The media_disp[12]_pix clock supply LCDIFv3 pixel clock output. These
>> clocks are usually the only downstream clock from Video PLL on i.MX8MP.
>> Allow these clocks to reconfigure the Video PLL, as that results in
>> accurate pixel clock. If the Video PLL is not reconfigured, the pixel
>> clock accuracy is low.
>
> What happens if you have both a DSI (IMX8MP_CLK_MEDIA_DISP1_PIX) and
> an LVDS (IMX8MP_CLK_MEDIA_DISP2_PIX) display and both try to
> reconfigure their shared parent clock when their resolutions/clocks
> may not be the same? I looked at doing that for the 8MP, but I was
> running into display issues.
>
> For example, I was trying to test an 800x480 LVDS display which needed
> a pixel clock of 30MHz, and a DSI trying to run at 1920x1080 @
> 148.5MHz.
I have such a setup on my desk, I ended up putting one of the LCDIFs on
Video PLL and the other on PLL3 (spare unused PLL) .
next prev parent reply other threads:[~2024-06-21 20:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-31 20:26 [PATCH] clk: imx: clk-imx8mp: Allow media_disp pixel clock reconfigure parent rate Marek Vasut
2024-06-21 4:48 ` Abel Vesa
2024-06-21 6:38 ` Abel Vesa
2024-06-21 17:52 ` Adam Ford
2024-06-21 20:22 ` Marek Vasut [this message]
2024-11-12 22:42 ` Luca Ceresoli
2024-11-12 23:14 ` Marek Vasut
2024-11-13 11:06 ` Luca Ceresoli
2024-11-13 21:19 ` Marek Vasut
2024-11-15 17:09 ` Luca Ceresoli
2024-11-16 19:47 ` Marek Vasut
2024-11-18 8:15 ` Miquel Raynal
2024-11-18 14:30 ` Marek Vasut
2024-11-19 15:41 ` Miquel Raynal
2024-11-19 21:21 ` Marek Vasut
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=a2d7ef0c-e4f7-4029-9f4f-27eca47d3573@denx.de \
--to=marex@denx.de \
--cc=abelvesa@kernel.org \
--cc=aford173@gmail.com \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@dh-electronics.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=lukas@mntmn.com \
--cc=mturquette@baylibre.com \
--cc=peng.fan@nxp.com \
--cc=s.hauer@pengutronix.de \
--cc=sboyd@kernel.org \
--cc=shawnguo@kernel.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