diff options
| author | Kyle Tso <[email protected]> | 2023-08-01 00:21:59 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-08-04 14:47:02 +0200 |
| commit | 40f362ffa5e9ddf413825c99e9121db0ab59301f (patch) | |
| tree | 2d47d777f4dedb3c9cf8f375b90af691e7ca4e7b /tools/perf/scripts/python | |
| parent | f2e5812fb4fb2bef665bd86dc579b292faae2029 (diff) | |
usb: typec: tcpm: Refactor the PPS APDO selection
In current design of the PPS APDO selection, TCPM power supply only
accepts the requested voltage which is inside the range of the selected
PPS profile. To extend the flexibility and usability, remove the checks
about the voltage range in current profile. And try to search all PPS
APDOs of the Source that fit the requested voltage.
Also remove some redundant checks in tcpm_pd_build_pps_request.
Signed-off-by: Kyle Tso <[email protected]>
Acked-by: Heikki Krogerus <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions