clk: sunxi-ng: enable so-said LDOs for A64 SoC's pll-mipi clock
authorIcenowy Zheng <icenowy@aosc.io>
Thu, 18 Oct 2018 07:07:29 +0000 (15:07 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 5 Nov 2018 08:20:52 +0000 (09:20 +0100)
commit859783d1390035e29ba850963bded2b4ffdf43b5
treee76b9a6b312e085c1d891ab635675113746a6406
parent651022382c7f8da46cb4872a545ee1da6d097d2a
clk: sunxi-ng: enable so-said LDOs for A64 SoC's pll-mipi clock

In the user manual of A64 SoC, the bit 22 and 23 of pll-mipi control
register is called "LDO{1,2}_EN", and according to the BSP source code
from Allwinner , the LDOs are enabled during the clock's enabling
process.

The clock failed to generate output if the two LDOs are not enabled.

Add the two bits to the clock's gate bits, so that the LDOs are enabled
when the PLL is enabled.

Fixes: c6a0637460c2 ("clk: sunxi-ng: Add A64 clocks")
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/clk/sunxi-ng/ccu-sun50i-a64.c