Re: [PATCH 0/8] Support dynamic EMC frequency scaling on Tegra186/Tegra194
From: Sumit Gupta <sumitg@nvidia.com>
Date: 2025-09-04 11:47:54
Also in:
linux-pm, linux-tegra, lkml
On 01/09/25 09:03, Aaron Kling via B4 Relay wrote:
External email: Use caution opening links or attachments This series borrows the concept used on Tegra234 to scale EMC based on CPU frequency and applies it to Tegra186 and Tegra194. Except that the bpmp on those archs does not support bandwidth manager, so the scaling iteself is handled similar to how Tegra124 currently works. Signed-off-by: Aaron Kling <redacted> ---
Tegra186/194 had multiple drivers for BWMGR, ISOMGR and LA+PTSA configs on the CPU side. I am not sure how effective this patch series will be in absence of those components. In Tegra234, those were moved to BPMP-FW. So, Kernel forwards the BW request to BPMP (R5) who takes care of setting the final freq. Thank you, Sumit Gupta
Aaron Kling (8):
dt-bindings: tegra: Add ICC IDs for dummy memory clients for Tegra186
dt-bindings: tegra: Add ICC IDs for dummy memory clients for Tegra194
cpufreq: tegra186: add OPP support and set bandwidth
memory: tegra186-emc: Support non-bpmp icc scaling
memory: tegra186: Support icc scaling
memory: tegra194: Support icc scaling
arm64: tegra: Add CPU OPP tables for Tegra186
arm64: tegra: Add CPU OPP tables for Tegra194
arch/arm64/boot/dts/nvidia/tegra186.dtsi | 317 +++++++++++++++
arch/arm64/boot/dts/nvidia/tegra194.dtsi | 636 +++++++++++++++++++++++++++++++
drivers/cpufreq/tegra186-cpufreq.c | 152 +++++++-
drivers/memory/tegra/tegra186-emc.c | 132 ++++++-
drivers/memory/tegra/tegra186.c | 48 +++
drivers/memory/tegra/tegra194.c | 59 ++-
include/dt-bindings/memory/tegra186-mc.h | 4 +
include/dt-bindings/memory/tegra194-mc.h | 6 +
8 files changed, 1344 insertions(+), 10 deletions(-)
---
base-commit: 1b237f190eb3d36f52dffe07a40b5eb210280e00
change-id: 20250823-tegra186-icc-7299110cd774
prerequisite-change-id: 20250826-tegra186-cpufreq-fixes-7fbff81c68a2:v3
prerequisite-patch-id: 74a2633b412b641f9808306cff9b0a697851d6c8
prerequisite-patch-id: 9c52827317f7abfb93885febb1894b40967bd64c
Best regards,
--
Aaron Kling [off-list ref]