diff options
| author | 2026-01-19 13:18:23 +0000 | |
|---|---|---|
| committer | 2026-01-23 17:18:01 +0100 | |
| commit | ab2588c040fe6e87e5b1ca5a0d005cc4df14aced (patch) | |
| tree | 6bfb817e85c84ab0d63f4fbddc92a942dadc1560 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | usb: typec: Introduce mode_selection bit (diff) | |
usb: typec: ucsi: Support mode selection to activate altmodes
If the ucsi port driver supports modes selection, it should implement
`add_partner_altmodes` and `remove_partner_altmodes` ucsi operations. With
these operations the driver can manage the mode selection process.
Once partner altmodes are registered, `add_partner_altmodes` is called to
start the mode selection. When the partner is unregistered,
`remove_partner_altmodes` is supposed to stop any ongoing processes and
clean up the resources.
`typec_altmode_state_update` informes mode selection about the current mode
of the Type-C connector.
Signed-off-by: Andrei Kuchynski <akuchynski@chromium.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://patch.msgid.link/20260119131824.2529334-7-akuchynski@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
