Skip to content

Detect USB Type C port controller and other chargers

Guido Günther requested to merge agx/upower:usbc into master

Add string matches for USB Type C port controller and other chargers. These are e.g. exposed as

tcpc: /sys/devices/platform/soc@0/soc@0:bus@30800000/30a20000.i2c/i2c-0/0-0052/power_supply/tcpm-source-psy-0-0052

charger: /sys/devices/platform/soc@0/soc@0:bus@30800000/30a20000.i2c/i2c-0/0-006b/power_supply/bq25890-charger

on the Librem5 devkit.

See https://source.puri.sm/Librem5/OS-issues/issues/48

Merge request reports