mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Enable lt8713sx bridge with displayport for monaco-evk
@ 2026-03-18 19:08 Vishnu Saini
  2026-03-18 19:08 ` [PATCH v4 1/2] arm64: dts: qcom: monaco-evk: add lt8713sx bridge with displayport Vishnu Saini
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vishnu Saini @ 2026-03-18 19:08 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Vishnu Saini,
	prahlad.valluru, Prahlad Valluru, Dmitry Baryshkov

This series enables lt8713sx bridge and displayport on Qualcomm
monaco-evk platform.

Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
---
Changes in v4:
- Rebased on top of for-next branch.
- Renamed dp connector node and labels.
- Placed config as per savedefconfig
- Addressed review comments from: https://lore.kernel.org/r/20260317-lt8713sx_dt_for_next-v1-0-8195fa931ff1@oss.qualcomm.com
- Link to v3: https://lore.kernel.org/r/20251228-lt8713sx-bridge-linux-for-next-v3-0-3f77ad84d7d1@oss.qualcomm.com

Changes in v3:
- Used  existing qup_i2c0_data_clk as default i2c0 pinctrl and provided it's drive-strength, bias-pull-up.
- Link to v2: https://lore.kernel.org/r/20251219-lt8713sx-bridge-linux-for-next-v2-0-2e53f5490eb9@oss.qualcomm.com

Changes in v2:
- Configure DP PHY supplies and DP pinctrl
- Configure in/out ports and connectors for lt8713sx bridge
- Use correct base commit and fixed build issues 
- Link to v1: https://lore.kernel.org/r/20251120-lt8713sx-bridge-linux-for-next-v1-0-2246fc5fb490@qti.qualcomm.com

---
Vishnu Saini (2):
      arm64: dts: qcom: monaco-evk: add lt8713sx bridge with displayport
      arm64: defconfig: Enable Lontium LT8713sx driver

 arch/arm64/boot/dts/qcom/monaco-evk.dts | 89 +++++++++++++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/monaco.dtsi    |  6 +++
 arch/arm64/configs/defconfig            |  1 +
 3 files changed, 96 insertions(+)
---
base-commit: d639565b64d4781b3b36ff76b71ce1e68bda70c0
change-id: 20251120-lt8713sx-bridge-linux-for-next-30838c5a2719
prerequisite-message-id: <20260303-lt8713sx-bridge-driver-v5-0-6cc2a855aafa@oss.qualcomm.com>
prerequisite-patch-id: c5155e9804a0e30aba47c54471cf6870482d0738
prerequisite-patch-id: 44e87c690845b24fb4dd88bba67e89fcfd18048a

Best regards,
-- 
Vishnu Saini <vishnu.saini@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v4 1/2] arm64: dts: qcom: monaco-evk: add lt8713sx bridge with displayport
  2026-03-18 19:08 [PATCH v4 0/2] Enable lt8713sx bridge with displayport for monaco-evk Vishnu Saini
@ 2026-03-18 19:08 ` Vishnu Saini
  2026-03-19 10:11   ` Konrad Dybcio
  2026-03-18 19:08 ` [PATCH v4 2/2] arm64: defconfig: Enable Lontium LT8713sx driver Vishnu Saini
  2026-03-24  1:56 ` (subset) [PATCH v4 0/2] Enable lt8713sx bridge with displayport for monaco-evk Bjorn Andersson
  2 siblings, 1 reply; 6+ messages in thread
From: Vishnu Saini @ 2026-03-18 19:08 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Vishnu Saini,
	prahlad.valluru, Prahlad Valluru, Dmitry Baryshkov

Monaco-evk has LT8713sx which act as DP to 3 DP output
converter. Edp PHY from monaco soc is connected to lt8713sx
as input and output of lt8713sx is connected to 3 mini DP ports.

Two ports are available in mainboard and one port
is available on Mezz board.

lt8713sx is connected to soc over i2c0 and with reset gpio
connected to pin6 of ioexpander5.

Enable the edp nodes from monaco and enable lontium lt8713sx
bridge node.

Co-developed-by: Prahlad Valluru <vvalluru@qti.qualcomm.com>
Signed-off-by: Prahlad Valluru <vvalluru@qti.qualcomm.com>
Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/monaco-evk.dts | 89 +++++++++++++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/monaco.dtsi    |  6 +++
 2 files changed, 95 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/monaco-evk.dts b/arch/arm64/boot/dts/qcom/monaco-evk.dts
index 0b26cc334a69..0a91e421edbd 100644
--- a/arch/arm64/boot/dts/qcom/monaco-evk.dts
+++ b/arch/arm64/boot/dts/qcom/monaco-evk.dts
@@ -52,6 +52,30 @@ dmic: audio-codec-0 {
 		num-channels = <1>;
 	};
 
+	dp-connector-0 {
+		compatible = "dp-connector";
+		label = "DP0";
+		type = "mini";
+
+		port {
+			dp0_connector_in: endpoint {
+				remote-endpoint = <&lt8713sx_dp0_out>;
+			};
+		};
+	};
+
+	dp-connector-1 {
+		compatible = "dp-connector";
+		label = "DP1";
+		type = "mini";
+
+		port {
+			dp1_connector_in: endpoint {
+				remote-endpoint = <&lt8713sx_dp1_out>;
+			};
+		};
+	};
+
 	max98357a: audio-codec-1 {
 		compatible = "maxim,max98357a";
 		#sound-dai-cells = <0>;
@@ -355,6 +379,42 @@ &gpu_zap_shader {
 	firmware-name = "qcom/qcs8300/a623_zap.mbn";
 };
 
+&i2c0 {
+	status = "okay";
+
+	bridge@4f {
+		compatible = "lontium,lt8713sx";
+		reg = <0x4f>;
+		reset-gpios = <&expander5 6 GPIO_ACTIVE_LOW>;
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				lt8713sx_dp_in: endpoint {
+					remote-endpoint = <&mdss_dp0_out>;
+				};
+			};
+
+			port@1 {
+				reg = <1>;
+				lt8713sx_dp0_out: endpoint {
+					remote-endpoint = <&dp0_connector_in>;
+				};
+			};
+
+			port@2 {
+				reg = <2>;
+				lt8713sx_dp1_out: endpoint {
+					remote-endpoint = <&dp1_connector_in>;
+				};
+			};
+		};
+	};
+};
+
 &i2c1 {
 	pinctrl-0 = <&qup_i2c1_default>;
 	pinctrl-names = "default";
@@ -483,6 +543,30 @@ &iris {
 	status = "okay";
 };
 
+&mdss {
+	status = "okay";
+};
+
+&mdss_dp0 {
+	pinctrl-0 = <&dp_hot_plug_det>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+
+&mdss_dp0_out {
+	data-lanes = <0 1 2 3>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+	remote-endpoint = <&lt8713sx_dp_in>;
+};
+
+&mdss_dp0_phy {
+	vdda-phy-supply = <&vreg_l5a>;
+	vdda-pll-supply = <&vreg_l4a>;
+
+	status = "okay";
+};
+
 &pcie0 {
 	pinctrl-0 = <&pcie0_default_state>;
 	pinctrl-names = "default";
@@ -531,6 +615,11 @@ usb2_id: usb2-id-state {
 	};
 };
 
+&qup_i2c0_data_clk {
+	drive-strength = <2>;
+	bias-pull-up;
+};
+
 &qupv3_id_0 {
 	firmware-name = "qcom/qcs8300/qupv3fw.elf";
 	status = "okay";
diff --git a/arch/arm64/boot/dts/qcom/monaco.dtsi b/arch/arm64/boot/dts/qcom/monaco.dtsi
index f92fdb1cefa0..5741cdbde3f5 100644
--- a/arch/arm64/boot/dts/qcom/monaco.dtsi
+++ b/arch/arm64/boot/dts/qcom/monaco.dtsi
@@ -5893,6 +5893,12 @@ tlmm: pinctrl@f100000 {
 			#interrupt-cells = <2>;
 			wakeup-parent = <&pdc>;
 
+			dp_hot_plug_det: dp-hot-plug-det-state {
+				pins = "gpio94";
+				function = "edp0_hot";
+				bias-disable;
+			};
+
 			hs0_mi2s_active: hs0-mi2s-active-state {
 				pins = "gpio106", "gpio107", "gpio108", "gpio109";
 				function = "hs0_mi2s";

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v4 2/2] arm64: defconfig: Enable Lontium LT8713sx driver
  2026-03-18 19:08 [PATCH v4 0/2] Enable lt8713sx bridge with displayport for monaco-evk Vishnu Saini
  2026-03-18 19:08 ` [PATCH v4 1/2] arm64: dts: qcom: monaco-evk: add lt8713sx bridge with displayport Vishnu Saini
