]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi-ng: sun6i-a31: Enable PLL-MIPI LDOs when ungating it
authorChen-Yu Tsai <wens@csie.org>
Fri, 18 Nov 2016 07:15:57 +0000 (15:15 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 21 Nov 2016 18:50:49 +0000 (19:50 +0100)
commitad3b4d2488c6dc9c695d166906d82f9b3cf58832
treeb62035e172281c8a589a2c978818d374339f8d7d
parent6cea61755d9ef00c78caa69816b6abd56a9192cd
clk: sunxi-ng: sun6i-a31: Enable PLL-MIPI LDOs when ungating it

The PLL-MIPI clock is somewhat special as it has its own LDOs which
need to be turned on for this PLL to actually work and output a clock
signal.

Add the 2 LDO enable bits to the gate bits. This fixes issues with
the TCON not sending vblank interrupts when the tcon and dot clock are
indirectly clocked from the PLL-MIPI clock.

Fixes: dec8fe2d9ef5 ("clk: sunxi-ng: Add A31/A31s clocks")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu-sun6i-a31.c