High Power USB issues on Samsung Android Phones
From Termatrac Wiki
The solution is from https://eu.community.samsung.com/t5/galaxy-s22-series/usb-c-port-not-working/td-p/5546501. And the following screenshots provide detailed steps.
In Settings, click “Apps”

Click the highlighted area:

Enable “Show system apps”
Then scroll near the bottom of the Apps list and click USBSettings:
Click Storage:
Click “Clear cache”: