Skip to content

cpufreq: exynos5440: support for cpufreq driver

Amit Daniel Kachhap cpufreq linux-arm-kernel linux-pm linux-samsung-soc lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 7 repliesIn review
  2. v54 patches 8 repliesSuperseded
  3. v44 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v34 patches6 repliesSuperseded
v24 patches3 repliesSuperseded

Changes in v6 from the cover letter

* Used cpufreq post-change notifier call back in case of failure as pointed by Viresh.
* Called cpufreq_frequency_table_cpuinfo before calling cpufreq_frequency_table_get_attr as pointed by Viresh.
* Used modified API cpufreq_notify_transition.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cpufreq: exynos: Add cpufreq driver for exynos5440Documentation/devicetree/bindings/cpufreq/cpufreq-exynos5440.txt drivers/cpufreq/Kconfig.arm drivers/cpufreq/Makefile +1 more+517 -03 replies
1/4cpufreq: exynos: Add cpufreq driver for exynos5440Documentation/devicetree/bindings/cpufreq/cpufreq-exynos5440.txt drivers/cpufreq/Kconfig.arm drivers/cpufreq/Makefile +1 more+516 -03 replies
2/4cpufreq: exynos: Remove error return even if no soc is founddrivers/cpufreq/exynos-cpufreq.c+1 -10 replies
3/4arm: exynos: Enable OPP library support for exynos5440arch/arm/mach-exynos/Kconfig+2 -00 replies
4/4arm: dts: Add cpufreq controller node for Exynos5440 SoCarch/arm/boot/dts/exynos5440.dtsi+12 -00 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchViresh Kumar
SeriesA-b
1/4
1/4
2/4
3/4
4/4

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

Read the v6 thread

Cover letter [PATCH V6 0/4] cpufreq: exynos5440: support for cpufreq driver

Submitting the V6 version of exynos5440 cpufreq driver. This patchset addresses all the coding and design concerns raised especially by Viresh.

Changes in V6:
* Used cpufreq post-change notifier call back in case of failure as pointed by Viresh.
* Called cpufreq_frequency_table_cpuinfo before calling cpufreq_frequency_table_get_attr as pointed by Viresh.
* Used modified API cpufreq_notify_transition.

Changes in V5:
* Removed the unnecessary DT look up entry from mach-exynos5-dt.c.
* Fixed all coding and comments issue raised by Viresh.

Changes in V4:
* Added dev_err logs instead of pr_err.
* Used the devm_ioremap_resource API.
* Implemented several coding guidelines and minor error comments from Sylwester, Russell and Viresh.

Changes in V3:
* Converted the driver to probe based as suggested by Viresh. This is also beneficial for multiplatform kernel.
* Other coding guidelines related changes.
* Moved the DT node outside cpu0 node as the driver is now a platform driver.

Changes in V2:
* Added OPP library support to parse DT parameters.
* Removed a hack to handle interrupts in bootup.
* Implemented other review comments from Viresh and Inder.

All these patches are dependent on Thomas Abraham common clock patches.
(http://www.mail-archive.com/[email protected]/msg15860.html)
This whole patch series is based on Rafael tree.
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge

Amit Daniel Kachhap (4):
cpufreq: exynos: Add cpufreq driver for exynos5440
cpufreq: exynos: Remove error return even if no soc is found
arm: exynos: Enable OPP library support for exynos5440
arm: dts: Add cpufreq controller node for Exynos5440 SoC

 .../bindings/cpufreq/cpufreq-exynos5440.txt        |   28 ++
 arch/arm/boot/dts/exynos5440.dtsi                  |   12 +
 arch/arm/mach-exynos/Kconfig                       |    2 +
 drivers/cpufreq/Kconfig.arm                        |    9 +
 drivers/cpufreq/Makefile                           |    1 +
 drivers/cpufreq/exynos-cpufreq.c                   |    2 +-
 drivers/cpufreq/exynos5440-cpufreq.c               |  479 ++++++++++++++++++++
 7 files changed, 532 insertions(+), 1 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-exynos5440.txt
 create mode 100644 drivers/cpufreq/exynos5440-cpufreq.c