mbox series

[v1,0/3] Tegra234 cpufreq driver support

Message ID 20220316135831.900-1-sumitg@nvidia.com (mailing list archive)
Headers show
Series Tegra234 cpufreq driver support | expand

Message

Sumit Gupta March 16, 2022, 1:58 p.m. UTC
This patchset adds driver support for Tegra234 cpufreq.
Also, added soc data and ops to support multiple SoC's and variants
which have similar logic to {get|set} cpu frequency as Tegra194 in
the same driver.
From cpufreq point, main difference between Tegra194 and Tegra234 are:
 1) Tegra234 uses MMIO for frequency requests and not sysreg like T194.
 2) MPIDR affinity info in Tegra234 is different from Tegra194.
 3) Register bits of pllp_clk_count and core_clk_count are swapped.
So, added ops hooks for Tegra234.

Sumit Gupta (3):
  cpufreq: tegra194: add soc data to support multiple soc
  arm64: tegra: add node for tegra234 cpufreq
  cpufreq: tegra194: Add support for Tegra234

 arch/arm64/boot/dts/nvidia/tegra234.dtsi |   7 +
 drivers/cpufreq/tegra194-cpufreq.c       | 246 +++++++++++++++++++----
 2 files changed, 216 insertions(+), 37 deletions(-)