diff options
author | ShuFan Lee <shufan_lee@richtek.com> | 2018-03-06 09:50:32 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-09 11:21:46 -0800 |
commit | 8f94390226487bcb86c554ddc12eef0d27bdec3b (patch) | |
tree | e387bef5e8734a014660600a2d8fa29ce7700fb4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b27560e4d9e5240b5544c9c5650c7442e482646e (diff) |
staging: typec: handle vendor defined part and modify drp toggling flow
Handle vendor defined behavior in tcpci_init, tcpci_set_vconn, tcpci_start_drp_toggling
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 COMMAND register to start DRP toggling.
DRP toggling flow is changed as following:
- Write DRP = 1, Rp level and RC.CCx to Rd/Rd or Rp/Rp
- Set LOOK4CONNECTION command
Signed-off-by: ShuFan Lee <shufan_lee@richtek.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions