Ps4 Controller not charging or connecting

Hi,
My Ps4 usb port is not giving out any charge.
Can anyone help find the reason.
I changed the IC but after changing IC new problem started that the controler will charge and connect but after sometime will reset.
So i put back my old IC.
Please help