summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnshul Dalal <[email protected]>2025-10-30 18:33:21 +0530
committerTom Rini <[email protected]>2025-11-12 09:42:17 -0600
commit65a6b83a9b7faff58e2ca60ddebbf5dc364c6ec9 (patch)
tree148c46f52b67c54307dc2ab22eafc64c9d915292 /include
parent2a909c3da7197f9640a016e69a7b7984f1d6fa45 (diff)
mach-k3: refactor A53 speed grade clock-rate fixup
The K3 ARM64 rproc driver uses the "assigned-clock-rates" value in the respective "/a53@0" node to properly configure the clocks for the A53 core. Although the clock value in the DT node might need to be fixed based on SoC's speed grade at runtime. Certain SoCs such as AM62p and AM62x already had this implemented, this patch moves the common code to common.c to avoid duplication and simplify speed grade handling. The logic to detect the correct entry in the "assigned-clock-rates" property has also changed. Where we earlier relied on per SoC specific device and clock IDs for the A53 core, we now use the "clock-names" property which is device agnostic. Signed-off-by: Anshul Dalal <[email protected]> Reviewed-by: Aniket Limaye <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions