]> git.baikalelectronics.ru Git - kernel.git/commit
clk: samsung: Mark top ISP and CAM clocks on Exynos542x as critical
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 6 May 2020 13:26:58 +0000 (15:26 +0200)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 13 May 2020 10:40:50 +0000 (12:40 +0200)
commit7c5613bddfde1c19ca24ebdb045d58bf1ca25689
tree44d37159e11b364c4ce6685d9dd33e5b84279a84
parent0e6c92ce1d170795a396f8108369eb2c8412797f
clk: samsung: Mark top ISP and CAM clocks on Exynos542x as critical

The TOP 'aclk*_isp', 'aclk550_cam', 'gscl_wa' and 'gscl_wb' clocks must
be kept enabled all the time to allow proper access to power management
control for the ISP and CAM power domains. The last two clocks, although
related to GScaler device and GSCL power domain, provides also the
I_WRAP_CLK signal to MIPI CSIS0/1 devices, which are a part of CAM power
domain and are needed for proper power on/off sequence.

Currently there are no drivers for the devices, which are part of CAM and
ISP power domains yet. This patch only fixes the race between disabling
the unused power domains and disabling unused clocks, which randomly
resulted in the following error during boot:

Power domain CAM disable failed
Power domain ISP disable failed

Fixes: 99e191577fa9 ("clk/samsung: exynos542x: mark some clocks as critical")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/clk/samsung/clk-exynos5420.c