diff options
author | Prashant Malani <[email protected]> | 2020-11-16 12:11:58 -0800 |
---|---|---|
committer | Benson Leung <[email protected]> | 2021-01-05 11:07:40 -0800 |
commit | 1563090965421f7e96cc006c150180f1526a24f7 (patch) | |
tree | 967adba7511be4dec462537cfaefdac4f0188da1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | f4edab68e10119a71a9e62a7fe537685d0f41478 (diff) |
platform/chrome: cros_ec_typec: Register plug altmodes
Modify the altmode registration (and unregistration) code so that it
can be used by both partners and plugs.
Then, add code to register plug altmodes using the newly parameterized
function. Also set the number of alternate modes for the plug using the
associated Type C connector class function
typec_plug_set_num_altmodes().
Signed-off-by: Prashant Malani <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Signed-off-by: Benson Leung <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions