[PATCH v3 0/3] cpufreq: ti: Add support for AM62L3 SoC

Dhruva Gole posted 3 patches 2 weeks, 5 days ago
arch/arm64/boot/dts/ti/k3-am62l-wakeup.dtsi |  5 +++
arch/arm64/boot/dts/ti/k3-am62l3.dtsi       | 47 +++++++++++++++++++++++++++++
drivers/cpufreq/cpufreq-dt-platdev.c        |  1 +
drivers/cpufreq/ti-cpufreq.c                | 34 ++++++++++++++++++++-
4 files changed, 86 insertions(+), 1 deletion(-)
[PATCH v3 0/3] cpufreq: ti: Add support for AM62L3 SoC
Posted by Dhruva Gole 2 weeks, 5 days ago
Hello,

This series adds CPU frequency scaling support for the TI AM62L3 SoC.

The AM62L3 is a low-power, low-cost SoC from Texas Instruments. This
series enables cpufreq support by:
1. Adding the SoC to the cpufreq-dt-platdev blocklist to prevent the generic driver from probing.
2. Extending the ti-cpufreq driver to support AM62L3 speed grading by reading the efuse.
3. Updating the device tree with the necessary operating points and clock configurations.

Tested on AM62L3 EVM [1]

[1] https://gist.github.com/DhruvaG2000/6dcceb80cf7bbd1e624ec210532538cb

Signed-off-by: Dhruva Gole <d-gole@ti.com>
---
Changes in v3:
- Sorted the #defines and structs for am62l as well after am62a
- Pick the R-by tag from Kendall
- Link to v2: https://lore.kernel.org/r/20260116-am62l-cpufreq-v2-0-eac7e2e78d29@ti.com

Changes in v2:
- Sort alphabetically while adding AM62L as per Krzysztof's comments
- Link to v1: https://lore.kernel.org/r/20260116-am62l-cpufreq-v1-0-63d062317ae9@ti.com

---
Dhruva Gole (3):
      cpufreq: dt-platdev: Add ti,am62l3 to blocklist
      cpufreq: ti-cpufreq: add support for AM62L3 SoC
      arm64: dts: ti: k3-am62l: support cpufreq

 arch/arm64/boot/dts/ti/k3-am62l-wakeup.dtsi |  5 +++
 arch/arm64/boot/dts/ti/k3-am62l3.dtsi       | 47 +++++++++++++++++++++++++++++
 drivers/cpufreq/cpufreq-dt-platdev.c        |  1 +
 drivers/cpufreq/ti-cpufreq.c                | 34 ++++++++++++++++++++-
 4 files changed, 86 insertions(+), 1 deletion(-)
---
base-commit: 9b7977f9e39b7768c70c2aa497f04e7569fd3e00
change-id: 20260116-am62l-cpufreq-1987a04a6f68

Best regards,
-- 
Dhruva Gole <d-gole@ti.com>
Re: [PATCH v3 0/3] cpufreq: ti: Add support for AM62L3 SoC
Posted by Viresh Kumar 2 weeks, 4 days ago
On 20-01-26, 17:17, Dhruva Gole wrote:
> Hello,
> 
> This series adds CPU frequency scaling support for the TI AM62L3 SoC.
> 
> The AM62L3 is a low-power, low-cost SoC from Texas Instruments. This
> series enables cpufreq support by:
> 1. Adding the SoC to the cpufreq-dt-platdev blocklist to prevent the generic driver from probing.
> 2. Extending the ti-cpufreq driver to support AM62L3 speed grading by reading the efuse.
> 3. Updating the device tree with the necessary operating points and clock configurations.
> 
> Tested on AM62L3 EVM [1]
> 
> [1] https://gist.github.com/DhruvaG2000/6dcceb80cf7bbd1e624ec210532538cb
> 
> Signed-off-by: Dhruva Gole <d-gole@ti.com>

I should be applying only patch 1 and 3 ?

-- 
viresh
Re: [PATCH v3 0/3] cpufreq: ti: Add support for AM62L3 SoC
Posted by Dhruva Gole 2 weeks, 4 days ago
On Jan 21, 2026 at 11:58:23 +0530, Viresh Kumar wrote:
> On 20-01-26, 17:17, Dhruva Gole wrote:
> > Hello,
> > 
> > This series adds CPU frequency scaling support for the TI AM62L3 SoC.
> > 
> > The AM62L3 is a low-power, low-cost SoC from Texas Instruments. This
> > series enables cpufreq support by:
> > 1. Adding the SoC to the cpufreq-dt-platdev blocklist to prevent the generic driver from probing.
> > 2. Extending the ti-cpufreq driver to support AM62L3 speed grading by reading the efuse.
> > 3. Updating the device tree with the necessary operating points and clock configurations.
> > 
> > Tested on AM62L3 EVM [1]
> > 
> > [1] https://gist.github.com/DhruvaG2000/6dcceb80cf7bbd1e624ec210532538cb
> > 
> > Signed-off-by: Dhruva Gole <d-gole@ti.com>
> 
> I should be applying only patch 1 and 3 ?

From what I spoke with Nishanth yesterday, the DT patch (3/3) will have to go via
his tree as it's ti-k3.

The first 2 patches are the cpufreq subsystem ones, once you apply those
and they are integrated Nishanth can pick up the DT patch.

-- 
Best regards,
Dhruva Gole
Texas Instruments Incorporated
Re: [PATCH v3 0/3] cpufreq: ti: Add support for AM62L3 SoC
Posted by Viresh Kumar 2 weeks, 4 days ago
On 21-01-26, 12:08, Dhruva Gole wrote:
> On Jan 21, 2026 at 11:58:23 +0530, Viresh Kumar wrote:
> > On 20-01-26, 17:17, Dhruva Gole wrote:
> > > Hello,
> > > 
> > > This series adds CPU frequency scaling support for the TI AM62L3 SoC.
> > > 
> > > The AM62L3 is a low-power, low-cost SoC from Texas Instruments. This
> > > series enables cpufreq support by:
> > > 1. Adding the SoC to the cpufreq-dt-platdev blocklist to prevent the generic driver from probing.
> > > 2. Extending the ti-cpufreq driver to support AM62L3 speed grading by reading the efuse.
> > > 3. Updating the device tree with the necessary operating points and clock configurations.
> > > 
> > > Tested on AM62L3 EVM [1]
> > > 
> > > [1] https://gist.github.com/DhruvaG2000/6dcceb80cf7bbd1e624ec210532538cb
> > > 
> > > Signed-off-by: Dhruva Gole <d-gole@ti.com>
> > 
> > I should be applying only patch 1 and 3 ?

Ahh, I meant 1 and 2.

> >From what I spoke with Nishanth yesterday, the DT patch (3/3) will have to go via
> his tree as it's ti-k3.
> 
> The first 2 patches are the cpufreq subsystem ones, once you apply those
> and they are integrated Nishanth can pick up the DT patch.

Applied. Thanks.

-- 
viresh