Skip to content

Commit 80b19e0

Browse files
Sumit Guptathierryreding
authored andcommitted
memory: tegra: Add software memory clients in Tegra234
Add dummy memory controller clients to represent CPU clusters. They will be used by the CPUFREQ driver to scale DRAM FREQ with the CPU FREQ. Signed-off-by: Sumit Gupta <sumitg@nvidia.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent aecc83f commit 80b19e0

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

drivers/memory/tegra/tegra234.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,21 @@ static const struct tegra_mc_client tegra234_mc_clients[] = {
777777
.security = 0x244,
778778
},
779779
},
780+
}, {
781+
.id = TEGRA_ICC_MC_CPU_CLUSTER0,
782+
.name = "sw_cluster0",
783+
.bpmp_id = TEGRA_ICC_BPMP_CPU_CLUSTER0,
784+
.type = TEGRA_ICC_NISO,
785+
}, {
786+
.id = TEGRA_ICC_MC_CPU_CLUSTER1,
787+
.name = "sw_cluster1",
788+
.bpmp_id = TEGRA_ICC_BPMP_CPU_CLUSTER1,
789+
.type = TEGRA_ICC_NISO,
790+
}, {
791+
.id = TEGRA_ICC_MC_CPU_CLUSTER2,
792+
.name = "sw_cluster2",
793+
.bpmp_id = TEGRA_ICC_BPMP_CPU_CLUSTER2,
794+
.type = TEGRA_ICC_NISO,
780795
},
781796
};
782797

0 commit comments

Comments
 (0)