|
|
Log in / Subscribe / Register

Add cpufreq driver for Tegra194

From:  Sumit Gupta <sumitg-AT-nvidia.com>
To:  <rjw-AT-rjwysocki.net>, <viresh.kumar-AT-linaro.org>, <catalin.marinas-AT-arm.com>, <will-AT-kernel.org>, <thierry.reding-AT-gmail.com>, <robh+dt-AT-kernel.org>, <devicetree-AT-vger.kernel.org>, <jonathanh-AT-nvidia.com>, <talho-AT-nvidia.com>, <linux-pm-AT-vger.kernel.org>, <linux-tegra-AT-vger.kernel.org>, <linux-arm-kernel-AT-lists.infradead.org>, <linux-kernel-AT-vger.kernel.org>
Subject:  [TEGRA194_CPUFREQ PATCH v4 0/4] Add cpufreq driver for Tegra194
Date:  Fri, 26 Jun 2020 21:13:52 +0530
Message-ID:  <1593186236-12760-1-git-send-email-sumitg@nvidia.com>
Cc:  <bbasu-AT-nvidia.com>, <sumitg-AT-nvidia.com>, <mperttunen-AT-nvidia.com>
Archive-link:  Article

The patch series adds cpufreq driver for Tegra194 SOC.
Incorporated the feedback on previous version patchset.
Please consider this patch series for merging in 5.9.

v3[3] -> v4
- Open code LOOP_FOR_EACH_CPU_OF_CLUSTER macro[Viresh]
- Delete unused funciton map_freq_to_ndiv[Viresh, kernel test bot]
- Remove flush_workqueue from free_resources[Viresh]

v2[2] -> v3
- Set same policy for all cpus in a cluster[Viresh].
- Add compatible string for CPU Complex under cpus node[Thierry].
- Add reference to bpmp node under cpus node[Thierry].
- Bind cpufreq driver to CPU Complex compatible string[Thierry].
- Remove patch to get bpmp data as now using cpus node to get that[Thierry].

v1[1] -> v2:
- Remove cpufreq_lock mutex from tegra194_cpufreq_set_target [Viresh].
- Remove CPUFREQ_ASYNC_NOTIFICATION flag [Viresh].
- Remove redundant _begin|end() call from tegra194_cpufreq_set_target.
- Rename opp_table to freq_table [Viresh].

Sumit Gupta (4):
  dt-bindings: arm: Add t194 ccplex compatible and bpmp property
  arm64: tegra: Add t194 ccplex compatible and bpmp property
  cpufreq: Add Tegra194 cpufreq driver
  arm64: defconfig: Enable CONFIG_ARM_TEGRA194_CPUFREQ

 Documentation/devicetree/bindings/arm/cpus.yaml |   9 +
 arch/arm64/boot/dts/nvidia/tegra194.dtsi        |   2 +
 arch/arm64/configs/defconfig                    |   1 +
 drivers/cpufreq/Kconfig.arm                     |   6 +
 drivers/cpufreq/Makefile                        |   1 +
 drivers/cpufreq/tegra194-cpufreq.c              | 396 ++++++++++++++++++++++++
 6 files changed, 415 insertions(+)
 create mode 100644 drivers/cpufreq/tegra194-cpufreq.c

[1] https://marc.info/?t=157539452300001&r=1&w=2
[2] https://marc.info/?l=linux-tegra&m=158602857106213&...
[3] https://marc.info/?l=linux-pm&m=159283376010084&w=2
-- 
2.7.4



Copyright © 2020, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds