From: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
To: Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Pratham Pratap <pratham.pratap@oss.qualcomm.com>,
Jack Pham <jack.pham@oss.qualcomm.com>,
Wesley Cheng <wesley.cheng@oss.qualcomm.com>,
Peter Chen <peter.chen@oss.qualcomm.com>,
linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org,
Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Subject: [PATCH RFC 0/2] Support dynamic icc voting based on negotiated usb speed
Date: Mon, 30 Nov 2026 23:11:11 +0530 [thread overview]
Message-ID: <20261130-dynamic-icc-voting-v1-0-1a05a5320adc@oss.qualcomm.com> (raw)
This series allows DDR ICC BW voting to be done based on negotiated
usb speed when host mode enuemration is happening. This has been done
on downstream production builds for a long time to conserve power when
in host mode and high icc voting is not necessary.
The implementation also is a pre-requisite for a multiple other follow-up
patches if the approach gets accepted:
a) Core clock rate is currently static at 200/240 MHz. This can be brought
down to 60MHZ (or whatever hs clock rate requirement is) based on the host
notifier implemented.
b) According to [1], the qmp phy drivers need to know whether the device
connected in host mode is a SS capable one or not to enable autonomous
mode accoordingly. The plan is to remove unused speed suffixed phy mode
enums [2] and ues phy_configure to inform the phy of the negotiated speed.
[1]: https://lore.kernel.org/all/20261106082716.128968-1-tapas.rana@oss.qualcomm.com/
[2]: https://lore.kernel.org/all/3de365a0-4632-42ea-8a8a-5a4765945a76@oss.qualcomm.com/
Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
---
Krishna Kurapati (2):
usb: dwc3: qcom: Refactor DDR ICC bandwidth setting into helper
usb: dwc3: qcom: Vote ICC DDR bandwidth based on connected device speed
drivers/usb/dwc3/dwc3-qcom.c | 118 +++++++++++++++++++++++++++++++++++++++----
1 file changed, 107 insertions(+), 11 deletions(-)
---
base-commit: 90d6263e867be7089b3d3323bef8d2accd327c77
change-id: 20261126-dynamic-icc-voting-68981569fc40
Best regards,
--
Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
next reply other threads:[~2026-11-30 17:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 17:41 Krishna Kurapati [this message]
2026-11-30 17:41 ` [PATCH RFC 1/2] usb: dwc3: qcom: Refactor DDR ICC bandwidth setting into helper Krishna Kurapati
2026-11-30 17:41 ` [PATCH RFC 2/2] usb: dwc3: qcom: Vote ICC DDR bandwidth based on connected device speed Krishna Kurapati
2026-12-01 17:58 ` Val Packett
2026-12-01 18:21 ` Krishna Kurapati
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=20261130-dynamic-icc-voting-v1-0-1a05a5320adc@oss.qualcomm.com \
--to=krishna.kurapati@oss.qualcomm.com \
--cc=Thinh.Nguyen@synopsys.com \
--cc=gregkh@linuxfoundation.org \
--cc=jack.pham@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=peter.chen@oss.qualcomm.com \
--cc=pratham.pratap@oss.qualcomm.com \
--cc=wesley.cheng@oss.qualcomm.com \
/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®