diff options
author | 2020-05-12 00:19:30 +0100 | |
---|---|---|
committer | 2020-05-13 14:23:25 +0200 | |
commit | 18a6c866bb191f360a16db6a79e005247dd3fd70 (patch) | |
tree | 2cf22f87566c74203a83d4776c319c8f81dd541a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: typec: tps6598x: Add OF probe binding (diff) | |
download | wireguard-linux-18a6c866bb191f360a16db6a79e005247dd3fd70.tar.xz wireguard-linux-18a6c866bb191f360a16db6a79e005247dd3fd70.zip |
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 <heikki.krogerus@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Nikolaus Voss <nikolaus.voss@loewensteinmedical.de>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Gustavo A. R. Silva <garsilva@embeddedor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: linux-usb@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20200511231930.2825183-2-bryan.odonoghue@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions