mirror of
https://github.com/torvalds/linux.git
synced 2026-10-08 19:46:02 +02:00
arm64: dts: qcom: purwa: Override Iris clocks and operating points
The Iris block on X1P differs from SM8550/X1E in its clock configuration and requires a dedicated OPP table. The node inherited from the X1E cannot be reused directly, and the fallback compatible "qcom,sm8550-iris" cannot be applied. Override the inherited clocks, clock-names, and operating points, and replaces them with the X1P42100-specific definitions. A new OPP table is provided to support the correct performance levels on this platform. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Wangao Wang <wangao.wang@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260713-enable_iris_on_purwa-v9-1-633d7b87f0c9@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
8a2b4481b6
commit
43899c55d7
|
|
@ -21,6 +21,7 @@
|
|||
/delete-node/ &cpu_pd11;
|
||||
/delete-node/ &gpu_opp_table;
|
||||
/delete-node/ &gpu_speed_bin;
|
||||
/delete-node/ &iris_opp_table;
|
||||
/delete-node/ &pcie3_phy;
|
||||
/delete-node/ &thermal_aoss3;
|
||||
/delete-node/ &thermal_cpu2_0_btm;
|
||||
|
|
@ -163,6 +164,55 @@ &gpucc {
|
|||
compatible = "qcom,x1p42100-gpucc";
|
||||
};
|
||||
|
||||
&iris {
|
||||
compatible = "qcom,x1p42100-iris";
|
||||
|
||||
clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
|
||||
<&videocc VIDEO_CC_MVS0C_CLK>,
|
||||
<&videocc VIDEO_CC_MVS0_CLK>,
|
||||
<&videocc VIDEO_CC_MVS0_BSE_CLK>;
|
||||
clock-names = "iface",
|
||||
"core",
|
||||
"vcodec0_core",
|
||||
"vcodec0_bse";
|
||||
|
||||
operating-points-v2 = <&iris_opp_table_x1p42100>;
|
||||
|
||||
iris_opp_table_x1p42100: opp-table {
|
||||
compatible = "operating-points-v2";
|
||||
|
||||
opp-210000000 {
|
||||
opp-hz = /bits/ 64 <210000000 105000000>;
|
||||
required-opps = <&rpmhpd_opp_low_svs_d1>,
|
||||
<&rpmhpd_opp_low_svs>;
|
||||
};
|
||||
|
||||
opp-300000000 {
|
||||
opp-hz = /bits/ 64 <300000000 150000000>;
|
||||
required-opps = <&rpmhpd_opp_low_svs_d1>,
|
||||
<&rpmhpd_opp_svs>;
|
||||
};
|
||||
|
||||
opp-335000000 {
|
||||
opp-hz = /bits/ 64 <335000000 167500000>;
|
||||
required-opps = <&rpmhpd_opp_svs>,
|
||||
<&rpmhpd_opp_svs_l1>;
|
||||
};
|
||||
|
||||
opp-424000000 {
|
||||
opp-hz = /bits/ 64 <424000000 212000000>;
|
||||
required-opps = <&rpmhpd_opp_svs>,
|
||||
<&rpmhpd_opp_nom>;
|
||||
};
|
||||
|
||||
opp-500000000 {
|
||||
opp-hz = /bits/ 64 <500000000 250000000>;
|
||||
required-opps = <&rpmhpd_opp_svs>,
|
||||
<&rpmhpd_opp_turbo>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* PCIe3 has half the lanes compared to X1E80100 */
|
||||
&pcie3 {
|
||||
num-lanes = <4>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user