From: Bjorn Andersson <andersson@kernel.org>
To: dmitry.baryshkov@linaro.org, sboyd@kernel.org, agross@kernel.org,
abel.vesa@linaro.org, mturquette@baylibre.com,
konrad.dybcio@linaro.org
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: (subset) [PATCH v3 1/2] clk: Add generic sync_state callback for disabling unused clocks
Date: Tue, 10 Jan 2023 11:17:22 -0600 [thread overview]
Message-ID: <167337103771.2139708.5296972457662830009.b4-ty@kernel.org> (raw)
In-Reply-To: <20221227204528.1899863-1-abel.vesa@linaro.org>
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@kernel.org>
next prev parent reply other threads:[~2023-01-10 17:18 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-27 20:45 [PATCH v3 1/2] clk: Add generic sync_state callback for disabling unused clocks Abel Vesa
2022-12-27 20:45 ` [PATCH v3 2/2] clk: qcom: sdm845: Use generic clk_sync_state_disable_unused callback Abel Vesa
2023-01-05 14:03 ` Dmitry Baryshkov
2023-01-05 14:03 ` [PATCH v3 1/2] clk: Add generic sync_state callback for disabling unused clocks Dmitry Baryshkov
2023-01-06 17:22 ` Bjorn Andersson
2023-01-10 17:17 ` Bjorn Andersson [this message]
2023-02-18 5:38 ` Stephen Boyd
2023-02-20 15:46 ` Abel Vesa
2023-02-20 16:27 ` Abel Vesa
2023-02-20 17:51 ` Saravana Kannan
2023-02-20 18:47 ` Abel Vesa
2023-02-21 19:58 ` Saravana Kannan
2023-02-22 7:57 ` Abel Vesa
2023-05-11 12:58 ` Abel Vesa
2023-05-12 0:46 ` Saravana Kannan
2023-05-12 10:30 ` Abel Vesa
2023-05-27 0:13 ` Saravana Kannan
2023-02-20 16:33 ` Bjorn Andersson
2023-02-21 18:44 ` Stephen Boyd
2023-02-20 16:21 ` Bjorn Andersson
2023-02-21 19:24 ` Stephen Boyd
2023-02-22 15:34 ` Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=167337103771.2139708.5296972457662830009.b4-ty@kernel.org \
--to=andersson@kernel.org \
--cc=abel.vesa@linaro.org \
--cc=agross@kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox