From: Punit Agrawal <punit.agrawal@arm.com>
To: linux-pm@vger.kernel.org
Cc: Punit Agrawal <punit.agrawal@arm.com>,
lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, edubezval@gmail.com,
mark.rutland@arm.com, sudeep.holla@arm.com, linux@roeck-us.net,
viresh.kumar@linaro.org
Subject: [PATCH 0/9] Platform support for thermal management on Junoe
Date: Wed, 22 Jul 2015 15:02:34 +0100 [thread overview]
Message-ID: <1437573763-6525-1-git-send-email-punit.agrawal@arm.com> (raw)
Hi,
The series adds support for thermal management on ARM Juno development
platform. As part of this development, common infrastructure is added
to support registering cpu cooling devices that work with the power
allocator thermal governor.
Patch 1 extends the CPU nodes binding to provide an optional dynamic
power coefficient which can be used to create a dynamic power model
for the CPUs. This model is used to constrain device power consumption
(using power_allocator governor) when the system is thermally
constrained.
Patches 2-3 extends the cpufreq-dt and arm_big_little driver to
register cpu cooling devices with the dynamic coefficient when
provided.
Patches 4-7 create a hwmon sensor driver for sensors provided by SCPI
firmware. Patch 7 adds support for the temperature sensors to register
with the thermal framework. This allows setting up platform thermals
using OF thermal bindings.
The last two patches add support for the sensors and the thermal zones
in the Juno device tree.
The Juno specific patches depend on SCPI and cpufreq patches[0] from Sudeep.
Thanks,
Punit
[0] http://thread.gmane.org/gmane.linux.power-management.general/61073
Punit Agrawal (9):
devicetree: bindings: Add optional dynamic-power-coefficient property
cpufreq-dt: Supply power coefficient when registering cooling devices
cpufreq: arm_big_little: Add support to register a cpufreq cooling
device
Documentation: add DT bindings for ARM SCPI sensors
firmware: arm_scpi: Extend to support sensors
hwmon: Support sensors exported via ARM SCP interface
hwmon: Support registration of thermal zones for SCP temperature
sensors
arm64: dts: Add sensor node to Juno dt
arm64: dts: Create SoC thermal zone for Juno
Documentation/devicetree/bindings/arm/arm,scpi.txt | 15 ++
Documentation/devicetree/bindings/arm/cpus.txt | 15 ++
arch/arm64/boot/dts/arm/juno-base.dtsi | 5 +
arch/arm64/boot/dts/arm/juno.dts | 50 ++++
drivers/cpufreq/arm_big_little.c | 52 +++-
drivers/cpufreq/cpufreq-dt.c | 9 +-
drivers/firmware/arm_scpi.c | 60 +++++
drivers/hwmon/Kconfig | 8 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/scpi-hwmon.c | 265 +++++++++++++++++++++
include/linux/scpi_protocol.h | 17 ++
11 files changed, 493 insertions(+), 4 deletions(-)
create mode 100644 drivers/hwmon/scpi-hwmon.c
--
2.1.4
next reply other threads:[~2015-07-22 14:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-22 14:02 Punit Agrawal [this message]
[not found] ` <1437573763-6525-1-git-send-email-punit.agrawal-5wv7dgnIgG8@public.gmane.org>
2015-07-22 14:02 ` [PATCH 1/9] devicetree: bindings: Add optional dynamic-power-coefficient property Punit Agrawal
2015-07-22 14:02 ` [PATCH 2/9] cpufreq-dt: Supply power coefficient when registering cooling devices Punit Agrawal
2015-07-22 14:02 ` [PATCH 3/9] cpufreq: arm_big_little: Add support to register a cpufreq cooling device Punit Agrawal
2015-07-22 14:02 ` [PATCH 4/9] Documentation: add DT bindings for ARM SCPI sensors Punit Agrawal
2015-07-22 14:02 ` [PATCH 5/9] firmware: arm_scpi: Extend to support sensors Punit Agrawal
2015-07-22 14:02 ` [PATCH 6/9] hwmon: Support sensors exported via ARM SCP interface Punit Agrawal
2015-07-22 15:33 ` Guenter Roeck
[not found] ` <55AFB7BC.6090802-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2015-07-24 14:08 ` Punit Agrawal
2015-07-22 14:02 ` [PATCH 7/9] hwmon: Support registration of thermal zones for SCP temperature sensors Punit Agrawal
2015-07-22 15:58 ` Guenter Roeck
[not found] ` <55AFBDC1.3000604-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2015-07-24 14:12 ` Punit Agrawal
2015-07-22 14:02 ` [PATCH 8/9] arm64: dts: Add sensor node to Juno dt Punit Agrawal
2015-07-22 14:02 ` [PATCH 9/9] arm64: dts: Create SoC thermal zone for Juno Punit Agrawal
2015-07-23 9:29 ` [PATCH 0/9] Platform support for thermal management on Junoe Viresh Kumar
2015-07-24 14:16 ` Punit Agrawal
2015-07-25 1:27 ` Viresh Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1437573763-6525-1-git-send-email-punit.agrawal@arm.com \
--to=punit.agrawal@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=edubezval@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lm-sensors@lm-sensors.org \
--cc=mark.rutland@arm.com \
--cc=sudeep.holla@arm.com \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).