* [PATCH] arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C
@ 2026-11-25 8:42 Vishnu Saini
2026-11-25 8:57 ` sashiko-bot
0 siblings, 1 reply; 3+ messages in thread
From: Vishnu Saini @ 2026-11-25 8:42 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, venkata.valluru, Jessica Zhang,
Vishnu Saini
The EVK routes DP0 to a USB Type-C connector driven by pmic_glink.
Enable MDSS and DP0, and describe the SBU path needed for DP alt mode.
An onsemi FSUSB43L10X on the EVK carrier card routes the DP AUX pair
to the connector. Model it as a gpio-sbu-mux, with enable on TLMM 177,
select on TLMM 178, and L17B as its supply.
Wire the pmic_glink SBU port to the mux and mark it as both a mode and
orientation switch, so AUX follows the cable orientation.
Tested with a DP sink on the Type-C port in both cable orientations.
Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/eliza-evk.dtsi | 49 +++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
index 02e58a4bc91d..8c663ef6718d 100644
--- a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
+++ b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
@@ -61,6 +61,35 @@ pmic_glink_ss_in: endpoint {
remote-endpoint = <&usb_dp_qmpphy_out>;
};
};
+
+ port@2 {
+ reg = <2>;
+
+ pmic_glink_sbu: endpoint {
+ remote-endpoint = <&sbu_mux_in>;
+ };
+ };
+ };
+ };
+ };
+
+ sbu_mux: sbu-mux {
+ compatible = "onnn,fsusb43l10x", "gpio-sbu-mux";
+
+ enable-gpios = <&tlmm 177 GPIO_ACTIVE_LOW>;
+ select-gpios = <&tlmm 178 GPIO_ACTIVE_HIGH>;
+
+ vcc-supply = <&vreg_l17b>;
+
+ pinctrl-0 = <&sbu_mux_en_state>, <&sbu_mux_sel_state>;
+ pinctrl-names = "default";
+
+ mode-switch;
+ orientation-switch;
+
+ port {
+ sbu_mux_in: endpoint {
+ remote-endpoint = <&pmic_glink_sbu>;
};
};
};
@@ -491,4 +520,24 @@ m2_w_disable1: m2-w-disable1-state {
drive-strength = <2>;
bias-pull-up;
};
+
+ sbu_mux_en_state: sbu-mux-en-state {
+ pins = "gpio177";
+ function = "gpio";
+ bias-disable;
+ };
+
+ sbu_mux_sel_state: sbu-mux-sel-state {
+ pins = "gpio178";
+ function = "gpio";
+ bias-disable;
+ };
+};
+
+&mdss {
+ status = "okay";
+};
+
+&mdss_dp0 {
+ status = "okay";
};
---
base-commit: 3191063649dbf7c0d0b768e1f3655e4c5fc6edb5
change-id: 20261125-eliza_evk_display-1285afd0624e
Best regards,
--
Vishnu Saini <vishnu.saini@oss.qualcomm.com>
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C
2026-11-25 8:42 [PATCH] arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C Vishnu Saini
@ 2026-11-25 8:57 ` sashiko-bot
2026-11-26 12:31 ` Vishnu Saini
0 siblings, 1 reply; 3+ messages in thread
From: sashiko-bot @ 2026-11-25 8:57 UTC (permalink / raw)
To: Vishnu Saini; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] usb: typec: gpio-sbu-mux: vcc-supply not enabled in
gpio_sbu_mux_probe()
--
commit af0d0775b3f67c8bf2ee5b677ffafbfe4186fe02
Author: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C
This commit enables MDSS and DP0 on the Eliza EVK and describes the
onsemi FSUSB43L10X SBU mux and its pmic_glink connector endpoint for
DisplayPort over USB Type-C.
> diff --git a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
> index 02e58a4bc91d4..8c663ef6718d2 100644
> --- a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
> +++ b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
> @@ -61,6 +61,35 @@ pmic_glink_ss_in: endpoint {
> remote-endpoint = <&usb_dp_qmpphy_out>;
> };
> };
> +
> + port@2 {
> + reg = <2>;
> +
> + pmic_glink_sbu: endpoint {
> + remote-endpoint = <&sbu_mux_in>;
> + };
> + };
> + };
> + };
> + };
> +
> + sbu_mux: sbu-mux {
> + compatible = "onnn,fsusb43l10x", "gpio-sbu-mux";
> +
> + enable-gpios = <&tlmm 177 GPIO_ACTIVE_LOW>;
> + select-gpios = <&tlmm 178 GPIO_ACTIVE_HIGH>;
> +
> + vcc-supply = <&vreg_l17b>;
[Severity: Medium]
Will vreg_l17b stay powered for sbu_mux when the eUSB2 repeater is not
active?
gpio_sbu_mux_probe() in drivers/usb/typec/mux/gpio-sbu-mux.c only acquires
enable-gpios and select-gpios and never requests or enables vcc-supply.
Because vreg_l17b is not marked regulator-always-on in
eliza-cqs-som.dtsi, its only active consumer is pm7550ba_eusb2_repeater;
if usb_hsphy exits via eusb2_repeater_exit(), vreg_l17b is disabled and
the FSUSB43L10X SBU mux loses power, breaking DisplayPort AUX.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261125-eliza_evk_display-v1-1-78a56df97a26@oss.qualcomm.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C
2026-11-25 8:57 ` sashiko-bot
@ 2026-11-26 12:31 ` Vishnu Saini
0 siblings, 0 replies; 3+ messages in thread
From: Vishnu Saini @ 2026-11-26 12:31 UTC (permalink / raw)
To: sashiko-reviews; +Cc: devicetree, robh, conor+dt
On Wed, Nov 25, 2026 at 08:57:13AM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue to consider:
> - [Medium] usb: typec: gpio-sbu-mux: vcc-supply not enabled in
> gpio_sbu_mux_probe()
> --
>
> commit af0d0775b3f67c8bf2ee5b677ffafbfe4186fe02
> Author: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
>
> arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C
>
> This commit enables MDSS and DP0 on the Eliza EVK and describes the
> onsemi FSUSB43L10X SBU mux and its pmic_glink connector endpoint for
> DisplayPort over USB Type-C.
>
> > diff --git a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
> > index 02e58a4bc91d4..8c663ef6718d2 100644
> > --- a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
> > @@ -61,6 +61,35 @@ pmic_glink_ss_in: endpoint {
> > remote-endpoint = <&usb_dp_qmpphy_out>;
> > };
> > };
> > +
> > + port@2 {
> > + reg = <2>;
> > +
> > + pmic_glink_sbu: endpoint {
> > + remote-endpoint = <&sbu_mux_in>;
> > + };
> > + };
> > + };
> > + };
> > + };
> > +
> > + sbu_mux: sbu-mux {
> > + compatible = "onnn,fsusb43l10x", "gpio-sbu-mux";
> > +
> > + enable-gpios = <&tlmm 177 GPIO_ACTIVE_LOW>;
> > + select-gpios = <&tlmm 178 GPIO_ACTIVE_HIGH>;
> > +
> > + vcc-supply = <&vreg_l17b>;
>
> [Severity: Medium]
> Will vreg_l17b stay powered for sbu_mux when the eUSB2 repeater is not
> active?
>
> gpio_sbu_mux_probe() in drivers/usb/typec/mux/gpio-sbu-mux.c only acquires
> enable-gpios and select-gpios and never requests or enables vcc-supply.
> Because vreg_l17b is not marked regulator-always-on in
> eliza-cqs-som.dtsi, its only active consumer is pm7550ba_eusb2_repeater;
> if usb_hsphy exits via eusb2_repeater_exit(), vreg_l17b is disabled and
> the FSUSB43L10X SBU mux loses power, breaking DisplayPort AUX.
Thanks for the review. As per the Eliza EVK schematic, the FSUSB43L10X VCC (FSUSB_VCC) is tied to
VREG_L17B_3P104 so vcc-supply = <&vreg_l17b> accurately describes the hardware. You're right that
gpio_sbu_mux_probe() doesn't acquire or enable vcc-supply, so the rail is not held by this consumer and could be disabled
when the eUSB2 repeater releases it. That is a limitation of the gpio-sbu-mux driver, not of this DTS patch. I'll address
it separately from driver to enable its optional vcc-supply. The DTS description stays as is.
I will add this in v2 in another commit, Bindings already defined this as optional, let me know otherwise or
if this needs to go in a different tree.
+ ret = devm_regulator_get_enable_optional(dev, "vcc");
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to enable vcc supply\n");
> --
> Sashiko AI review · https://sashiko.dev/#/patchset/20261125-eliza_evk_display-v1-1-78a56df97a26@oss.qualcomm.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-26 12:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 8:42 [PATCH] arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C Vishnu Saini
2026-11-25 8:57 ` sashiko-bot
2026-11-26 12:31 ` Vishnu Saini
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.