[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <167337103771.2139708.5296972457662830009.b4-ty@kernel.org>
Date: Tue, 10 Jan 2023 11:17:22 -0600
From: Bjorn Andersson <andersson@...nel.org>
To: dmitry.baryshkov@...aro.org, sboyd@...nel.org, agross@...nel.org,
abel.vesa@...aro.org, mturquette@...libre.com,
konrad.dybcio@...aro.org
Cc: linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: (subset) [PATCH v3 1/2] clk: Add generic sync_state callback for disabling unused clocks
On Tue, 27 Dec 2022 22:45:27 +0200, Abel Vesa wrote:
> There are unused clocks that need to remain untouched by clk_disable_unused,
> and most likely could be disabled later on sync_state. So provide a generic
> sync_state callback for the clock providers that register such clocks.
> Then, use the same mechanism as clk_disable_unused from that generic
> callback, but pass the device to make sure only the clocks belonging to
> the current clock provider get disabled, if unused. Also, during the
> default clk_disable_unused, if the driver that registered the clock has
> the generic clk_sync_state_disable_unused callback set for sync_state,
> skip disabling its clocks.
>
> [...]
Applied, thanks!
[1/2] clk: Add generic sync_state callback for disabling unused clocks
commit: 26b36df7516692292312063ca6fd19e73c06d4e7
[2/2] clk: qcom: sdm845: Use generic clk_sync_state_disable_unused callback
commit: 99c0f7d35c4b204dd95ba50e155f32c99695b445
Best regards,
--
Bjorn Andersson <andersson@...nel.org>
Powered by blists - more mailing lists