[PATCH v5] staging: typec: handle vendor defined part and modify drp toggling flow

2018-02-28 Thread ShuFan Lee
From: ShuFan Lee Handle vendor defined behavior in tcpci_init, tcpci_set_vconn and export tcpci_irq. More operations can be extended in tcpci_data if needed. According to TCPCI specification, 4.4.5.2 ROLE_CONTROL, TCPC shall not start DRP toggling until subsequently the

[PATCH v5] staging: typec: handle vendor defined part and modify drp toggling flow

2018-02-28 Thread ShuFan Lee
From: ShuFan Lee Handle vendor defined behavior in tcpci_init, tcpci_set_vconn and export tcpci_irq. More operations can be extended in tcpci_data if needed. According to TCPCI specification, 4.4.5.2 ROLE_CONTROL, TCPC shall not start DRP toggling until subsequently the TCPM writes to the