Skip to content

cpufreq: Introduce TI CPUFreq/OPP Driver

Lukasz Majewski linux-arm-kernel linux-devicetree linux-omap linux-pm 1 version New

Get series with b4
b4 am 20170204002314.7ce27aee@jawa

Versions newest first

  1. v5 Latest0 of 4 patches 0 repliesNew

Patches in v5 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchLukasz Majewski
SeriesT-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] cpufreq: Introduce TI CPUFreq/OPP Driver

Hi Dave,

Quoted 16 lines

Hi,
This is v5 of the series to introduce the ti-cpufreq driver which parses SoC data and provides opp-supported-hw data to the OPP core in order to enable the proper OPPs for the silicon in use.

History:
v4: http://www.spinics.net/lists/linux-omap/msg134629.html
v3: http://www.spinics.net/lists/linux-omap/msg132733.html
v2: http://www.spinics.net/lists/linux-omap/msg131601.html
v1: http://www.spinics.net/lists/linux-omap/msg129089.html

Very minor changes from v4:
* In patch 2 change "opp_table0" to "opp_table" in example
* Add acks on all patches (he approved change in patch 2)
from Viresh

Quoted 8 lines

DT patches to enable this driver will follow after the DT binding is merged. Branch for testing, with updated DT nodes, pushed here [1].

Regards,
Dave

[1]
https://github.com/dgerlach/linux-pm/commits/upstream/ti-cpufreq-driver-new-v5

For the whole series:

(code backported to v4.9)
Test HW: AM5718 and AM5728.

Quoted 14 lines

Dave Gerlach (4):
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

 .../devicetree/bindings/cpufreq/ti-cpufreq.txt     | 128 ++++++++++
 drivers/base/power/opp/of.c                        |   9 +-
 drivers/cpufreq/Kconfig.arm                        |  11 +
 drivers/cpufreq/Makefile                           |   1 +
 drivers/cpufreq/cpufreq-dt-platdev.c               |   2 -
 drivers/cpufreq/ti-cpufreq.c                       | 272
Quoted 6 lines

+++++++++++++++++++++
include/linux/pm_opp.h | 6 + 7 files
changed, 423 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt create mode 100644 drivers/cpufreq/ti-cpufreq.c

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de