]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: sunxi-ng: h6: Allow video & vpu clocks to change parent rate
authorJernej Skrabec <jernej.skrabec@siol.net>
Wed, 3 Apr 2019 15:14:03 +0000 (17:14 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 4 Apr 2019 07:31:39 +0000 (09:31 +0200)
commit6597ce3de9e443f0cab693496fc529f55ae6eb01
tree6044513de550244c48df0b54b751c6b5a20f163a
parent26fae7a41313506931c9be5f532c12d8d654f153
clk: sunxi-ng: h6: Allow video & vpu clocks to change parent rate

Video related clocks need to set rate as close as possible to the
requested one, so they should be able to change parent clock rate.

When processing 4K video, VPU clock has to be set to higher rate than it
is default parent rate. Because of that, VPU clock should be able to
change parent clock rate.

Add CLK_SET_RATE_PARENT flag to tcon-lcd0, tcon-tv0 and ve.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/clk/sunxi-ng/ccu-sun50i-h6.c