]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: Add display support for QCS615 RIDE board
authorLi Liu <li.liu@oss.qualcomm.com>
Wed, 3 Sep 2025 10:49:29 +0000 (18:49 +0800)
committerBjorn Andersson <andersson@kernel.org>
Wed, 29 Oct 2025 16:57:52 +0000 (11:57 -0500)
Add display MDSS and DSI configuration for QCS615 RIDE board.
QCS615 has a DP port, and DP support will be added in a later patch.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Li Liu <li.liu@oss.qualcomm.com>
Signed-off-by: Fange Zhang <fange.zhang@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250903-add-display-support-for-qcs615-platform-v8-2-7971c05d1262@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcs615-ride.dts

index 7a0a0cb29fef1472c7010c8b96601356f26411fb..be67eb173046f9e4ac58157f282c3af41e53d374 100644 (file)
                };
        };
 
+       dp-dsi0-connector {
+               compatible = "dp-connector";
+               label = "DSI0";
+               type = "mini";
+
+               port {
+                       dp_dsi0_connector_in: endpoint {
+                               remote-endpoint = <&dsi2dp_bridge_out>;
+                       };
+               };
+       };
+
        vreg_conn_1p8: regulator-conn-1p8 {
                compatible = "regulator-fixed";
                regulator-name = "vreg_conn_1p8";
                regulator-always-on;
        };
 
+       vreg_12p0: regulator-vreg-12p0 {
+               compatible = "regulator-fixed";
+               regulator-name = "VREG_12P0";
+
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <12000000>;
+               regulator-max-microvolt = <12000000>;
+       };
+
+       vreg_1p0: regulator-vreg-1p0 {
+               compatible = "regulator-fixed";
+               regulator-name = "VREG_1P0";
+
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <1000000>;
+               regulator-max-microvolt = <1000000>;
+
+               vin-supply = <&vreg_1p8>;
+       };
+
+       vreg_1p8: regulator-vreg-1p8 {
+               compatible = "regulator-fixed";
+               regulator-name = "VREG_1P8";
+
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+
+               vin-supply = <&vreg_5p0>;
+       };
+
+       vreg_3p0: regulator-vreg-3p0 {
+               compatible = "regulator-fixed";
+               regulator-name = "VREG_3P0";
+
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <3000000>;
+               regulator-max-microvolt = <3000000>;
+
+               vin-supply = <&vreg_12p0>;
+       };
+
+       vreg_5p0: regulator-vreg-5p0 {
+               compatible = "regulator-fixed";
+               regulator-name = "VREG_5P0";
+
+               regulator-always-on;
+               regulator-boot-on;
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+
+               vin-supply = <&vreg_12p0>;
+       };
+
        wcn6855-pmu {
                compatible = "qcom,wcn6855-pmu";
 
        };
 };
 
+&i2c2 {
+       clock-frequency = <400000>;
+       status = "okay";
+
+       io_expander: pinctrl@3e {
+               compatible = "semtech,sx1509q";
+               reg = <0x3e>;
+               interrupts-extended = <&tlmm 58 IRQ_TYPE_EDGE_FALLING>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+               semtech,probe-reset;
+       };
+
+       i2c-mux@77 {
+               compatible = "nxp,pca9542";
+               reg = <0x77>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               i2c@0 {
+                       reg = <0>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       bridge@58 {
+                               compatible = "analogix,anx7625";
+                               reg = <0x58>;
+                               interrupts-extended = <&io_expander 0 IRQ_TYPE_EDGE_FALLING>;
+                               enable-gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
+                               reset-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
+                               vdd10-supply = <&vreg_1p0>;
+                               vdd18-supply = <&vreg_1p8>;
+                               vdd33-supply = <&vreg_3p0>;
+
+                               ports {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
+                                       port@0 {
+                                               reg = <0>;
+
+                                               dsi2dp_bridge_in: endpoint {
+                                                       remote-endpoint = <&mdss_dsi0_out>;
+                                               };
+                                       };
+
+                                       port@1 {
+                                               reg = <1>;
+
+                                               dsi2dp_bridge_out: endpoint {
+                                                       remote-endpoint = <&dp_dsi0_connector_in>;
+                                               };
+                                       };
+                               };
+                       };
+               };
+       };
+};
+
+&mdss {
+       status = "okay";
+};
+
+&mdss_dsi0 {
+       vdda-supply = <&vreg_l11a>;
+       status = "okay";
+};
+
+&mdss_dsi0_out {
+       remote-endpoint = <&dsi2dp_bridge_in>;
+       data-lanes = <0 1 2 3>;
+};
+
+&mdss_dsi0_phy {
+       vcca-supply = <&vreg_l5a>;
+       status = "okay";
+};
+
 &pcie {
        perst-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
        wake-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>;