]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: samsung: exynos850: mark APM I3C clocks as critical
authorAlexey Klimov <alexey.klimov@linaro.org>
Thu, 30 Apr 2026 11:53:27 +0000 (12:53 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 14 May 2026 16:35:01 +0000 (18:35 +0200)
commit44984aaf1aa727ff944dd4b72fcf069d08b0056d
treed7c42cd6e0dabe42812fede4d52a85187963c1e8
parent254f49634ee16a731174d2ae34bc50bd5f45e731
clk: samsung: exynos850: mark APM I3C clocks as critical

The Exynos850 APM co-processor relies on the I3C bus to communicate with
the PMIC. Currently, there is no dedicated PMIC consumer driver managing
these clocks, so the clock subsystem automatically gates them during the
initialisation. Once gated, any subsequent ACPM communication with APM
results in timeouts.

As a temporary workaround (and let's hope it doesn't become permanent),
mark both `gout_i3c_pclk` and `gout_i3c_sclk` as CLK_IS_CRITICAL ones to
prevent the clock subsystem from disabling them. This makes the ACPM
communication functional. This workaround should be reverted once a
proper ACPM PMIC driver is implemented to manage these clocks.

Cc: Sam Protsenko <semen.protsenko@linaro.org>
Cc: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://patch.msgid.link/20260430-exynos850-i3c-criticalclocks-v1-1-6e1fd8dfa21b@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/clk/samsung/clk-exynos850.c