MLK-22406 usb: typec: tcpm: create parter for source only port
authorLi Jun <jun.li@nxp.com>
Wed, 7 Aug 2019 07:43:08 +0000 (15:43 +0800)
committerLi Jun <jun.li@nxp.com>
Fri, 9 Aug 2019 07:53:47 +0000 (15:53 +0800)
commit7a7948a883f803955523e0b0e32a27a792936f2f
tree54494b7cb6b6c9d7c1c04a0c49b7e7196152e6ee
parent350b7dc0f1a8ad1e12083a09dcd6435ae4509a06
MLK-22406 usb: typec: tcpm: create parter for source only port

After the hack of moving forward tcpm state machine for source
only port but with usb data device mode support, we need further
to create its partner, so app(like android) can use it to judge if
the connection exists or not.

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
drivers/usb/typec/tcpm.c