RE: [PATCH] arm: imx: imx8mm: correct unrecognized fracpll frequency

2021-05-03 Thread ZHIZHIKIN Andrey
Hello Fabio, > -Original Message- > From: Fabio Estevam > Sent: Sunday, May 2, 2021 11:45 PM > To: ZHIZHIKIN Andrey > Cc: U-Boot-Denx ; Stefano Babic ; > NXP i.MX U-Boot Team ; Peng Fan > ; Simon Glass ; Ye Li > Subject: Re: [PATCH] arm: imx: imx8mm: corr

Re: [PATCH] arm: imx: imx8mm: correct unrecognized fracpll frequency

2021-05-02 Thread Fabio Estevam
Hi Andrey, After re-reading the patch I have some comments: On Sat, May 1, 2021 at 5:13 PM Andrey Zhizhikin wrote: > > Frequency requested by ddrphy_init_set_dfi_clk from fracpll uses MHZ() > macro, which expands the value provided to the Hz range without taking into > account the precise Hz set

Re: [PATCH] arm: imx: imx8mm: correct unrecognized fracpll frequency

2021-05-02 Thread Fabio Estevam
On Sat, May 1, 2021 at 5:13 PM Andrey Zhizhikin wrote: > > Frequency requested by ddrphy_init_set_dfi_clk from fracpll uses MHZ() > macro, which expands the value provided to the Hz range without taking into > account the precise Hz setting. This causes the frequency of 266 MHz not ot > be found i

[PATCH] arm: imx: imx8mm: correct unrecognized fracpll frequency

2021-05-01 Thread Andrey Zhizhikin
Frequency requested by ddrphy_init_set_dfi_clk from fracpll uses MHZ() macro, which expands the value provided to the Hz range without taking into account the precise Hz setting. This causes the frequency of 266 MHz not ot be found in the imx8mm_fracpll_tbl, since it is entered there with a precise