From: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clk: qcom: gcc-shikra: Register set_hwmode_dev callback for USB GDSCs
Date: Fri, 4 Dec 2026 03:25:25 +0530 [thread overview]
Message-ID: <7c9ef6d6-3014-4d9b-a676-01c58df291b0@oss.qualcomm.com> (raw)
In-Reply-To: <20261204-nord-usb-gdscs-v1-1-254a035965fe@oss.qualcomm.com>
On 12/4/2026 3:21 AM, Krishna Kurapati wrote:
> Register gdsc_set_hw_stay_on as set_hwmode_dev callback for USB GDSCs to
> allow the USB consumer drivers to keep the GDSC ON based on the
> requirement in USB host mode.
>
> Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
My bad. The patch header is incorrect (its nord and not shikra). Please
ignore this patch. I will send a v2.
Sorry for the noise on mail.
Regards,
Krishna,
> ---
> Following up on [1], this patch has only been compile tested.
>
> [1]: https://lore.kernel.org/all/20261127-usb-pcie-gdsc-suspend-v1-0-485a08ffdc6f@oss.qualcomm.com/
> ---
> drivers/clk/qcom/negcc-nord.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/clk/qcom/negcc-nord.c b/drivers/clk/qcom/negcc-nord.c
> index 68ce4d6278ba..8f6a8cc8edc7 100644
> --- a/drivers/clk/qcom/negcc-nord.c
> +++ b/drivers/clk/qcom/negcc-nord.c
> @@ -1706,6 +1706,7 @@ static struct gdsc ne_gcc_usb20_prim_gdsc = {
> .clk_dis_wait_val = 0xf,
> .pd = {
> .name = "ne_gcc_usb20_prim_gdsc",
> + .set_hwmode_dev = gdsc_set_hw_stay_on,
> },
> .pwrsts = PWRSTS_OFF_ON,
> .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE,
> @@ -1718,6 +1719,7 @@ static struct gdsc ne_gcc_usb31_prim_gdsc = {
> .clk_dis_wait_val = 0xf,
> .pd = {
> .name = "ne_gcc_usb31_prim_gdsc",
> + .set_hwmode_dev = gdsc_set_hw_stay_on,
> },
> .pwrsts = PWRSTS_OFF_ON,
> .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE,
> @@ -1730,6 +1732,7 @@ static struct gdsc ne_gcc_usb31_sec_gdsc = {
> .clk_dis_wait_val = 0xf,
> .pd = {
> .name = "ne_gcc_usb31_sec_gdsc",
> + .set_hwmode_dev = gdsc_set_hw_stay_on,
> },
> .pwrsts = PWRSTS_OFF_ON,
> .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE,
> @@ -1742,6 +1745,7 @@ static struct gdsc ne_gcc_usb3_phy_gdsc = {
> .clk_dis_wait_val = 0x2,
> .pd = {
> .name = "ne_gcc_usb3_phy_gdsc",
> + .set_hwmode_dev = gdsc_set_hw_stay_on,
> },
> .pwrsts = PWRSTS_OFF_ON,
> .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE,
> @@ -1754,6 +1758,7 @@ static struct gdsc ne_gcc_usb3_sec_phy_gdsc = {
> .clk_dis_wait_val = 0x2,
> .pd = {
> .name = "ne_gcc_usb3_sec_phy_gdsc",
> + .set_hwmode_dev = gdsc_set_hw_stay_on,
> },
> .pwrsts = PWRSTS_OFF_ON,
> .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE,
>
> ---
> base-commit: 3010f4b0fcca1d50f850ac6524275435d5af3502
> change-id: 20261204-nord-usb-gdscs-de8fa4cbc070
> prerequisite-change-id: 20261126-usb-pcie-gdsc-suspend-7a99c6b62406
>
> Best regards,
> --
> Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
prev parent reply other threads:[~2026-12-03 21:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 21:51 Krishna Kurapati
2026-12-03 21:55 ` Krishna Kurapati [this message]
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=7c9ef6d6-3014-4d9b-a676-01c58df291b0@oss.qualcomm.com \
--to=krishna.kurapati@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=bmasney+clk@redhat.com \
--cc=jbrunet+clk@baylibre.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®