In this case, someone (not me) somehow managed to totally demolish the mini USB port in ... ready for the new port. There’s one difference between the original and the replacement: two pins ...
The hack consists of a small breakout board that enables a USB-C connector to be fitted into the PS4 controller in place of the original micro USB port ... a selection of replacement boards ...