Re: [PATCH v3 01/11] devfreq: tegra30-devfreq: add support for Tegra114

Mikko Perttunen
2025-11-11T08:55:44Z

On Monday, September 15, 2025 5:01 PM Svyatoslav Ryhel wrote:
> Lets add Tegra114 support to activity monitor device as a preparation to
> upcoming EMC controller support.
>
> Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
> ---
> drivers/devfreq/tegra30-devfreq.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/devfreq/tegra30-devfreq.c b/drivers/devfreq/tegra30-devfreq.c
> index 8ea5b482bfb3..d976077d4757 100644
> --- a/drivers/devfreq/tegra30-devfreq.c
> +++ b/drivers/devfreq/tegra30-devfreq.c
> @@ -980,6 +980,7 @@ static const struct tegra_devfreq_soc_data tegra30_soc = {
>
> static const struct of_device_id tegra_devfreq_of_match[] = {
> { .compatible = "nvidia,tegra30-actmon", .data = &tegra30_soc, },
> + { .compatible = "nvidia,tegra114-actmon", .data = &tegra124_soc, },
> { .compatible = "nvidia,tegra124-actmon", .data = &tegra124_soc, },
> { },
> };
>

Looking at my copy of L4T r21, the EMC count_weight should be 256 on Tegra114, while it is 4*256 on Tegra124, so different SoC data should be used. (I haven't checked if anything else is different)

Cheers,
Mikko