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

Chen-Yu Tsai (Moxa)
2020-09-09T04:44:46Z

[-- Attachment #1: Type: text/plain, Size: 2511 bytes --]

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

--
2.28.0

[-- Attachment #2: Type: text/plain, Size: 419 bytes --]

-=-=-=-=-=-=-=-=-=-=-=-
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