[PATCH 4.19 25/37] usb: typec: altmodes/displayport: Add pin assignment helper