Commit fa8da066 authored by Pradeep P V K's avatar Pradeep P V K Committed by Bjorn Andersson

arm64: dts: qcom: sc7180: Add bandwidth votes for eMMC and SDcard

Add the bandwidth domain supporting performance state and
the corresponding OPP tables for the sdhc device on sc7180.
Signed-off-by: default avatarPradeep P V K <ppvk@codeaurora.org>
Signed-off-by: default avatarShaik Sajida Bhanu <sbhanu@codeaurora.org>
Link: https://lore.kernel.org/r/1597646464-1863-1-git-send-email-sbhanu@codeaurora.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 5a4d9f3e
...@@ -691,6 +691,9 @@ sdhc_1: sdhci@7c4000 { ...@@ -691,6 +691,9 @@ sdhc_1: sdhci@7c4000 {
clocks = <&gcc GCC_SDCC1_APPS_CLK>, clocks = <&gcc GCC_SDCC1_APPS_CLK>,
<&gcc GCC_SDCC1_AHB_CLK>; <&gcc GCC_SDCC1_AHB_CLK>;
clock-names = "core", "iface"; clock-names = "core", "iface";
interconnects = <&aggre1_noc MASTER_EMMC 0 &mc_virt SLAVE_EBI1 0>,
<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_EMMC_CFG 0>;
interconnect-names = "sdhc-ddr","cpu-sdhc";
power-domains = <&rpmhpd SC7180_CX>; power-domains = <&rpmhpd SC7180_CX>;
operating-points-v2 = <&sdhc1_opp_table>; operating-points-v2 = <&sdhc1_opp_table>;
...@@ -711,11 +714,15 @@ sdhc1_opp_table: sdhc1-opp-table { ...@@ -711,11 +714,15 @@ sdhc1_opp_table: sdhc1-opp-table {
opp-100000000 { opp-100000000 {
opp-hz = /bits/ 64 <100000000>; opp-hz = /bits/ 64 <100000000>;
required-opps = <&rpmhpd_opp_low_svs>; required-opps = <&rpmhpd_opp_low_svs>;
opp-peak-kBps = <100000 100000>;
opp-avg-kBps = <100000 50000>;
}; };
opp-384000000 { opp-384000000 {
opp-hz = /bits/ 64 <384000000>; opp-hz = /bits/ 64 <384000000>;
required-opps = <&rpmhpd_opp_svs_l1>; required-opps = <&rpmhpd_opp_svs_l1>;
opp-peak-kBps = <600000 900000>;
opp-avg-kBps = <261438 300000>;
}; };
}; };
}; };
...@@ -2516,6 +2523,10 @@ sdhc_2: sdhci@8804000 { ...@@ -2516,6 +2523,10 @@ sdhc_2: sdhci@8804000 {
clocks = <&gcc GCC_SDCC2_APPS_CLK>, clocks = <&gcc GCC_SDCC2_APPS_CLK>,
<&gcc GCC_SDCC2_AHB_CLK>; <&gcc GCC_SDCC2_AHB_CLK>;
clock-names = "core", "iface"; clock-names = "core", "iface";
interconnects = <&aggre1_noc MASTER_SDCC_2 0 &mc_virt SLAVE_EBI1 0>,
<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_SDCC_2 0>;
interconnect-names = "sdhc-ddr","cpu-sdhc";
power-domains = <&rpmhpd SC7180_CX>; power-domains = <&rpmhpd SC7180_CX>;
operating-points-v2 = <&sdhc2_opp_table>; operating-points-v2 = <&sdhc2_opp_table>;
...@@ -2529,11 +2540,15 @@ sdhc2_opp_table: sdhc2-opp-table { ...@@ -2529,11 +2540,15 @@ sdhc2_opp_table: sdhc2-opp-table {
opp-100000000 { opp-100000000 {
opp-hz = /bits/ 64 <100000000>; opp-hz = /bits/ 64 <100000000>;
required-opps = <&rpmhpd_opp_low_svs>; required-opps = <&rpmhpd_opp_low_svs>;
opp-peak-kBps = <160000 100000>;
opp-avg-kBps = <80000 50000>;
}; };
opp-202000000 { opp-202000000 {
opp-hz = /bits/ 64 <202000000>; opp-hz = /bits/ 64 <202000000>;
required-opps = <&rpmhpd_opp_svs_l1>; required-opps = <&rpmhpd_opp_svs_l1>;
opp-peak-kBps = <200000 120000>;
opp-avg-kBps = <100000 60000>;
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment