diff options
| author | Oliver Facklam <oliver.facklam@zuehlke.com> | 2024-12-11 19:32:47 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-24 10:56:04 +0300 |
| commit | 6fdc943251865979c995798b6b246ffa8381f2dc (patch) | |
| tree | a2b3bec722dda160b6dad08c3e0bb7d86a597bca /scripts | |
| parent | 5d2c32d506d89a4f657b44b74c61b8f74ba1a23a (diff) | |
| download | linux-6fdc943251865979c995798b6b246ffa8381f2dc.tar.xz | |
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')
0 files changed, 0 insertions, 0 deletions
