USB-C pins required for charging only

I have a switch with A6 and B6 open circuit. Before I just put a new USB-C port in, are these two circuits absolutely necessary for charging. I don’t care about docking or data transfer. This Switch I got for free and is for the kids to play with. Yes, I removed the damaged port and tested all the pads first.