summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnshul Dalal <[email protected]>2025-10-30 18:33:20 +0530
committerTom Rini <[email protected]>2025-11-12 09:42:17 -0600
commit2a909c3da7197f9640a016e69a7b7984f1d6fa45 (patch)
treea832578bc767f8dbfc4422bbd7a04c61dea32ad5
parente34d01d23e45e007368685ffa6dfd674b6dd7b17 (diff)
mach-k3: am62px: remove fdt_fixup_cpu_freq_nodes_am62p
fdt_fixup_cpu_freq_nodes_am62p is used to delete unsupported opp table entries at runtime based on the SoC's speed grade. However, the ti-cpufreq driver in kernel already has support for rejecting unsupported entries. Therefore this fdt fixup is not necessary and can be dropped. Fixes: 8d05cbef73ae ("arm: mach-k3: am62p: Fixup a53 max cpu frequency by speed-grade") Signed-off-by: Anshul Dalal <[email protected]>
-rw-r--r--arch/arm/mach-k3/am62px/am62p5_fdt.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-k3/am62px/am62p5_fdt.c b/arch/arm/mach-k3/am62px/am62p5_fdt.c
index 4a5ff594df6..03f56cfd9fc 100644
--- a/arch/arm/mach-k3/am62px/am62p5_fdt.c
+++ b/arch/arm/mach-k3/am62px/am62p5_fdt.c
@@ -39,17 +39,6 @@ static void fdt_fixup_canfd_nodes_am62p(void *blob, bool has_canfd)
}
}
-static void fdt_fixup_cpu_freq_nodes_am62p(void *blob, int max_freq)
-{
- if (max_freq >= 1250000000)
- return;
-
- if (max_freq <= 1000000000) {
- fdt_del_node_path(blob, "/opp-table/opp-1250000000");
- fdt_del_node_path(blob, "/opp-table/opp-1400000000");
- }
-}
-
static void fdt_fixup_thermal_cooling_device_cpus_am62p(void *blob, int core_nr)
{
static const char * const thermal_path[] = {
@@ -92,7 +81,6 @@ int ft_system_setup(void *blob, struct bd_info *bd)
fdt_fixup_canfd_nodes_am62p(blob, k3_has_canfd());
fdt_fixup_thermal_critical_trips_k3(blob, k3_get_max_temp());
fdt_fixup_thermal_cooling_device_cpus_am62p(blob, k3_get_core_nr());
- fdt_fixup_cpu_freq_nodes_am62p(blob, k3_get_a53_max_frequency());
fdt_fixup_reserved(blob, "tfa", CONFIG_K3_ATF_LOAD_ADDR, 0x80000);
fdt_fixup_reserved(blob, "optee", CONFIG_K3_OPTEE_LOAD_ADDR, 0x1800000);