From: Valentin Schneider <valentin.schneider@arm.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>,
linux-pm@vger.kernel.org, ionela.voinescu@arm.com,
Leo Yan <leo.yan@linaro.org>,
Kevin Wangtao <kevin.wangtao@linaro.org>
Subject: Re: [PATCH V2] thermal/drivers/hisi: Switch to interrupt mode
Date: Tue, 10 Oct 2017 18:01:34 +0100 [thread overview]
Message-ID: <ff47cc88-dc44-60cd-e4bf-1da5ec19e066@arm.com> (raw)
In-Reply-To: <313949ce-e0d6-da66-7809-a963f704f75f@linaro.org>
On 10/10/2017 05:51 PM, Daniel Lezcano wrote:
> Ok, so apparently there are multiple alarms level in the driver for the
> hikey960 [1]. So I prefer to drop this patch for now and take the
> hikey960 thermal support first and we can sort out the issue later.
>
> For my information, can you show me the DT snippet you have for the
> thermal zones?
Sure thing:
thermal-zones {
cls0: cls0 {
polling-delay = <1000>;
polling-delay-passive = <100>;
sustainable-power = <4500>;
/* sensor ID */
thermal-sensors = <&tsensor 1>;
trips {
threshold: trip-point@0 {
temperature = <65000>;
hysteresis = <1000>;
type = "passive";
};
target: trip-point@1 {
temperature = <75000>;
hysteresis = <1000>;
type = "passive";
};
};
cooling-maps {
map0 {
trip = <&target>;
contribution = <1024>;
cooling-device = <&cpu0 THERMAL_NO_LIMIT
THERMAL_NO_LIMIT>;
};
map1 {
trip = <&target>;
contribution = <512>;
cooling-device = <&cpu4 THERMAL_NO_LIMIT
THERMAL_NO_LIMIT>;
};
map2 {
trip = <&target>;
contribution = <1024>;
cooling-device = <&gpu THERMAL_NO_LIMIT
THERMAL_NO_LIMIT>;
};
};
};
};
It's exactly what is on the Android 4.9 kernel
(https://android.googlesource.com/kernel/hikey-linaro/+/android-hikey-linaro-4.9/arch/arm64/boot/dts/hisilicon/hi3660.dtsi#1272),
with the tsensor index changed from 4 to 1 to work with Kevin's patches.
>
> -- Daniel
>
> [1] https://patchwork.kernel.org/patch/9965743/
>
>
next prev parent reply other threads:[~2017-10-10 17:01 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-26 23:54 [PATCH] thermal/drivers/hisi: Switch to interrupt mode Daniel Lezcano
2017-09-26 23:54 ` Daniel Lezcano
2017-09-27 8:26 ` Keerthy
2017-09-27 8:26 ` Keerthy
2017-09-27 15:56 ` Daniel Lezcano
2017-09-28 5:13 ` [PATCH V2] " Daniel Lezcano
2017-09-28 5:13 ` Daniel Lezcano
2017-09-28 6:57 ` Leo Yan
2017-09-28 7:32 ` Daniel Lezcano
2017-12-05 2:00 ` Eduardo Valentin
2017-12-05 6:49 ` Daniel Lezcano
2017-09-29 11:07 ` Valentin Schneider
2017-09-29 16:46 ` Daniel Lezcano
2017-09-29 17:26 ` Valentin Schneider
2017-10-02 20:02 ` Daniel Lezcano
2017-10-10 16:51 ` Daniel Lezcano
2017-10-10 17:01 ` Valentin Schneider [this message]
2017-10-10 17:13 ` Daniel Lezcano
2017-10-10 17:19 ` Valentin Schneider
2017-10-10 17:28 ` Daniel Lezcano
2017-10-11 1:54 ` Wangtao (Kevin, Kirin)
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=ff47cc88-dc44-60cd-e4bf-1da5ec19e066@arm.com \
--to=valentin.schneider@arm.com \
--cc=daniel.lezcano@linaro.org \
--cc=ionela.voinescu@arm.com \
--cc=kevin.wangtao@linaro.org \
--cc=leo.yan@linaro.org \
--cc=linux-pm@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.