arm64: dts: qcom: sa8775p-ride: add anx7625 DSI to DP bridge nodes

Add anx7625 DSI to DP bridge device nodes.

Signed-off-by: Ayushi Makhija <quic_amakhija@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250604071851.1438612-3-quic_amakhija@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Ayushi Makhija
2025-06-04 12:48:51 +05:30
committed by Bjorn Andersson
parent 73db32b01c
commit ec04e5b4a1

View File

@@ -28,6 +28,64 @@ chosen {
stdout-path = "serial0:115200n8";
};
vreg_12p0: vreg-12p0-regulator {
compatible = "regulator-fixed";
regulator-name = "VREG_12P0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
};
vreg_5p0: vreg-5p0-regulator {
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>;
};
vreg_1p8: vreg-1p8-regulator {
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_1p0: vreg-1p0-regulator {
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_3p0: vreg-3p0-regulator {
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_conn_1p8: vreg_conn_1p8 {
compatible = "regulator-fixed";
regulator-name = "vreg_conn_1p8";
@@ -128,6 +186,30 @@ dp1_connector_in: endpoint {
};
};
};
dp-dsi0-connector {
compatible = "dp-connector";
label = "DSI0";
type = "full-size";
port {
dp_dsi0_connector_in: endpoint {
remote-endpoint = <&dsi2dp_bridge0_out>;
};
};
};
dp-dsi1-connector {
compatible = "dp-connector";
label = "DSI1";
type = "full-size";
port {
dp_dsi1_connector_in: endpoint {
remote-endpoint = <&dsi2dp_bridge1_out>;
};
};
};
};
&apps_rsc {
@@ -513,7 +595,108 @@ &i2c11 {
&i2c18 {
clock-frequency = <400000>;
status = "okay";
io_expander: gpio@74 {
compatible = "ti,tca9539";
reg = <0x74>;
interrupts-extended = <&tlmm 98 IRQ_TYPE_EDGE_BOTH>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
reset-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&io_expander_intr_active>,
<&io_expander_reset_active>;
pinctrl-names = "default";
};
i2c-mux@70 {
compatible = "nxp,pca9543";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x70>;
i2c@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
bridge@58 {
compatible = "analogix,anx7625";
reg = <0x58>;
interrupts-extended = <&io_expander 2 IRQ_TYPE_EDGE_FALLING>;
enable-gpios = <&io_expander 1 GPIO_ACTIVE_HIGH>;
reset-gpios = <&io_expander 0 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_bridge0_in: endpoint {
remote-endpoint = <&mdss0_dsi0_out>;
};
};
port@1 {
reg = <1>;
dsi2dp_bridge0_out: endpoint {
remote-endpoint = <&dp_dsi0_connector_in>;
};
};
};
};
};
i2c@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
bridge@58 {
compatible = "analogix,anx7625";
reg = <0x58>;
interrupts-extended = <&io_expander 10 IRQ_TYPE_EDGE_FALLING>;
enable-gpios = <&io_expander 9 GPIO_ACTIVE_HIGH>;
reset-gpios = <&io_expander 8 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_bridge1_in: endpoint {
remote-endpoint = <&mdss0_dsi1_out>;
};
};
port@1 {
reg = <1>;
dsi2dp_bridge1_out: endpoint {
remote-endpoint = <&dp_dsi1_connector_in>;
};
};
};
};
};
};
};
&mdss0 {
@@ -560,6 +743,40 @@ &mdss0_dp1_phy {
status = "okay";
};
&mdss0_dsi0 {
vdda-supply = <&vreg_l1c>;
status = "okay";
};
&mdss0_dsi0_out {
data-lanes = <0 1 2 3>;
remote-endpoint = <&dsi2dp_bridge0_in>;
};
&mdss0_dsi0_phy {
vdds-supply = <&vreg_l4a>;
status = "okay";
};
&mdss0_dsi1 {
vdda-supply = <&vreg_l1c>;
status = "okay";
};
&mdss0_dsi1_out {
data-lanes = <0 1 2 3>;
remote-endpoint = <&dsi2dp_bridge1_in>;
};
&mdss0_dsi1_phy {
vdds-supply = <&vreg_l4a>;
status = "okay";
};
&pmm8654au_0_gpios {
gpio-line-names = "DS_EN",
"POFF_COMPLETE",
@@ -753,6 +970,21 @@ ethernet0_mdio: ethernet0-mdio-pins {
};
};
io_expander_intr_active: io-expander-intr-active-state {
pins = "gpio98";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
io_expander_reset_active: io-expander-reset-active-state {
pins = "gpio97";
function = "gpio";
drive-strength = <2>;
bias-disable;
output-high;
};
pcie0_default_state: pcie0-default-state {
perst-pins {
pins = "gpio2";