From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
To: Joonhoe Kim <26rote@gmail.com>
Cc: gregkh@linuxfoundation.org, neil.armstrong@linaro.org,
linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb: typec: mux: fsa4480: Keep the USB 2.0 switch on in DP-only modes
Date: Mon, 26 Oct 2026 14:20:51 +0100 [thread overview]
Message-ID: <at9Ts6lDS7yWuAMK@black.igk.intel.com> (raw)
In-Reply-To: <20261022165143.1327-1-26rote@gmail.com>
On Fri, Oct 23, 2026 at 01:51:43AM +0900, Joonhoe Kim wrote:
> DisplayPort pin assignments C and E give all four SuperSpeed lanes to
> DisplayPort, but the USB 2.0 D+/D- pair is not part of the pin
> assignment and stays available. The FSA4480 sits on that pair, and in
> these modes the driver turns its USB switch off, so a USB 2.0 hub or
> device behind a DisplayPort sink is disconnected as soon as the
> DisplayPort mode is set.
>
> Configure the USB switch the same way in all DisplayPort modes.
>
> Fixes: c7054c31c1c9 ("usb: typec: fsa4480: rework mux & switch setup to handle more states")
> Signed-off-by: Joonhoe Kim <26rote@gmail.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
> Tested on a Lenovo Y700 Gen 5 (TB323FU, Kaanapali; out-of-tree board
> support) with a USB-C monitor in pin assignment C: its USB 2.0 hub was
> disconnected when the mux was set; with this change the hub and the
> keyboard behind it stay connected.
>
> drivers/usb/typec/mux/fsa4480.c | 9 +--------
> 1 file changed, 1 insertion(+), 8 deletions(-)
>
> diff --git a/drivers/usb/typec/mux/fsa4480.c b/drivers/usb/typec/mux/fsa4480.c
> index bea0c1deec94..e05ab3c10c81 100644
> --- a/drivers/usb/typec/mux/fsa4480.c
> +++ b/drivers/usb/typec/mux/fsa4480.c
> @@ -93,16 +93,9 @@ static int fsa4480_set(struct fsa4480 *fsa)
> sel = FSA4480_SEL_USB;
> } else if (fsa->svid) {
> switch (fsa->mode) {
> - /* DP Only */
> case TYPEC_DP_STATE_C:
> - case TYPEC_DP_STATE_E:
> - enable |= FSA4480_ENABLE_SBU;
> - if (reverse)
> - sel = FSA4480_SEL_SBU_REVERSE;
> - break;
> -
> - /* DP + USB */
> case TYPEC_DP_STATE_D:
> + case TYPEC_DP_STATE_E:
> case TYPEC_DP_STATE_F:
> enable |= FSA4480_ENABLE_USB | FSA4480_ENABLE_SBU;
> sel = FSA4480_SEL_USB;
>
> base-commit: 2efb7a11f1aa4d2dc285fe2680cca22cb9f72f64
> --
> 2.43.0
--
heikki
prev parent reply other threads:[~2026-10-26 13:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 16:51 [PATCH] usb: typec: mux: fsa4480: Keep the USB 2.0 switch on in DP-only modes Joonhoe Kim
2026-10-22 16:54 ` sashiko-bot
2026-10-23 8:01 ` Konrad Dybcio
2026-10-26 13:20 ` Heikki Krogerus [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=at9Ts6lDS7yWuAMK@black.igk.intel.com \
--to=heikki.krogerus@linux.intel.com \
--cc=26rote@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.