Skip to content

librem5: Remove dwc3 phy quirks on usb1

This unbreaks suspending the microchip hub if the sd card reader is allowed to suspend as in

https://source.puri.sm/Librem5/linux-next/-/issues/191

I'm not sure if this is the full story but i can still call in and

  • microchip hub suspends:
# cat /sys/bus/usb/devices/usb1/power/runtime_suspended_time 
449882
root@pureos:/home/purism# cat /sys/bus/usb/devices/usb1/power/runtime_suspended_time 
450191
root@pureos:/home/purism# cat /sys/bus/usb/devices/usb1/power/runtime_suspended_time 
450794
  • dwc3 suspends
# cat /sys/bus/usb/devices/usb1/1-1/power/runtime_suspended_time 
473929
root@pureos:/home/purism# cat /sys/bus/usb/devices/usb1/1-1/power/runtime_suspended_time 
474396
# cat /sys/devices/platform/soc@0/30800000.bus/30a50000.i2c/i2c-3/3-0036/power_supply/max170xx_battery/current_avg
-573456

with all devices enabled but display off.

Signed-off-by: Guido Günther guido.gunther@puri.sm

Edited by Guido Gunther

Merge request reports