Re: [PATCH v3 0/9] cpufreq: tegra194: add Tegra264 support

From: Zhongqiu Han

Date: Mon Nov 23 2026 - 00:10:24 EST


On 11/23/2026 12:53 AM, Krzysztof Kozlowski wrote:
On Thu, Nov 19, 2026 at 07:41:34PM +0800, Zhongqiu Han wrote:
On 11/19/2026 7:12 PM, Sumit Gupta wrote:
This series adds cpufreq support for Tegra264, which joins the SoCs
already supported by the tegra194-cpufreq driver.

Tegra264 keeps the existing model, where BPMP provides the NDIV limits.
The driver derives the current frequency from the core clock and
reference counters.

The main differences are:
- Frequency read: through system registers, as on Tegra194, but from
the 64-bit architected AMU counters. The reference counter ticks at
the system counter rate (CNTFRQ).

- Frequency request: through MMIO, as on Tegra234. The driver writes
NDIV to a core_freq_req register in the CCPLEX register space. Each
register controls a clock shared by two single-CPU clusters, so both
CPUs form one cpufreq policy.

The patches fall into four groups:
- Fix (patch 1): read each CPU's MPIDR from a CPU hotplug callback
instead of at probe. A CPU that is offline at probe then also gets
valid cluster and core IDs.

- Preparation (patches 2 to 5): cleanups, mostly of the counter code,
to make room for a 64-bit counter and for an MMIO mapping without
ACTMON counters.

- Improvement (patches 6 and 7): group CPUs by the generic
"performance-domains" property, which cluster-based grouping cannot
express on Tegra264. Device trees without it keep the existing
grouping.

- Tegra264 support (patches 8 and 9): the driver support, followed by
the device tree changes it relies on.

v2[2] -> v3:
- Patch 8: read the AMU counters with interrupts disabled (Zhongqiu).
- Add Reviewed-by from Zhongqiu to patches 1-7 and 9.

For patch 8/9:

Reviewed-by: Zhongqiu Han <zhongqiu.han@xxxxxxxxxxxxxxxx>

Why you cannot respond to specific patch? Tags applied to cover letter
work completely different!

Hi Krzysztof,

Thanks for pointing this out. I’ll reply to the individual patches with
the Reviewed-by tags in future reviews.



Best regards,
Krzysztof



--
Thx and BRs,
Zhongqiu Han