usb: dwc2: Add support for dwc2 host/device clock gating.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Artur Petrosyan
If core doesn't support hibernation or partial power down power saving options, you can still use clock gating on all the clocks to reduce power consumption considerably.
- Added control functions for dwc2 host/device mode clock gating.
- Moved "bus_suspended" flag to "dwc2_hsotg" struct because we need to set that flag in case when the driver is built in peripheral mode.
similarly to previous patch, it seems like this could be broken down into two or more patches. Think about doing really small, incremental changes that are obviously correct.
Signature · 1 line
balbi
Hi Felipe,
Quoted 7 lines · Felipe Balbi
Quoted 5 lines · Artur Petrosyan
If core doesn't support hibernation or partial power down power saving options, you can still use clock gating on all the clocks to reduce power consumption considerably.
Quoted 9 lines
Quoted 4 lines
- Added control functions for dwc2 host/device mode clock gating.
- Moved "bus_suspended" flag to "dwc2_hsotg" struct because we need to set that flag in case when the driver is built in peripheral mode.similarly to previous patch, it seems like this could be broken down into two or more patches. Think about doing really small, incremental changes that are obviously correct.
Ok sure thank you very much I will break the patch down. Most probably I will create two patches based on this one for host and another for device.
Regards,
Artur