Problem with a ps4 controller

The charge port wasn’t faulty I have multiple spare charge ports and all of them does the same thing the issue I had was on the mainboard so I need to purchase a new controller