]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx6: clock: improve calculations to get the PLL video rate
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Sat, 22 Apr 2023 14:11:17 +0000 (16:11 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 2 May 2023 08:57:32 +0000 (10:57 +0200)
commit41d7a7da80ec7461cf57828db2c7ad5b29bbba33
tree074e11122fd8da60445545e05f69fbd9e4c5fda4
parent3bc6257e8048bccec95b369fd3c946ac5d8ee9ea
imx6: clock: improve calculations to get the PLL video rate

During some tests to check the pixel clock rate in the transition from
U-Boot to the Linux kernel, I noticed that with the same configuration
of the registers the debug messages reported different rates.

The same Linux kernel calculations are now used to get the PLL video
rate.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
arch/arm/mach-imx/mx6/clock.c