Linux USB
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] Support dynamic icc voting based on negotiated usb speed
@ 2026-11-30 17:41 Krishna Kurapati
  2026-11-30 17:41 ` [PATCH RFC 1/2] usb: dwc3: qcom: Refactor DDR ICC bandwidth setting into helper Krishna Kurapati
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Krishna Kurapati @ 2026-11-30 17:41 UTC (permalink / raw)
  To: Thinh Nguyen, Greg Kroah-Hartman
  Cc: Pratham Pratap, Jack Pham, Wesley Cheng, Peter Chen,
	linux-arm-msm, linux-usb, linux-kernel, Krishna Kurapati

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>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-30 18:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 17:41 [PATCH RFC 0/2] Support dynamic icc voting based on negotiated usb speed Krishna Kurapati
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-11-30 18:01   ` sashiko-bot
2026-11-30 18:01 ` [PATCH RFC 0/2] Support dynamic icc voting based on negotiated usb speed sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox