mbox series

[v4,0/4] Tegra234 cpufreq driver support

Message ID 20220405130119.4697-1-sumitg@nvidia.com
Headers show
Series Tegra234 cpufreq driver support | expand

Message

Sumit Gupta April 5, 2022, 1:01 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.

Comments

Rob Herring April 6, 2022, 6:51 p.m. UTC | #1
On Tue, 05 Apr 2022 18:31:16 +0530, Sumit Gupta wrote:
> The Tegra CPU COMPLEX CLUSTER area contains memory-mapped
> registers that initiate CPU frequency/voltage transitions.
> 
> Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
> ---
>  .../tegra/nvidia,tegra-ccplex-cluster.yaml    | 52 +++++++++++++++++++
>  1 file changed, 52 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/arm/tegra/nvidia,tegra-ccplex-cluster.yaml
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Viresh Kumar April 11, 2022, 3 a.m. UTC | #2
On 05-04-22, 18:31, Sumit Gupta wrote:
> 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.

Applied. Thanks.