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)
commit70641ccad7d19b8229bf1cac33f5b8e03fdc7c5a
tree0077ec3c16bb9a68b6a1c4837384e0b54ae6ffe1
parent62d212bdb022deeb875f92f6e376c799e3f35eca
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: 0577e4853bfb ("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