diff options
| author | RD Babiera <rdbabiera@google.com> | 2025-09-23 18:16:07 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-13 09:11:50 +0200 |
| commit | ed4a5c5de56ad4e23c9e5da8981639352b63b8ac (patch) | |
| tree | 1ecd1c58f9e83c43b85626db4e768a065a1963f9 /tools/perf/scripts/python | |
| parent | 924aa1d9e0ae081cf3cb4a378e394f6074da911a (diff) | |
| download | linux-ed4a5c5de56ad4e23c9e5da8981639352b63b8ac.tar.gz linux-ed4a5c5de56ad4e23c9e5da8981639352b63b8ac.zip | |
usb: typec: class: add typec_get_data_role symbol
Alt Mode drivers are responsible for sending Enter Mode through the TCPM,
but only a DFP is allowed to send Enter Mode. typec_get_data_role gets
the port's data role, which can then be used in altmode drivers via
typec_altmode_get_data_role to know if Enter Mode should be sent.
Signed-off-by: RD Babiera <rdbabiera@google.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20250923181606.1583584-5-rdbabiera@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
