diff options
author | Bryan O'Donoghue <[email protected]> | 2020-05-12 00:19:30 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-05-13 14:23:25 +0200 |
commit | 18a6c866bb191f360a16db6a79e005247dd3fd70 (patch) | |
tree | 2cf22f87566c74203a83d4776c319c8f81dd541a /lib/mpi/generic_mpih-rshift.c | |
parent | 0ef1f6e3808b15f3bcede4976235a7d81cc7f254 (diff) |
usb: typec: tps6598x: Add USB role switching logic
This patch adds USB role switch support to the tps6598x.
The setup to initiate or accept a data-role switch is both assumed and
currently required to be baked-into the firmware as described in TI's
document here.
Link: https://www.ti.com/lit/an/slva843a/slva843a.pdf
With this change its possible to use the USB role-switch API to detect and
notify role-switches to downstream consumers.
Tested with a ChipIdea controller on a Qualcomm MSM8939.
Cc: Heikki Krogerus <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Nikolaus Voss <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Gustavo A. R. Silva <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Bryan O'Donoghue <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/generic_mpih-rshift.c')
0 files changed, 0 insertions, 0 deletions