]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi-ng: add CLK_SET_RATE_PARENT flag to H3 GPU clock
authorIcenowy Zheng <icenowy@aosc.io>
Sun, 10 Sep 2017 12:40:06 +0000 (20:40 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 17 Sep 2017 10:03:08 +0000 (12:03 +0200)
commit3b8fcda6464ba8822c678c336e4757e517ecb7c5
tree0077ec3c16bb9a68b6a1c4837384e0b54ae6ffe1
parent774d7a5f81dcab31313d5adbb504dd49db775935
clk: sunxi-ng: add CLK_SET_RATE_PARENT flag to H3 GPU clock

The GPU clock on H3 has only one parent, PLL-GPU, and the PLL is only
the parent of the GPU clock. The GPU clock can be tweaked by tweaking
the PLL-GPU clock.

Add CLK_SET_RATE_PARENT flag to allow tweaking the GPU clock via
tweaking PLL-CPU.

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