* [PATCH v2 0/2] Enable DisplayPort over USB Type-C on Qualcomm Eliza EVK
@ 2026-11-27 5:22 Vishnu Saini
2026-11-27 5:23 ` [PATCH v2 1/2] arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C Vishnu Saini
2026-11-27 5:23 ` [PATCH v2 2/2] usb: typec: mux: gpio-sbu: Enable optional vcc supply Vishnu Saini
0 siblings, 2 replies; 4+ messages in thread
From: Vishnu Saini @ 2026-11-27 5:22 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus,
Greg Kroah-Hartman
Cc: linux-arm-msm, devicetree, linux-usb, Vishnu Saini,
venkata.valluru, Jessica Zhang
Qualcomm Eliza EVK routes DisplayPort 0 to its USB Type-C connector
through pmic_glink. The board also uses an onsemi FSUSB43L10X
GPIO-controlled SBU mux to route the DP AUX pair according to the cable
orientation.
Add optional vcc regulator handling to the gpio-sbu-mux driver so boards
that provide a vcc-supply can power the SBU mux during probe, while
keeping existing boards without such a supply working as before. Then
enable MDSS and DP0 on Qualcomm Eliza EVK and describe the SBU mux path
needed for DisplayPort alt mode.
Tested with a DisplayPort sink on the Type-C port in both cable
orientations.
Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
---
Changes in v2:
- Add gpio-sbu-mux support for an optional vcc regulator.
- making it 2 patch series for driver vcc support and Eliza EVK DT enablement for DP over Type-C.
- Link to v1: https://lore.kernel.org/r/20261125-eliza_evk_display-v1-1-78a56df97a26@oss.qualcomm.com
---
Vishnu Saini (2):
arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C
usb: typec: mux: gpio-sbu: Enable optional vcc supply
arch/arm64/boot/dts/qcom/eliza-evk.dtsi | 49 +++++++++++++++++++++++++++++++++
drivers/usb/typec/mux/gpio-sbu-mux.c | 6 ++++
2 files changed, 55 insertions(+)
---
base-commit: 3191063649dbf7c0d0b768e1f3655e4c5fc6edb5
change-id: 20261125-eliza_evk_display-1285afd0624e
Best regards,
--
Vishnu Saini <vishnu.saini@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C
2026-11-27 5:22 [PATCH v2 0/2] Enable DisplayPort over USB Type-C on Qualcomm Eliza EVK Vishnu Saini
@ 2026-11-27 5:23 ` Vishnu Saini
2026-11-27 8:31 ` Konrad Dybcio
2026-11-27 5:23 ` [PATCH v2 2/2] usb: typec: mux: gpio-sbu: Enable optional vcc supply Vishnu Saini
1 sibling, 1 reply; 4+ messages in thread
From: Vishnu Saini @ 2026-11-27 5:23 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus,
Greg Kroah-Hartman
Cc: linux-arm-msm, devicetree, linux-usb, Vishnu Saini,
venkata.valluru, Jessica Zhang
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 board 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";
};
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] usb: typec: mux: gpio-sbu: Enable optional vcc supply
2026-11-27 5:22 [PATCH v2 0/2] Enable DisplayPort over USB Type-C on Qualcomm Eliza EVK Vishnu Saini
2026-11-27 5:23 ` [PATCH v2 1/2] arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C Vishnu Saini
@ 2026-11-27 5:23 ` Vishnu Saini
1 sibling, 0 replies; 4+ messages in thread
From: Vishnu Saini @ 2026-11-27 5:23 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus,
Greg Kroah-Hartman
Cc: linux-arm-msm, devicetree, linux-usb, Vishnu Saini,
venkata.valluru, Jessica Zhang
Some GPIO-controlled SBU muxes need their supply to be enabled before
the AUX path can be switched reliably. One such platform is Qualcomm
Eliza EVK, which uses an onsemi FSUSB43L10X mux.
Enable an optional vcc regulator during probe so boards that describe a
vcc-supply can power the mux before registering the Type-C switch and
mux devices. Keep existing designs without a vcc-supply property working
by treating the missing optional supply as success.
Return probe errors other than the absent optional supply so deferred
probe and regulator failures are still reported.
Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
---
drivers/usb/typec/mux/gpio-sbu-mux.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/usb/typec/mux/gpio-sbu-mux.c b/drivers/usb/typec/mux/gpio-sbu-mux.c
index 8a8aa7470df4..7aad3f738a5a 100644
--- a/drivers/usb/typec/mux/gpio-sbu-mux.c
+++ b/drivers/usb/typec/mux/gpio-sbu-mux.c
@@ -8,6 +8,7 @@
#include <linux/mutex.h>
#include <linux/gpio/consumer.h>
#include <linux/platform_device.h>
+#include <linux/regulator/consumer.h>
#include <linux/usb/typec_dp.h>
#include <linux/usb/typec_mux.h>
@@ -104,6 +105,7 @@ static int gpio_sbu_mux_probe(struct platform_device *pdev)
struct typec_mux_desc mux_desc = { };
struct device *dev = &pdev->dev;
struct gpio_sbu_mux *sbu_mux;
+ int ret;
sbu_mux = devm_kzalloc_obj(dev, *sbu_mux);
if (!sbu_mux)
@@ -111,6 +113,10 @@ static int gpio_sbu_mux_probe(struct platform_device *pdev)
mutex_init(&sbu_mux->lock);
+ ret = devm_regulator_get_enable_optional(dev, "vcc");
+ if (ret && ret != -ENODEV)
+ return dev_err_probe(dev, ret, "failed to enable vcc supply\n");
+
sbu_mux->enable_gpio = devm_gpiod_get_optional(dev, "enable",
GPIOD_OUT_LOW);
if (IS_ERR(sbu_mux->enable_gpio))
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C
2026-11-27 5:23 ` [PATCH v2 1/2] arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C Vishnu Saini
@ 2026-11-27 8:31 ` Konrad Dybcio
0 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2026-11-27 8:31 UTC (permalink / raw)
To: Vishnu Saini, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heikki Krogerus,
Greg Kroah-Hartman
Cc: linux-arm-msm, devicetree, linux-usb, venkata.valluru,
Jessica Zhang
On 11/27/26 6:23 AM, Vishnu Saini wrote:
> 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 board 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.
[...]
> +&mdss {
> + status = "okay";
> +};
> +
> +&mdss_dp0 {
> + status = "okay";
> };
>
Please keep the label references sorted
Konrad
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-27 8:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 5:22 [PATCH v2 0/2] Enable DisplayPort over USB Type-C on Qualcomm Eliza EVK Vishnu Saini
2026-11-27 5:23 ` [PATCH v2 1/2] arm64: dts: qcom: eliza-evk: Enable DisplayPort over USB Type-C Vishnu Saini
2026-11-27 8:31 ` Konrad Dybcio
2026-11-27 5:23 ` [PATCH v2 2/2] usb: typec: mux: gpio-sbu: Enable optional vcc supply Vishnu Saini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox