[PATCH RFC 0/2] Support dynamic icc voting based on negotiated usb speed
From: Krishna Kurapati
Date: Mon Nov 30 2026 - 12:41:39 EST
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@xxxxxxxxxxxxxxxx/
[2]: https://lore.kernel.org/all/3de365a0-4632-42ea-8a8a-5a4765945a76@xxxxxxxxxxxxxxxx/
Signed-off-by: Krishna Kurapati <krishna.kurapati@xxxxxxxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxxx>