mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: eliza-evk: Add DSI2HDMI bridge and HDMI output
@ 2026-12-01  8:19 Krzysztof Kozlowski
  2026-12-01 13:33 ` Konrad Dybcio
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-12-01  8:19 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree
  Cc: linux-kernel, Krzysztof Kozlowski

Add the DSI2HDMI bridge and HDMI output for Eliza EVK board. Note that
DSI2HDMI is an hat, which could be missing in some setups, and it also
requires matching TZ firmware (meta) configuring the GENIQUP8 to I2C
mode.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

---

DT bindings for lt9611c compatible used here (not yet merged):
https://lore.kernel.org/all/20261201-lt9611c-v7-v20-0-fbe0e5581b4f@oss.qualcomm.com/
---
 arch/arm64/boot/dts/qcom/eliza-evk.dtsi | 127 ++++++++++++++++++++++++
 1 file changed, 127 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
index 02e58a4bc91d..069df6e0044b 100644
--- a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
+++ b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi
@@ -27,6 +27,17 @@ key-volume-up {
 		};
 	};
 
+	hdmi-0-connector {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_0_connector_in: endpoint {
+				remote-endpoint = <&lt9611_out>;
+			};
+		};
+	};
+
 	pmic-glink {
 		compatible = "qcom,eliza-pmic-glink",
 			     "qcom,sm8550-pmic-glink",
@@ -209,6 +220,81 @@ gpio_expander1: gpio@3c {
 	};
 };
 
+&i2c8 {
+	clock-frequency = <400000>;
+
+	status = "okay";
+
+	lt9611_codec: hdmi-bridge@41 {
+		compatible = "lontium,lt9611uxd";
+		reg = <0x41>;
+
+		interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;
+		reset-gpios = <&tlmm 16 GPIO_ACTIVE_HIGH>;
+
+		vdd-supply = <&vph_pwr>;
+		vcc-supply = <&vreg_l7b>;
+
+		pinctrl-0 = <&lt9611_default>;
+		pinctrl-names = "default";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+
+				lt9611_a: endpoint {
+					remote-endpoint = <&mdss_dsi0_out>;
+				};
+			};
+
+			port@2 {
+				reg = <2>;
+
+				lt9611_out: endpoint {
+					remote-endpoint = <&hdmi_0_connector_in>;
+				};
+			};
+		};
+	};
+};
+
+&mdss {
+	status = "okay";
+};
+
+&mdss_dp0 {
+	pinctrl-0 = <&usb_dp_sw_active>;
+	pinctrl-1 = <&usb_dp_sw_sleep>;
+	pinctrl-names = "default", "sleep";
+
+	status = "okay";
+};
+
+&mdss_dp0_out {
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+};
+
+&mdss_dsi0 {
+	vdda-supply = <&vreg_l4b>;
+
+	status = "okay";
+};
+
+&mdss_dsi0_out {
+	remote-endpoint = <&lt9611_a>;
+	data-lanes = <0 1 2 3>;
+};
+
+&mdss_dsi0_phy {
+	vdds-supply = <&vreg_l2b>;
+
+	status = "okay";
+};
+
+
 &lpass_vamacro {
 	pinctrl-0 = <&dmic01_default>, <&dmic23_default>,
 		    <&dmic45_default>, <&dmic67_default>;
@@ -323,6 +409,21 @@ right_spkr: speaker@0,1 {
 };
 
 &tlmm {
+	lt9611_default: lt9611-state {
+		irq-pins {
+			pins = "gpio13";
+			function = "gpio";
+			bias-disable;
+		};
+
+		rst-pins {
+			pins = "gpio16";
+			function = "gpio";
+
+			output-high;
+		};
+	};
+
 	sd_cd: sd-cd-state {
 		pins = "gpio58";
 		function = "gpio";
@@ -342,6 +443,32 @@ spkr_2_sd_n_active: spkr-2-sd-n-active-state {
 		drive-strength = <16>;
 		bias-disable;
 	};
+
+	usb_dp_sw_active: usb-dp-sw-active-state {
+		pins = "gpio177", "gpio178";
+		function = "gpio";
+		drive-strength = <8>;
+		bias-disable;
+		output-high;
+	};
+
+	usb_dp_sw_sleep: usb-dp-sw-sleep-state {
+		usb-dp-sw-en-pins {
+			pins = "gpio177";
+			function = "gpio";
+			drive-strength = <8>;
+			bias-disable;
+			output-high;
+		};
+
+		usb-dp-sw-sel-pins {
+			pins = "gpio178";
+			function = "gpio";
+			drive-strength = <8>;
+			bias-disable;
+			output-low;
+		};
+	};
 };
 
 &pcie1 {
-- 
2.53.0


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

* Re: [PATCH] arm64: dts: qcom: eliza-evk: Add DSI2HDMI bridge and HDMI output
  2026-12-01  8:19 [PATCH] arm64: dts: qcom: eliza-evk: Add DSI2HDMI bridge and HDMI output Krzysztof Kozlowski
@ 2026-12-01 13:33 ` Konrad Dybcio
  2026-12-02 11:09   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Konrad Dybcio @ 2026-12-01 13:33 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
	devicetree
  Cc: linux-kernel

On 12/1/26 9:19 AM, Krzysztof Kozlowski wrote:
> Add the DSI2HDMI bridge and HDMI output for Eliza EVK board. Note that
> DSI2HDMI is an hat, which could be missing in some setups, and it also
> requires matching TZ firmware (meta) configuring the GENIQUP8 to I2C
> mode.

