Skip to content

NVIDIA Tegra devfreq improvements and Tegra20/30 support

Dmitry Osipenko linux-pm linux-tegra lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest16 patches 38 repliesIn review
  2. v316 patches 8 repliesSuperseded
  3. v219 patches 34 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16PM / devfreq: tegra: Fix kHz to Hz conversiondrivers/devfreq/tegra-devfreq.c+5 -71 reply
2/16PM / devfreq: tegra: Replace readl-writel with relaxed versionsdrivers/devfreq/tegra-devfreq.c+4 -41 reply
3/16PM / devfreq: tegra: Replace write memory barrier with the read barrierdrivers/devfreq/tegra-devfreq.c+1 -21 reply
4/16PM / devfreq: tegra: Don't ignore clk errorsdrivers/devfreq/tegra-devfreq.c+14 -21 reply
5/16PM / devfreq: tegra: Don't set EMC clock rate to maximum on probedrivers/devfreq/tegra-devfreq.c+0 -22 replies
6/16PM / devfreq: tegra: Drop primary interrupt handlerdrivers/devfreq/tegra-devfreq.c+18 -371 reply
7/16PM / devfreq: tegra: Properly disable interruptsdrivers/devfreq/tegra-devfreq.c+15 -66 replies
8/16PM / devfreq: tegra: Clean up driver's probe / removedrivers/devfreq/tegra-devfreq.c+47 -361 reply
9/16PM / devfreq: tegra: Avoid inconsistency of current frequency valuedrivers/devfreq/tegra-devfreq.c+4 -21 reply
10/16PM / devfreq: tegra: Mark ACTMON's governor as immutabledrivers/devfreq/Kconfig drivers/devfreq/tegra-devfreq.c+1 -11 reply
11/16PM / devfreq: tegra: Move governor registration to driver's probedrivers/devfreq/tegra-devfreq.c+12 -311 reply
12/16PM / devfreq: tegra: Reconfigure hardware on governor's restartdrivers/devfreq/tegra-devfreq.c+40 -581 reply
13/16PM / devfreq: tegra: Support Tegra30drivers/devfreq/Kconfig drivers/devfreq/tegra-devfreq.c+3 -21 reply
14/16PM / devfreq: tegra: Enable COMPILE_TEST for the driverdrivers/devfreq/Kconfig+1 -17 replies
15/16PM / devfreq: tegra: Rename tegra-devfreq.c to tegra30-devfreq.cdrivers/devfreq/Makefile drivers/devfreq/tegra30-devfreq.c+1 -12 replies
16/16PM / devfreq: Introduce driver for NVIDIA Tegra20MAINTAINERS drivers/devfreq/Kconfig drivers/devfreq/Makefile +1 more+231 -02 replies

Reviews trailers per patch

All 16 patches have a Reviewed-by or Acked-by.

PatchSteev KlimaszewskiChanwoo ChoiThierry RedingArnd Bergmann
1/16T-b R-b A-b
2/16R-b A-b
3/16R-b A-b
4/16R-b A-b
5/16R-b A-b
6/16R-b A-b
7/16R-b A-b
8/16R-b A-b
9/16R-b A-b
10/16R-b A-b
11/16R-b A-b
12/16R-b A-b
13/16R-b A-b
14/16R-b A-b A-b
15/16R-b
16/16R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 00/16] NVIDIA Tegra devfreq improvements and Tegra20/30 support

Changelog:

v4: Addressed all review comments that were made by Chanwoo Choi to v3:

- changed the driver removal order to match the probe exactly
- added clarifying comment for 1/8 ratio to the Tegra20 driver

Chanwoo, please also note that the clk patch that should fix compilation problem that was reported the kbuild-test-robot is already applied and available in the recent linux-next.

v3: Addressed all review comments that were made by Chanwoo Choi to v2.

Patch "Synchronize IRQ after masking it in hardware" morphed into "Properly disable interrupts", which disables interrupts more solidly.

Added new minor patch: "Rename tegra-devfreq.c to tegra30-devfreq.c".

Added missed error handlings for dev_pm_opp_add().

v2: The patchset was quite heavily reworked since v1, few patches we
dropped or squashed into the new ones and more patches we added. In a result more bugs and potential problems are fixed now, driver's code got more clean up.

The Tegra20 driver-addition patch is now a part of this series, it has no changes since v1.

Dmitry Osipenko (16):
PM / devfreq: tegra: Fix kHz to Hz conversion
PM / devfreq: tegra: Replace readl-writel with relaxed versions PM / devfreq: tegra: Replace write memory barrier with the read
barrier
PM / devfreq: tegra: Don't ignore clk errors
PM / devfreq: tegra: Don't set EMC clock rate to maximum on probe PM / devfreq: tegra: Drop primary interrupt handler
PM / devfreq: tegra: Properly disable interrupts
PM / devfreq: tegra: Clean up driver's probe / remove
PM / devfreq: tegra: Avoid inconsistency of current frequency value PM / devfreq: tegra: Mark ACTMON's governor as immutable PM / devfreq: tegra: Move governor registration to driver's probe PM / devfreq: tegra: Reconfigure hardware on governor's restart PM / devfreq: tegra: Support Tegra30
PM / devfreq: tegra: Enable COMPILE_TEST for the driver PM / devfreq: tegra: Rename tegra-devfreq.c to tegra30-devfreq.c PM / devfreq: Introduce driver for NVIDIA Tegra20

 MAINTAINERS                                   |   8 +
 drivers/devfreq/Kconfig                       |  15 +-
 drivers/devfreq/Makefile                      |   3 +-
 drivers/devfreq/tegra20-devfreq.c             | 212 ++++++++++++
 .../{tegra-devfreq.c => tegra30-devfreq.c}    | 315 ++++++++----------
 5 files changed, 379 insertions(+), 174 deletions(-)
 create mode 100644 drivers/devfreq/tegra20-devfreq.c
 rename drivers/devfreq/{tegra-devfreq.c => tegra30-devfreq.c} (81%)
Signature · 1 line
2.21.0