FWIW the PS5 controller is super particular about what charger you use due to Sony being dumb, but the deciding factor there is the charger, not the cable.
Source is the eternal benevolent champion of usbc compliance testing, Benson Leung: https://www.reddit.com/r/UsbCHardware/comments/tdduha/commen...
(and also my personal experience, but Benson explains why)