power: smb5: Fix TypeC settings for PR_SWAP

During TypeC PR_SWAP, SW is selected as source to control CC_COUT.
CC orientation needs to be fixed in the middle of swap, so when
there is a momentary disconnect, PD PHY can know which CC to
communicate on. Add force CC_OUT support by SW override.

Also, PMIC5, the new generation of PMICs, requires VSafe0V check
bypass in order to get from AttachWait.SRC to Attached.SRC state
to become source during PR_SWAP.

Change-Id: I54ac5c21fc4b08cec47b9094e74c6ec0a5fc5179
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2 files changed