clk: imx: pll14xx: Add 320 MHz and 640 MHz entries for PLL146x
authorMarek Vasut <marex@denx.de>
Mon, 31 Oct 2022 20:48:38 +0000 (21:48 +0100)
committerAbel Vesa <abel.vesa@linaro.org>
Mon, 21 Nov 2022 22:04:49 +0000 (00:04 +0200)
commit6a11d3a00dc1f152e8cdf97171128c4186695a9d
tree19579595d22eb20da49d13246c78e11a11fdda87
parentf8aa5f6dc1cb71d472d023f87d05f53b1672983f
clk: imx: pll14xx: Add 320 MHz and 640 MHz entries for PLL146x

The PLL146x is used to implement SYS_PLL3 on i.MX8MP and can be used
to drive UARTn_ROOT clock. By setting the PLL3 to 320 MHz or 640 MHz,
the PLL3 output can be divided down to supply UARTn_ROOT clock with
precise 64 MHz, which divided down further by 16x oversampling factor
used by the i.MX UART core yields 4 Mbdps baud base for the UART IP.
This is useful e.g. for BCM bluetooth chips, which can operate up to
4 Mbdps.

Add 320 MHz and 640 MHz entries so the PLL can be configured accordingly.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20221031204838.195292-1-marex@denx.de
drivers/clk/imx/clk-pll14xx.c