@ 2026-03-18 19:08 ` Vishnu Saini
  2026-03-24  1:56 ` (subset) [PATCH v4 0/2] Enable lt8713sx bridge with displayport for monaco-evk Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Vishnu Saini @ 2026-03-18 19:08 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Vishnu Saini, prahlad.valluru

Lontium LT8713sx DP bridge hub can be found on a Qualcomm
Monaco EVK board for converting 1 DP to 3 DP outputs.

Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 1d967a81b82a..57ea37e4d9ac 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1005,6 +1005,7 @@ CONFIG_DRM_ITE_IT6263=m
 CONFIG_DRM_LONTIUM_LT8912B=m
 CONFIG_DRM_LONTIUM_LT9611=m
 CONFIG_DRM_LONTIUM_LT9611UXC=m
+CONFIG_DRM_LONTIUM_LT8713SX=m
 CONFIG_DRM_ITE_IT66121=m
 CONFIG_DRM_NWL_MIPI_DSI=m
 CONFIG_DRM_PARADE_PS8640=m

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 1/2] arm64: dts: qcom: monaco-evk: add lt8713sx bridge with displayport
  2026-03-18 19:08 ` [PATCH v4 1/2] arm64: dts: qcom: monaco-evk: add lt8713sx bridge with displayport Vishnu Saini
@ 2026-03-19 10:11   ` Konrad Dybcio
  2026-03-23  9:20     ` Vishnu Saini
  0 siblings, 1 reply; 6+ messages in thread
From: Konrad Dybcio @ 2026-03-19 10:11 UTC (permalink / raw)
  To: Vishnu Saini, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, prahlad.valluru,
	Prahlad Valluru, Dmitry Baryshkov

On 3/18/26 8:08 PM, Vishnu Saini wrote:
> Monaco-evk has LT8713sx which act as DP to 3 DP output
> converter. Edp PHY from monaco soc is connected to lt8713sx
> as input and output of lt8713sx is connected to 3 mini DP ports.
> 
> Two ports are available in mainboard and one port
> is available on Mezz board.
> 
> lt8713sx is connected to soc over i2c0 and with reset gpio
> connected to pin6 of ioexpander5.
> 
> Enable the edp nodes from monaco and enable lontium lt8713sx
> bridge node.
> 
> Co-developed-by: Prahlad Valluru <vvalluru@qti.qualcomm.com>
> Signed-off-by: Prahlad Valluru <vvalluru@qti.qualcomm.com>
> Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---

[...]

> +			port@0 {
> +				reg = <0>;
> +				lt8713sx_dp_in: endpoint {

nit: it'd be neat to have a \n before the property and the following
subnodes

otherwise

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 1/2] arm64: dts: qcom: monaco-evk: add lt8713sx bridge with displayport
  2026-03-19 10:11   ` Konrad Dybcio
