[PATCH 5.10 64/98] usb: typec: altmodes/displayport: Add pin assignment helper