Re: [PATCH v4 0/2] USB Type-C mode selection
From: Tzung-Bi Shih
Date: Thu Nov 05 2026 - 21:32:15 EST
On Thu, Nov 05, 2026 at 03:59:04PM +0000, Andrei Kuchynski wrote:
> This patch series introduces priority-based alternate mode selection
> support for cros_ec_typec.
> The base patch series and UCSI support was submitted here:
> https://lore.kernel.org/all/20260119131824.2529334-1-akuchynski@xxxxxxxxxxxx/
>
> When AP-driven alternate mode selection is active, the driver enforces the
> mode_selection bit for each registered Alternate Mode. This blocks
> individual altmode drivers from self-activating. Once registration
> completes, the driver evaluates USB4 capability. If USB4 is unsupported,
> it falls back to priority-based negotiation via typec_mode_selection_start.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next
[1/2] platform/chrome: cros_ec_typec: Enforce priority-based mode selection
commit: 8dd5100e565ea8a89ef20b2a3512e6b31be9356b
[2/2] platform/chrome: cros_ec_typec: Reorder altmode registration
commit: 2d234d566e1fb434fbff7827872a3da7aa8064c1
Thanks!