summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco@wolfvision.net>2023-12-14 17:29:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-02 14:41:29 +0100
commitd49f90822015ad9c8837717e6b5967c8748626df (patch)
tree30c164eb9c1224a402d9f21d76649d547ee6e716 /tools/perf/scripts/python
parent961410c9e8534d3c6f347c04cacf50bc5c002a3f (diff)
usb: typec: tipd: add init and reset functions to tipd_data
The current implementation includes a number of special cases for the tps25750. Nevertheless, init and reset functions can be generalized by adding function pointers to the tipd_data structure in order to offer that functionality to other parts without additional conditional clauses. Some functionality like the cold reset request (GAID) is shared by the tps25750 and the tps6598x, so they can use the same reset function. Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20231207-tps6598x_update-v2-1-f3cfcde6d890@wolfvision.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions