Skip to content

Commit

Permalink
arm64: dts: qcom: sdm636-xiaomi-tulip: enable Adreno 509 gpu
Browse files Browse the repository at this point in the history
Signed-off-by: Gianluca Boiano <[email protected]>
  • Loading branch information
M0Rf30 committed Nov 3, 2024
1 parent 0178edf commit d25ee0d
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions arch/arm64/boot/dts/qcom/sdm636-xiaomi-tulip.dts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,32 @@
};
};

&adreno_gpu {
status = "okay";

opp-table {
/delete-node/ opp-700000000;

opp-430000000 {
opp-hz = /bits/ 64 <430000000>;
opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
// opp-peak-kBps = <2724000>;
opp-supported-hw = <0xff>;
};

opp-370000000 {
opp-hz = /bits/ 64 <370000000>;
opp-level = <RPM_SMD_LEVEL_SVS>;
opp-peak-kBps = <2188000>;
opp-supported-hw = <0xff>;
};
};

zap-shader {
firmware-name = "qcom/a512_zap.mdt";
};
};

&adsp_pil {
status = "okay";
};
Expand Down Expand Up @@ -161,14 +187,31 @@
};
};

&gpucc {
status = "okay";
};

&kgsl_smmu {
status = "okay";
};

&lpass_smmu {
status = "okay";
};

&mdss {
status = "okay";
};

&mdss_dsi0 {
status = "okay";

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

vdd-supply = <&vreg_l1b_0p925>;
vdda-supply = <&vreg_l1a_1p225>;

panel: panel@0 {
compatible = "tianma,nt36672a-xiaomi-tulip-simple";
reg = <0>;
Expand All @@ -179,9 +222,29 @@

pinctrl-names = "default";
pinctrl-0 = <&mdss_dsi_active &mdss_te_active>;

port {
panel_in: endpoint {
remote-endpoint = <&mdss_dsi0_out>;
};
};
};
};

&mdss_dsi0_out {
data-lanes = <0 1 2 3>;
remote-endpoint = <&panel_in>;
};

&mdss_dsi0_phy {
vcca-supply = <&vreg_l1b_0p925>;
status = "okay";
};

&mmss_smmu {
status = "okay";
};

&pm660_charger {
monitored-battery = <&battery>;

Expand Down

0 comments on commit d25ee0d

Please sign in to comment.