From: Mikko Perttunen <cyndis@kapsi.fi>
To: Eduardo Valentin <edubezval@gmail.com>,
Mikko Perttunen <mperttunen@nvidia.com>
Cc: robh+dt@kernel.org, mark.rutland@arm.com, rui.zhang@intel.com,
thierry.reding@gmail.com, jonathanh@nvidia.com,
devicetree@vger.kernel.org, linux-pm@vger.kernel.org,
linux-tegra@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] arm64: tegra: Add BPMP thermal sensor to Tegra186
Date: Mon, 10 Jul 2017 11:50:33 +0300 [thread overview]
Message-ID: <842a7f8d-e95f-da94-e0a0-f6b458a8212d@kapsi.fi> (raw)
In-Reply-To: <20170630235603.GA2943@localhost.localdomain>
On 01.07.2017 02:56, Eduardo Valentin wrote:
> On Fri, Jun 16, 2017 at 02:28:22PM +0300, Mikko Perttunen wrote:
>> This adds the thermal sensor device provided by the BPMP, and the
>> relevant thermal sensors to the Tegra186 device tree.
>>
>> Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
>> ---
>> arch/arm64/boot/dts/nvidia/tegra186.dtsi | 48 ++++++++++++++++++++++++++++++++
>> 1 file changed, 48 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
>> index 5e62e68ac053..5c19ea74da24 100644
>> --- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
>> +++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
>> @@ -4,6 +4,7 @@
>> #include <dt-bindings/mailbox/tegra186-hsp.h>
>> #include <dt-bindings/power/tegra186-powergate.h>
>> #include <dt-bindings/reset/tegra186-reset.h>
>> +#include <dt-bindings/thermal/tegra186-bpmp-thermal.h>
>>
>> / {
>> compatible = "nvidia,tegra186";
>> @@ -444,6 +445,53 @@
>> #size-cells = <0>;
>> status = "disabled";
>> };
>> +
>> + bpmp_thermal: thermal {
>> + compatible = "nvidia,tegra186-bpmp-thermal";
>> + #thermal-sensor-cells = <1>;
>> + };
>> + };
>> +
>> + thermal-zones {
>> + a57 {
>> + polling-delay = <0>;
>> + polling-delay-passive = <1000>;
>> +
>> + thermal-sensors =
>> + <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_CPU>;
>> + };
>> +
>> + denver {
>> + polling-delay = <0>;
>> + polling-delay-passive = <1000>;
>> +
>> + thermal-sensors =
>> + <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_AUX>;
>> + };
>> +
>> + gpu {
>> + polling-delay = <0>;
>> + polling-delay-passive = <1000>;
>> +
>> + thermal-sensors =
>> + <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_GPU>;
>> + };
>> +
>> + pll {
>> + polling-delay = <0>;
>> + polling-delay-passive = <1000>;
>> +
>> + thermal-sensors =
>> + <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_PLLX>;
>> + };
>> +
>> + always_on {
>> + polling-delay = <0>;
>> + polling-delay-passive = <1000>;
>> +
>> + thermal-sensors =
>> + <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_AO>;
>> + };
>
> All the above zones are lacking mandatory fields. Please refer to the
> thermal binding documentation.
Will fix.
>
>> };
>>
>> timer {
>> --
>> 2.13.1
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2017-07-10 9:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-16 11:28 Mikko Perttunen
2017-06-16 11:28 ` [PATCH 2/4] dt-bindings: Add bindings for nvidia,tegra186-bpmp-thermal Mikko Perttunen
2017-06-23 18:48 ` Rob Herring
2017-06-16 11:28 ` [PATCH 3/4] firmware: tegra: Expose tegra_bpmp_mrq_return Mikko Perttunen
2017-06-16 11:28 ` [PATCH 4/4] thermal: Add Tegra BPMP thermal sensor driver Mikko Perttunen
2017-07-01 2:53 ` Eduardo Valentin
2017-07-10 8:50 ` Mikko Perttunen
2017-06-30 23:56 ` [PATCH 1/4] arm64: tegra: Add BPMP thermal sensor to Tegra186 Eduardo Valentin
2017-07-10 8:50 ` Mikko Perttunen [this message]
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=842a7f8d-e95f-da94-e0a0-f6b458a8212d@kapsi.fi \
--to=cyndis@kapsi.fi \
--cc=devicetree@vger.kernel.org \
--cc=edubezval@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mperttunen@nvidia.com \
--cc=robh+dt@kernel.org \
--cc=rui.zhang@intel.com \
--cc=thierry.reding@gmail.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
all inboxes | Powered by JetHome®