MLK-17376 typec: support power source with 2 stages of capability
authorJun Li <jun.li@nxp.com>
Tue, 16 Jan 2018 10:06:52 +0000 (18:06 +0800)
committerJun Li <jun.li@nxp.com>
Tue, 16 Jan 2018 14:46:24 +0000 (22:46 +0800)
commit11a0cc03cd13655399f0f9fef2d98e8746a59562
tree290878b8113919777f48f052f84063e2a5b1895b
parent1698b95ea521eb5a74ae55de2a7318298a83401f
MLK-17376 typec: support power source with 2 stages of capability

Some power delivery source send the source capability by 2 stages:
1st stage send the source capability message with only basic 5V
PDO, after the 5V power session setup, 2nd stage it will send full
source capabilities with all PDOs it can support, in this case, we
should go on to process the following PD source cap to have a new
power session setup.

Signed-off-by: Li Jun <jun.li@nxp.com>
board/freescale/common/tcpc.c