[PATCH 0/3] clk: samsung: auto clock gating fixes for PM

André Draszik posted 3 patches 1 month ago
drivers/clk/samsung/clk-exynos-arm64.c | 32 ++++++++++---
drivers/clk/samsung/clk.c              | 83 ++++++++++++++++++++++++++++------
drivers/clk/samsung/clk.h              |  5 +-
3 files changed, 98 insertions(+), 22 deletions(-)
[PATCH 0/3] clk: samsung: auto clock gating fixes for PM
Posted by André Draszik 1 month ago
Hi,

The attached patches fix issues when CMUs have PM enabled and also a
needless warning message on older Exynos platforms relating to
automatic clock gating as reported by Marek.

Without these it's impossible to enable PM for a CMU when automatic
clock gating is also enabled. While currently no platform uses both,
patches to enable PM on gs101 are in the works but things stopped
working after the auto clock gating changes. I've verified that with
the patches here PM and runtime PM work again.

I've opted to add Fixes: tags to the PM-related patches even though no
current platform uses both, auto clock gating and PM, to ensure the
code is correct nevertheless. Please let me know if that's not desired.

Cheers,
Andre'

Signed-off-by: André Draszik <andre.draszik@linaro.org>
---
André Draszik (3):
      clk: samsung: avoid warning message on legacy Exynos (auto clock gating)
      clk: samsung: fix sysreg save/restore when PM is enabled for CMU
      clk: samsung: allow runtime PM with auto clock gating

 drivers/clk/samsung/clk-exynos-arm64.c | 32 ++++++++++---
 drivers/clk/samsung/clk.c              | 83 ++++++++++++++++++++++++++++------
 drivers/clk/samsung/clk.h              |  5 +-
 3 files changed, 98 insertions(+), 22 deletions(-)
---
base-commit: f8f97927abf7c12382dddc93a144fc9df7919b77
change-id: 20260109-clk-samsung-autoclk-updates-e8a63bd68405

Best regards,
-- 
André Draszik <andre.draszik@linaro.org>

Re: [PATCH 0/3] clk: samsung: auto clock gating fixes for PM
Posted by Krzysztof Kozlowski 3 weeks, 1 day ago
On 09/01/2026 18:27, André Draszik wrote:
> Hi,
> 
> The attached patches fix issues when CMUs have PM enabled and also a
> needless warning message on older Exynos platforms relating to
> automatic clock gating as reported by Marek.
> 
> Without these it's impossible to enable PM for a CMU when automatic
> clock gating is also enabled. While currently no platform uses both,
> patches to enable PM on gs101 are in the works but things stopped
> working after the auto clock gating changes. I've verified that with
> the patches here PM and runtime PM work again.
> 
> I've opted to add Fixes: tags to the PM-related patches even though no
> current platform uses both, auto clock gating and PM, to ensure the
> code is correct nevertheless. Please let me know if that's not desired.
> 
> Cheers,
> Andre'
> 
> Signed-off-by: André Draszik <andre.draszik@linaro.org>
> ---

Here I got also not a correct b4 TY letter, so confirming - applied only
#1 and #2. For the 3/3 I left comment.

Best regards,
Krzysztof
Re: (subset) [PATCH 0/3] clk: samsung: auto clock gating fixes for PM
Posted by Krzysztof Kozlowski 3 weeks, 1 day ago
On Fri, 09 Jan 2026 17:27:22 +0000, André Draszik wrote:
> The attached patches fix issues when CMUs have PM enabled and also a
> needless warning message on older Exynos platforms relating to
> automatic clock gating as reported by Marek.
> 
> Without these it's impossible to enable PM for a CMU when automatic
> clock gating is also enabled. While currently no platform uses both,
> patches to enable PM on gs101 are in the works but things stopped
> working after the auto clock gating changes. I've verified that with
> the patches here PM and runtime PM work again.
> 
> [...]

Applied, thanks!



Best regards,
-- 
Krzysztof Kozlowski <krzk@kernel.org>