soc: xilinx: vcu: make pll post divider explicit
authorMichael Tretter <m.tretter@pengutronix.de>
Thu, 21 Jan 2021 07:16:53 +0000 (08:16 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 9 Feb 2021 02:31:25 +0000 (18:31 -0800)
commit4472e1849db7f719bbf625890096e0269b5849fe
tree55324cedd8dfd9b076e6c9b6c6f15411d85255b4
parent9c789deea206265e4a14c336cfa1b64c3383fc23
soc: xilinx: vcu: make pll post divider explicit

According to the downstream driver documentation due to timing
constraints the output divider of the PLL has to be set to 1/2. Add a
helper function for that check instead of burying the code in one large
setup function.

The bit is undocumented and marked as reserved in the register
reference.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/20210121071659.1226489-10-m.tretter@pengutronix.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/soc/xilinx/xlnx_vcu.c