From: Eduardo Valentin <edubezval@gmail.com>
To: Wei Ni <wni@nvidia.com>
Cc: khali@linux-fr.org, linux@roeck-us.net, swarren@wwwdotorg.org,
lm-sensors@lm-sensors.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 4/4] ARM: tegra: dalmore: add thermal zones for nct1008
Date: Mon, 25 Aug 2014 07:10:43 -0400 [thread overview]
Message-ID: <20140825111041.GC12349@developer> (raw)
In-Reply-To: <1408948188-4181-5-git-send-email-wni@nvidia.com>
On Mon, Aug 25, 2014 at 02:29:48PM +0800, Wei Ni wrote:
> From: lightning314 <wni@nvidia.com>
>
> Add dt node to describe the thermal zone for the nct1008.
>
> Signed-off-by: Wei Ni <wni@nvidia.com>
> ---
> arch/arm/boot/dts/tegra114-dalmore.dts | 20 +++++++++++++++++++-
> 1 file changed, 19 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
> index 5c21d21..94a1b5d 100644
> --- a/arch/arm/boot/dts/tegra114-dalmore.dts
> +++ b/arch/arm/boot/dts/tegra114-dalmore.dts
> @@ -779,12 +779,14 @@
> <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
> };
>
> - temperature-sensor@4c {
> + nct1008: temperature-sensor@4c {
> compatible = "onnn,nct1008";
> reg = <0x4c>;
> vcc-supply = <&palmas_ldo6_reg>;
> interrupt-parent = <&gpio>;
> interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
> +
> + #thermal-sensor-cells = <1>;
> };
> };
>
> @@ -1283,4 +1285,20 @@
> <&tegra_car TEGRA114_CLK_EXTERN1>;
> clock-names = "pll_a", "pll_a_out0", "mclk";
> };
> +
> + thermal-zones {
> + nct1008-local {
at this level, can the thermal zone name be a meaningful string? What
part of the hardware does the local and remote monitors the the dalmore
platform?
> + polling-delay-passive = <2000>; /* milliseconds */
> + polling-delay = <0>; /* milliseconds */
> +
> + thermal-sensors = <&nct1008 0>;
> + };
> +
> + nct1008-remote {
> + polling-delay-passive = <1000>; /* milliseconds */
> + polling-delay = <0>; /* milliseconds */
> +
> + thermal-sensors = <&nct1008 1>;
> + };
> + };
> };
> --
> 1.8.1.5
>
next prev parent reply other threads:[~2014-08-25 11:10 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-25 6:29 [PATCH v3 0/4] expose lm90 to thermal fw Wei Ni
2014-08-25 6:29 ` [PATCH v3 1/4] hwmon: (lm90) split set&show temp as common codes Wei Ni
2014-08-25 12:23 ` Mikko Perttunen
2014-08-26 2:27 ` Wei Ni
2014-08-26 12:17 ` Eduardo Valentin
2014-08-26 16:37 ` Stephen Warren
2014-08-27 2:25 ` Wei Ni
2014-08-25 6:29 ` [PATCH v3 2/4] hwmon: lm90: expose to thermal fw via DT nodes Wei Ni
2014-08-25 6:29 ` [PATCH v3 3/4] thermal: add more description for thermal-zones Wei Ni
2014-08-25 11:07 ` Eduardo Valentin
2014-08-26 2:17 ` Wei Ni
2014-08-26 12:12 ` Eduardo Valentin
2014-08-27 2:54 ` Wei Ni
2014-08-27 13:32 ` Eduardo Valentin
2014-08-28 1:50 ` Wei Ni
2014-08-28 13:21 ` Eduardo Valentin
2014-08-29 3:03 ` Wei Ni
2014-08-29 11:32 ` edubezval
2014-09-01 10:26 ` Wei Ni
2014-09-05 9:41 ` Wei Ni
2014-08-30 19:43 ` Eduardo Valentin
2014-09-10 8:14 ` Wei Ni
2014-09-10 14:10 ` Eduardo Valentin
2014-08-26 3:03 ` Wei Ni
2014-08-26 12:08 ` Eduardo Valentin
2014-08-27 2:31 ` Wei Ni
2014-08-25 6:29 ` [PATCH v3 4/4] ARM: tegra: dalmore: add thermal zones for nct1008 Wei Ni
2014-08-25 11:08 ` Eduardo Valentin
2014-08-26 2:21 ` Wei Ni
2014-08-25 11:10 ` Eduardo Valentin [this message]
2014-08-26 2:24 ` Wei Ni
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=20140825111041.GC12349@developer \
--to=edubezval@gmail.com \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lm-sensors@lm-sensors.org \
--cc=swarren@wwwdotorg.org \
--cc=wni@nvidia.com \
/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).