Skip to content
Snippets Groups Projects
Commit a6b0fd27 authored by Dmitry Petrov's avatar Dmitry Petrov
Browse files

[IMX8MM] clock: revert VIDEO_PLL_RATE for IMX8MM

In commit 3c60a494 ([i.MX8MP][DRIVER] configure display clk tree, 2024-07-23)
the VIDEO_PLL_RATE was adjusted for IMX8MP. Use #ifdef to select the correct value
for IMX8MM.
parent 71a345e6
No related branches found
No related tags found
No related merge requests found
...@@ -280,7 +280,11 @@ int intpll_configure(enum pll_clocks pll, ulong freq) ...@@ -280,7 +280,11 @@ int intpll_configure(enum pll_clocks pll, ulong freq)
return 0; return 0;
} }
#ifdef CONFIG_IMX8MP
#define VIDEO_PLL_RATE 1039500000U #define VIDEO_PLL_RATE 1039500000U
#else
#define VIDEO_PLL_RATE 594000000U
#endif
void mxs_set_lcdclk_type(u32 base_addr, u32 freq, enum lcdifv3_type type) void mxs_set_lcdclk_type(u32 base_addr, u32 freq, enum lcdifv3_type type)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment