clk: samsung: exynos542x: Move MSCL subsystem clocks to its sub-CMU
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 8 Aug 2019 12:18:39 +0000 (14:18 +0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 8 Aug 2019 20:54:38 +0000 (13:54 -0700)
commitbaf7b79e1ad79a41fafd8ab8597b9a96962d822d
treea7623a3bdd789aeb0263520d27835208124937ae
parentb6adeb6bc61c2567b9efd815d61a61b34a2e51a6
clk: samsung: exynos542x: Move MSCL subsystem clocks to its sub-CMU

M2M scaler clocks require special handling of their parent bus clock during
power domain on/off sequences. MSCL clocks were not initially added to the
sub-CMU handler, because that time there was no driver for the M2M scaler
device and it was not possible to test it.

This patch fixes this issue. Parent clock for M2M scaler devices is now
properly preserved during MSC power domain on/off sequence. This gives M2M
scaler devices proper performance: fullHD XRGB32 image 1000 rotations test
takes 3.17s instead of 45.08s.

Fixes: b06a532bf1fa ("clk: samsung: Add Exynos5 sub-CMU clock driver")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lkml.kernel.org/r/20190808121839.23892-1-m.szyprowski@samsung.com
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/samsung/clk-exynos5420.c