@ 2026-03-23  9:20     ` Vishnu Saini
  0 siblings, 0 replies; 6+ messages in thread
From: Vishnu Saini @ 2026-03-23  9:20 UTC (permalink / raw)
  To: Konrad Dybcio
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-arm-msm, devicetree, linux-kernel,
	prahlad.valluru, Prahlad Valluru, Dmitry Baryshkov

On Thu, Mar 19, 2026 at 11:11:20AM +0100, Konrad Dybcio wrote:
> On 3/18/26 8:08 PM, Vishnu Saini wrote:
> > Monaco-evk has LT8713sx which act as DP to 3 DP output
> > converter. Edp PHY from monaco soc is connected to lt8713sx
> > as input and output of lt8713sx is connected to 3 mini DP ports.
> > 
> > Two ports are available in mainboard and one port
> > is available on Mezz board.
> > 
> > lt8713sx is connected to soc over i2c0 and with reset gpio
> > connected to pin6 of ioexpander5.
> > 
> > Enable the edp nodes from monaco and enable lontium lt8713sx
> > bridge node.
> > 
> > Co-developed-by: Prahlad Valluru <vvalluru@qti.qualcomm.com>
> > Signed-off-by: Prahlad Valluru <vvalluru@qti.qualcomm.com>
> > Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> > ---
> 
> [...]
> 
> > +			port@0 {
> > +				reg = <0>;
> > +				lt8713sx_dp_in: endpoint {
> 
> nit: it'd be neat to have a \n before the property and the following
> subnodes

sure, will add a blank line between reg property and lt8713sx_dp endpoint subnodes in next revision.
 
> otherwise
> 
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> 
> Konrad

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: (subset) [PATCH v4 0/2] Enable lt8713sx bridge with displayport for monaco-evk
  2026-03-18 19:08 [PATCH v4 0/2] Enable lt8713sx bridge with displayport for monaco-evk Vishnu Saini
  2026-03-18 19:08 ` [PATCH v4 1/2] arm64: dts: qcom: monaco-evk: add lt8713sx bridge with displayport Vishnu Saini
  2026-03-18 19:08 ` [PATCH v4 2/2] arm64: defconfig: Enable Lontium LT8713sx driver Vishnu Saini
@ 2026-03-24  1:56 ` Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2026-03-24  1:56 UTC (permalink / raw)
  To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Vishnu Saini
  Cc: linux-arm-msm, devicetree, linux-kernel, prahlad.valluru,
	Prahlad Valluru, Dmitry Baryshkov


On Thu, 19 Mar 2026 00:38:18 +0530, Vishnu Saini wrote:
> This series enables lt8713sx bridge and displayport on Qualcomm
> monaco-evk platform.
> 
> 

Applied, thanks!

[1/2] arm64: dts: qcom: monaco-evk: add lt8713sx bridge with displayport
      commit: fbe9b798a54a2fefb9345cf546ad74c24577337a

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-24  1:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-18 19:08 [PATCH v4 0/2] Enable lt8713sx bridge with displayport for monaco-evk Vishnu Saini
2026-03-18 19:08 ` [PATCH v4 1/2] arm64: dts: qcom: monaco-evk: add lt8713sx bridge with displayport Vishnu Saini
2026-03-19 10:11   ` Konrad Dybcio
2026-03-23  9:20     ` Vishnu Saini
2026-03-18 19:08 ` [PATCH v4 2/2] arm64: defconfig: Enable Lontium LT8713sx driver Vishnu Saini
2026-03-24  1:56 ` (subset) [PATCH v4 0/2] Enable lt8713sx bridge with displayport for monaco-evk Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®