Skip to content

Commit

Permalink
more inconsistency = red flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Danct12 committed Nov 30, 2023
1 parent fea90ce commit 9e36221
Showing 1 changed file with 120 additions and 25 deletions.
145 changes: 120 additions & 25 deletions arch/arm64/boot/dts/qcom/msm8937.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -902,16 +902,58 @@
remote-endpoint = <&dsi0_in>;
};
};

port@1 {
reg = <1>;
mdp5_intf2_out: endpoint {
remote-endpoint = <&dsi1_in>;
};
};
};
};


dsi_phy0: dsi-phy@1a94400 {
compatible = "qcom,dsi-phy-28nm-lp-8937";
reg = <0x01a94a00 0xd4>,
<0x01a94400 0x280>,
<0x01a94b80 0x30>;
reg-names = "dsi_pll",
"dsi_phy",
"dsi_phy_regulator";

#clock-cells = <1>;
#phy-cells = <0>;

clocks = <&gcc GCC_MDSS_AHB_CLK>,
<&rpmcc RPM_SMD_XO_CLK_SRC>;
clock-names = "iface", "ref";
};

dsi_phy1: dsi-phy@1a94600 {
compatible = "qcom,dsi-phy-28nm-lp-8937";
reg = <0x01a96a00 0xd4>,
<0x01a96400 0x280>,
<0x01a94b80 0x30>;
reg-names = "dsi_pll",
"dsi_phy",
"dsi_phy_regulator";

#clock-cells = <1>;
#phy-cells = <0>;

clocks = <&gcc GCC_MDSS_AHB_CLK>,
<&rpmcc RPM_SMD_XO_CLK_SRC>;
clock-names = "iface", "ref";
};

dsi0: dsi@1a94000 {
compatible = "qcom,mdss-dsi-ctrl";
reg = <0x01a94000 0x300>;
reg-names = "dsi_ctrl";

interrupt-parent = <&mdss>;
interrupts = <4>;
interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;

assigned-clocks = <&gcc BYTE0_CLK_SRC>,
<&gcc PCLK0_CLK_SRC>;
Expand Down Expand Up @@ -972,22 +1014,76 @@
};
};

dsi_phy0: dsi-phy@1a94400 {
compatible = "qcom,dsi-phy-28nm-lp-8937";
reg = <0x01a94a00 0xd4>,
<0x01a94400 0x280>,
<0x01a94b80 0x30>;
reg-names = "dsi_pll",
"dsi_phy",
"dsi_phy_regulator";

#clock-cells = <1>;
#phy-cells = <0>;
dsi1: dsi@1a96000 {
compatible = "qcom,mdss-dsi-ctrl";
reg = <0x01a96000 0x300>;
reg-names = "dsi_ctrl";

clocks = <&gcc GCC_MDSS_AHB_CLK>,
<&rpmcc RPM_SMD_XO_CLK_SRC>;
clock-names = "iface", "ref";
interrupt-parent = <&mdss>;
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;

assigned-clocks = <&gcc BYTE1_CLK_SRC>,
<&gcc PCLK1_CLK_SRC>;
assigned-clock-parents = <&dsi_phy1 0>,
<&dsi_phy1 1>;

clocks = <&gcc GCC_MDSS_MDP_CLK>,
<&gcc GCC_MDSS_AHB_CLK>,
<&gcc GCC_MDSS_AXI_CLK>,
<&gcc GCC_MDSS_BYTE1_CLK>,
<&gcc GCC_MDSS_PCLK1_CLK>,
<&gcc GCC_MDSS_ESC1_CLK>;
clock-names = "mdp_core",
"iface",
"bus",
"byte",
"pixel",
"core";
phys = <&dsi_phy1>;
phy-names = "dsi-phy";

operating-points-v2 = <&dsi1_opp_table>;
power-domains = <&rpmpd MSM8917_VDDCX>;

#address-cells = <1>;
#size-cells = <0>;

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
dsi1_in: endpoint {
remote-endpoint = <&mdp5_intf2_out>;
};
};

port@1 {
reg = <1>;
dsi1_out: endpoint {
};
};
};

dsi1_opp_table: dsi-opp-table {
compatible = "operating-points-v2";

opp-125000000 {
opp-hz = /bits/ 64 <125000000>;
required-opps = <&rpmpd_opp_svs>;
};

opp-187500000 {
opp-hz = /bits/ 64 <187500000>;
required-opps = <&rpmpd_opp_nom>;
};
};
};



};

camss: camss@1b00000 {
Expand Down Expand Up @@ -1453,7 +1549,7 @@
#reset-cells = <1>;
};

pronto: wcnss: remoteproc@a21b000 {
wcnss: remoteproc@a21b000 {
compatible = "qcom,pronto-v3-pil", "qcom,pronto";
reg = <0x0a204000 0x2000>, <0x0a202000 0x1000>, <0x0a21b000 0x3000>;
reg-names = "ccu", "dxe", "pmu";
Expand All @@ -1479,9 +1575,8 @@

status = "disabled";

iris {
compatible = "qcom,wcn3620";

wcnss_iris: iris {
/* Separate chip, compatible is board-specific */
clocks = <&rpmcc RPM_SMD_RF_CLK2>;
clock-names = "xo";
};
Expand All @@ -1499,13 +1594,13 @@
compatible = "qcom,wcnss";
qcom,smd-channels = "WCNSS_CTRL";

qcom,mmio = <&pronto>;
qcom,mmio = <&wcnss>;

bluetooth {
wcnss_bt: bluetooth {
compatible = "qcom,wcnss-bt";
};

wifi {
wcnss_wifi: wifi {
compatible = "qcom,wcnss-wlan";

interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
Expand Down Expand Up @@ -1701,12 +1796,12 @@
#size-cells = <0>;
status = "disabled";

apr-service@3 {
reg = <APR_SVC_ADSP_CORE>;
q6core: service@3 {
compatible = "qcom,q6core";
reg = <APR_SVC_ADSP_CORE>;
};

q6afe: apr-service@4 {
q6afe: service@4 {
compatible = "qcom,q6afe";
reg = <APR_SVC_AFE>;

Expand All @@ -1723,7 +1818,7 @@
};
};

q6asm: apr-service@7 {
q6asm: service@7 {
compatible = "qcom,q6asm";
reg = <APR_SVC_ASM>;

Expand Down

0 comments on commit 9e36221

Please sign in to comment.