Should this be a mezzanine dtbo?

> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> 
> ---

[...]


> +	hdmi-0-connector {

Is there more than one?

[...]

> +&mdss_dsi0_phy {
> +	vdds-supply = <&vreg_l2b>;
> +
> +	status = "okay";
> +};
> +
> +
>  &lpass_vamacro {

Stray \n


>  	pinctrl-0 = <&dmic01_default>, <&dmic23_default>,
>  		    <&dmic45_default>, <&dmic67_default>;
> @@ -323,6 +409,21 @@ right_spkr: speaker@0,1 {
>  };
>  
>  &tlmm {
> +	lt9611_default: lt9611-state {
> +		irq-pins {
> +			pins = "gpio13";
> +			function = "gpio";
> +			bias-disable;
> +		};
> +
> +		rst-pins {
> +			pins = "gpio16";
> +			function = "gpio";
> +
> +			output-high;

Stray \n above, but I'd rather you drop output-high since it's probably
unnecessary anyway


> +		};
> +	};
> +
>  	sd_cd: sd-cd-state {
>  		pins = "gpio58";
>  		function = "gpio";
> @@ -342,6 +443,32 @@ spkr_2_sd_n_active: spkr-2-sd-n-active-state {
>  		drive-strength = <16>;
>  		bias-disable;
>  	};
> +
> +	usb_dp_sw_active: usb-dp-sw-active-state {
> +		pins = "gpio177", "gpio178";
> +		function = "gpio";
> +		drive-strength = <8>;
> +		bias-disable;
> +		output-high;

And likewise this this and the below hardcoded outputs

Konrad

> +	};
> +
> +	usb_dp_sw_sleep: usb-dp-sw-sleep-state {
> +		usb-dp-sw-en-pins {
> +			pins = "gpio177";
> +			function = "gpio";
> +			drive-strength = <8>;
> +			bias-disable;
> +			output-high;
> +		};
> +
> +		usb-dp-sw-sel-pins {
> +			pins = "gpio178";
> +			function = "gpio";
> +			drive-strength = <8>;
> +			bias-disable;
> +			output-low;
> +		};
> +	};
>  };
>  
>  &pcie1 {

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

* Re: [PATCH] arm64: dts: qcom: eliza-evk: Add DSI2HDMI bridge and HDMI output
  2026-12-01 13:33 ` Konrad Dybcio
@ 2026-12-02 11:09   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-12-02 11:09 UTC (permalink / raw)
  To: Konrad Dybcio, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm,
	devicetree
  Cc: linux-kernel

On 01/12/2026 14:33, Konrad Dybcio wrote:
> On 12/1/26 9:19 AM, Krzysztof Kozlowski wrote:
>> Add the DSI2HDMI bridge and HDMI output for Eliza EVK board. Note that
>> DSI2HDMI is an hat, which could be missing in some setups, and it also
>> requires matching TZ firmware (meta) configuring the GENIQUP8 to I2C
>> mode.
> 
> Should this be a mezzanine dtbo?

Honestly, don't know. The board has addons, so in-theory yes, but in
practice I could not find any documentation showing some choices of
different variants.

I propose to have it as in DTS till the first need of mezzanine appears.

> 
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
>>
>> ---
> 
> [...]
> 
> 
>> +	hdmi-0-connector {
> 
> Is there more than one?

Yes, there is native HDMI, which I sent some time ago as RFC. I will
respin it, but I hope to get some confirmation of testing platform first.

> 
> [...]
> 
>> +&mdss_dsi0_phy {
>> +	vdds-supply = <&vreg_l2b>;
>> +
>> +	status = "okay";
>> +};
>> +
>> +
>>  &lpass_vamacro {
> 
> Stray \n

ack

> 
> 
>>  	pinctrl-0 = <&dmic01_default>, <&dmic23_default>,
>>  		    <&dmic45_default>, <&dmic67_default>;
>> @@ -323,6 +409,21 @@ right_spkr: speaker@0,1 {
>>  };
>>  
>>  &tlmm {
>> +	lt9611_default: lt9611-state {
>> +		irq-pins {
>> +			pins = "gpio13";
>> +			function = "gpio";
>> +			bias-disable;
>> +		};
>> +
>> +		rst-pins {
>> +			pins = "gpio16";
>> +			function = "gpio";
>> +
>> +			output-high;
> 
> Stray \n above, but I'd rather you drop output-high since it's probably
> unnecessary anyway

ack

> 
> 
>> +		};
>> +	};
>> +
>>  	sd_cd: sd-cd-state {
>>  		pins = "gpio58";
>>  		function = "gpio";
>> @@ -342,6 +443,32 @@ spkr_2_sd_n_active: spkr-2-sd-n-active-state {
>>  		drive-strength = <16>;
>>  		bias-disable;
>>  	};
>> +
>> +	usb_dp_sw_active: usb-dp-sw-active-state {
>> +		pins = "gpio177", "gpio178";
>> +		function = "gpio";
>> +		drive-strength = <8>;
>> +		bias-disable;
>> +		output-high;
> 
> And likewise this this and the below hardcoded outputs
> 
> Konrad


Best regards,
Krzysztof

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

end of thread, other threads:[~2026-12-02 11:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01  8:19 [PATCH] arm64: dts: qcom: eliza-evk: Add DSI2HDMI bridge and HDMI output Krzysztof Kozlowski
2026-12-01 13:33 ` Konrad Dybcio
2026-12-02 11:09   ` Krzysztof Kozlowski

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®