]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi-ng: add CLK_SET_RATE_UNGATE to all H3 PLLs
authorIcenowy Zheng <icenowy@aosc.io>
Sun, 10 Sep 2017 12:40:05 +0000 (20:40 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 17 Sep 2017 10:03:08 +0000 (12:03 +0200)
commit774d7a5f81dcab31313d5adbb504dd49db775935
tree7ad60e3793d321145ba9c29de69f75523a42dba9
parent2018862bdad13479b663e0e9615d7c6fcaa89285
clk: sunxi-ng: add CLK_SET_RATE_UNGATE to all H3 PLLs

The PLLs on H3 have a lock bit, which will only be set to 1 when the PLL
is really working.

Add CLK_SET_RATE_UNGATE to the PLLs, otherwise it will timeout when
trying to set PLL clock frequency without enabling it.

Fixes: 6160fa717d5c ("clk: sunxi-ng: Add H3 clocks")
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/ccu-sun8i-h3.c