summaryrefslogtreecommitdiff
path: root/include/linux/fs_stack.h
diff options
context:
space:
mode:
authorAndrei Kuchynski <akuchynski@chromium.org>2026-01-19 13:18:21 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-23 17:18:01 +0100
commitfb2abc754672f769ca0bc36bdeb3c2f81927f446 (patch)
tree666df420712f89bade51e112dda0958f3c6afb01 /include/linux/fs_stack.h
parent027b304ca3f6989f6946b5b3bcc727cf3f54774f (diff)
usb: typec: Implement mode selection
The mode selection process is controlled by the following API functions, which allow to initiate and complete mode entry based on the priority of each mode: `typec_mode_selection_start` function compiles a priority list of supported Alternate Modes. `typec_altmode_state_update` function is invoked by the port driver to communicate the current mode of the Type-C connector. `typec_mode_selection_delete` function stops the currently running mode selection process and releases all associated system resources. `mode_selection_work_fn` task attempts to activate modes. The process stops on success; otherwise, it proceeds to the next mode after a timeout or error. Signed-off-by: Andrei Kuchynski <akuchynski@chromium.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://patch.msgid.link/20260119131824.2529334-5-akuchynski@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fs_stack.h')
0 files changed, 0 insertions, 0 deletions