arm64: dts: qcom: sm8450-hdk: Enable HDMI Display
authorVinod Koul <vkoul@kernel.org>
Wed, 7 Dec 2022 01:28:03 +0000 (03:28 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 28 Dec 2022 16:54:40 +0000 (10:54 -0600)
Add the HDMI display nodes and link it to DSI.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221207012803.114959-6-dmitry.baryshkov@linaro.org
arch/arm64/boot/dts/qcom/sm8450-hdk.dts

index 3f871c0564797cd22587214091f5ab1a8d4417d9..d1b4a6d294e8e9752e343cfdde6c1069b69e5e7f 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       hdmi-out {
+               compatible = "hdmi-connector";
+               type = "a";
+
+               port {
+                       hdmi_connector_out: endpoint {
+                               remote-endpoint = <&lt9611_out>;
+                       };
+               };
+       };
+
        lt9611_1v2: lt9611-vdd12-regulator {
                compatible = "regulator-fixed";
                regulator-name = "LT9611_1V2";
 
                pinctrl-names = "default";
                pinctrl-0 = <&lt9611_irq_pin &lt9611_rst_pin>;
+
+               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_connector_out>;
+                               };
+                       };
+               };
        };
 };
 
        status = "okay";
 };
 
+&mdss_dsi0_out {
+       remote-endpoint = <&lt9611_a>;
+       data-lanes = <0 1 2 3>;
+};
+
 &mdss_dsi0_phy {
        vdds-supply = <&vreg_l5b_0p88>;
        status = "okay";