arm: mach-k3: am62p: fixup thermal cooling device by cpu number
authorJoão Paulo Gonçalves <joao.goncalves@toradex.com>
Mon, 23 Jun 2025 17:39:56 +0000 (14:39 -0300)
committerTom Rini <trini@konsulko.com>
Wed, 9 Jul 2025 14:40:03 +0000 (08:40 -0600)
commit7f4baa866dd510fe123290526dc1c7387dd48255
tree35dd9742084f4b2dad41d31a8d970e1cb187c5f9
parent9e672e4260144bf43a5b38db48537ecc097d296c
arm: mach-k3: am62p: fixup thermal cooling device by cpu number

TI AM62Px devices support CPU throttling based on thermal alerts.
However, the device tree assumes a 4-core configuration. Since the AM62P
also supports 2-core configurations, add a fixup to dynamically adjust
the cooling-device nodes within thermal zones based on the actual number
of CPU cores available.

Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com>
arch/arm/mach-k3/am62px/am62p5_fdt.c