All of lore.kernel.org
 help / color / mirror / Atom feed
* imx8mm eLCDIF clock
@ 2022-04-21  6:48 Tommaso Merciai
  2022-04-21 10:29 ` Tommaso Merciai
  2022-04-22  0:09 ` Sean Anderson
  0 siblings, 2 replies; 13+ messages in thread
From: Tommaso Merciai @ 2022-04-21  6:48 UTC (permalink / raw)
  To: u-boot; +Cc: Lukasz Majewski, Sean Anderson

Hi,
I'm working on drivers/clk/imx/clk-imx8mm.c to port and bring up eLCDIF
clocks. After port all necessary clocks needed by eLCDIF I found that
IMX8MM_VIDEO_PLL1 clock is not enabled and need the following code to enable
it at the end of the clk-imx8mm probe:

struct clk *clkp;

clk_get_by_id(IMX8MM_VIDEO_PLL1, &clkp);
clk_set_rate(clkp, 594000000UL);
clk_enable(clkp);

What do you think about this solution?
There is a more standard way to do this?

Thanks,
Tommmaso
-- 
Tommaso Merciai
Embedded Linux Engineer
tommaso.merciai@amarulasolutions.com
__________________________________

Amarula Solutions SRL
Via Le Canevare 30, 31100 Treviso, Veneto, IT
T. +39 042 243 5310
info@amarulasolutions.com
www.amarulasolutions.com

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

end of thread, other threads:[~2022-05-27  3:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21  6:48 imx8mm eLCDIF clock Tommaso Merciai
2022-04-21 10:29 ` Tommaso Merciai
2022-04-21 11:14   ` Adam Ford
2022-04-21 11:20     ` Marek Vasut
2022-04-21 11:54       ` Tommaso Merciai
2022-04-21 12:01         ` Marek Vasut
2022-04-21 12:03           ` Stefano Babic
2022-04-21 12:05             ` Adam Ford
2022-04-21 12:08               ` Michael Nazzareno Trimarchi
2022-04-21 11:50     ` Tommaso Merciai
2022-04-22  0:09 ` Sean Anderson
2022-04-22  6:39   ` Tommaso Merciai
2022-05-27  3:41     ` Sean Anderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.