Skip to contentSkip to conversation

usb: dwc2: Add support for dwc2 host/device clock gating.

PATCH Felipe Balbi 2 participants 2 messages Oct 27, 2020 1 message not in the archive USB

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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
#2 lore raw

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