Skip to content

ti-cpufreq backport

Chen-Yu Tsai (Moxa) cip-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11PM / OPP: Parse clock-latency and voltage-tolerance for v1 bindingsdrivers/base/power/opp/core.c drivers/base/power/opp/opp.h+26 -00 replies
2/11PM / OPP: Expose _of_get_opp_desc_node as dev_pm_opp APIdrivers/base/power/opp/core.c drivers/base/power/opp/cpu.c include/linux/pm_opp.h+11 -40 replies
3/11Documentation: dt: add bindings for ti-cpufreqDocumentation/devicetree/bindings/cpufreq/ti-cpufreq.txt+128 -00 replies
4/11cpufreq: ti: Add cpufreq driver to determine available OPPs at runtimedrivers/cpufreq/Kconfig.arm drivers/cpufreq/Makefile drivers/cpufreq/ti-cpufreq.c+284 -02 replies
5/11cpufreq: ti: Fix 'of_node_put' being called twice in error handling pathdrivers/cpufreq/ti-cpufreq.c+2 -20 replies
6/11cpufreq: ti-cpufreq: kfree opp_data when failuredrivers/cpufreq/ti-cpufreq.c+4 -10 replies
7/11cpufreq: ti-cpufreq: add missing of_node_put()drivers/cpufreq/ti-cpufreq.c+1 -00 replies
8/11cpufreq: ti-cpufreq: Fix an incorrect error return valuedrivers/cpufreq/ti-cpufreq.c+1 -10 replies
9/11cpufreq: dt: Don't use generic platdev driver for ti-cpufreq platformsarch/arm/mach-omap2/pm.c+3 -00 replies
10/11ARM: omap2plus_defconfig: Enable support for ti-cpufreqarch/arm/configs/omap2plus_defconfig+1 -00 replies
11/11ARM: dts: am33xx: Add updated operating-points-v2 table for cpuarch/arm/boot/dts/am33xx.dtsi+74 -130 replies

Reviews trailers per patch

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

PatchViresh KumarRob HerringStephen BoydLukasz Majewski
1/11R-b
2/11A-b
3/11A-b A-b
4/11A-b
5/11A-b
6/11A-b
7/11A-b
8/11A-b
9/11A-b
10/11R-b
11/11A-b R-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 v1 thread

Cover letter [cip-dev] [PATCH 4.4.y-cip 00/11] ti-cpufreq backport

Hi everyone,

This is the final part of MOXA's PM / OPP / ti-cpufreq backport series. Part 2, which consisted of OPP / cpufreq-dt cleanups, is abandoned in favor of directly backporting the ti-cpufreq driver.

This part includes a couple of patches to the PM / OPP subsystem to expose required APIs, and deal with the v1/v2 mixed OPP table used by am33xx. The rest are the backport of the ti-cpufreq driver, and fixes for this driver. The fixes were requested by CIP kernel maintainers as part of MOXA's previous attempt to backport ti-cpufreq. They are included as separate patches, as there are quite a few of them spread over multiple kernel releases.

The result is that my BeagleBone Black can run at higher speeds than without the ti-cpufreq driver due to having a better silicon revision.

Please have a look.

Regards
ChenYu

Christophe Jaillet (1):
cpufreq: ti: Fix 'of_node_put' being called twice in error handling
path

Dave Gerlach (6):
PM / OPP: Expose _of_get_opp_desc_node as dev_pm_opp API
Documentation: dt: add bindings for ti-cpufreq
cpufreq: ti: Add cpufreq driver to determine available OPPs at runtime
cpufreq: dt: Don't use generic platdev driver for ti-cpufreq platforms
ARM: omap2plus_defconfig: Enable support for ti-cpufreq
ARM: dts: am33xx: Add updated operating-points-v2 table for cpu

Suman Anna (1):
cpufreq: ti-cpufreq: Fix an incorrect error return value

Viresh Kumar (1):
PM / OPP: Parse clock-latency and voltage-tolerance for v1 bindings

Zumeng Chen (2):
cpufreq: ti-cpufreq: kfree opp_data when failure
cpufreq: ti-cpufreq: add missing of_node_put()

 .../bindings/cpufreq/ti-cpufreq.txt           | 128 ++++++++
 arch/arm/boot/dts/am33xx.dtsi                 |  87 +++++-
 arch/arm/configs/omap2plus_defconfig          |   1 +
 arch/arm/mach-omap2/pm.c                      |   3 +
 drivers/base/power/opp/core.c                 |  25 +-
 drivers/base/power/opp/cpu.c                  |   4 +-
 drivers/base/power/opp/opp.h                  |   6 +
 drivers/cpufreq/Kconfig.arm                   |  11 +
 drivers/cpufreq/Makefile                      |   1 +
 drivers/cpufreq/ti-cpufreq.c                  | 276 ++++++++++++++++++
 include/linux/pm_opp.h                        |   6 +
 11 files changed, 531 insertions(+), 17 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt
 create mode 100644 drivers/cpufreq/ti-cpufreq.c
Signature · 1 line
2.28.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#5422): https://lists.cip-project.org/g/cip-dev/message/5422
Mute This Topic: https://lists.cip-project.org/mt/76726426/4520388
Group Owner: [email protected]
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-