Re: [U-Boot] [PATCH 2/2] imx: mx6ul/sx: Fix issue in LCDIF clock dividers calculation

2016-02-02 Thread Stefano Babic
On 26/01/2016 15:01, Ye Li wrote: > The checking with max frequency supported is not correct, because the temp > is calculated by max pre and post dividers. We can decrease any divider to > meet the max frequency limitation. Actually, the calculation below the codes > is doing this way to find be

Re: [U-Boot] [PATCH 2/2] imx: mx6ul/sx: Fix issue in LCDIF clock dividers calculation

2016-01-26 Thread Stefano Babic
On 26/01/2016 15:01, Ye Li wrote: > The checking with max frequency supported is not correct, because the temp > is calculated by max pre and post dividers. We can decrease any divider to > meet the max frequency limitation. Actually, the calculation below the codes > is doing this way to find best

[U-Boot] [PATCH 2/2] imx: mx6ul/sx: Fix issue in LCDIF clock dividers calculation

2016-01-26 Thread Ye Li
The checking with max frequency supported is not correct, because the temp is calculated by max pre and post dividers. We can decrease any divider to meet the max frequency limitation. Actually, the calculation below the codes is doing this way to find best pre and post dividers. Signed-off-by: Ye