diff options
| author | Oliver Facklam <oliver.facklam@zuehlke.com> | 2024-12-11 17:32:47 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-24 08:56:04 +0100 |
| commit | 6fdc943251865979c995798b6b246ffa8381f2dc (patch) | |
| tree | a2b3bec722dda160b6dad08c3e0bb7d86a597bca /scripts/mod | |
| parent | usb: typec: hd3ss3220: support configuring port type (diff) | |
| download | linux-6fdc943251865979c995798b6b246ffa8381f2dc.tar.gz linux-6fdc943251865979c995798b6b246ffa8381f2dc.zip | |
usb: typec: hd3ss3220: support configuring role preference based on fwnode property and typec_operation
The TI HD3SS3220 Type-C controller supports configuring
its role preference when operating as a dual-role port
through the SOURCE_PREF field of the General Control Register.
The previous driver behavior was to set the role preference
based on the dr_set typec_operation.
However, the controller does not support swapping the data role
on an active connection due to its lack of Power Delivery support.
Remove previous dr_set typec_operation, and support setting
the role preference based on the corresponding fwnode property,
as well as the try_role typec_operation.
Signed-off-by: Oliver Facklam <oliver.facklam@zuehlke.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20241211-usb-typec-controller-enhancements-v3-3-e4bc1b6e1441@zuehlke.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions
