Type-C or OTG can be used for reverse charging.
If your phone supports Type-C ports, connect your phone to a computer or other device that needs to be charged via a Type-C cable or dual Type-C adapter cable.
Now the option of USB connection mode Settings, select reverse charging, then turn on reverse charging, when you do not need reverse charging, you can pull out the USB or OTG cable to switch other connection methods.