Re: [U-Boot] [PATCH] sunxi: video: HDMI: Fix LCD clock divider

2019-09-23 Thread Anatolij Gustschin
On Fri, 9 Aug 2019 22:30:26 +0200 Mark Kettenis kette...@openbsd.org wrote: ... > --- > drivers/video/sunxi/sunxi_dw_hdmi.c | 2 +- Applied to u-boot-video/master, thanks! -- Anatolij ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] sunxi: video: HDMI: Fix LCD clock divider

2019-09-06 Thread Jagan Teki
On Sat, Aug 10, 2019 at 2:00 AM Mark Kettenis wrote: > > Currently we may end up with an LCD clock divider that differs from > the HDMI PHY clock divider if we can't exactly match the pixel clock. > Fix this by using DIV_ROUND_UP to calculate the divider. This works > since the PLL is chosen

[U-Boot] [PATCH] sunxi: video: HDMI: Fix LCD clock divider

2019-08-09 Thread Mark Kettenis
Currently we may end up with an LCD clock divider that differs from the HDMI PHY clock divider if we can't exactly match the pixel clock. Fix this by using DIV_ROUND_UP to calculate the divider. This works since the PLL is chosen such that the resulting pixel clock is never higher than the