From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
To: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Cc: Jason Cooper <jason@lakedaemon.net>,
Zhang Rui <rui.zhang@intel.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Andrew Lunn <andrew@lunn.ch>,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
Gregory Clement <gregory.clement@free-electrons.com>,
Lior Amsalem <alior@marvell.com>,
Tawfik Bayouk <tawfik@marvell.com>,
devicetree@vger.kernel.org
Subject: Re: [PATCH v2 10/10] ARM: mvebu: Enable the thermal sensor in Armada 380/385 SoC
Date: Mon, 28 Apr 2014 13:44:03 -0300 [thread overview]
Message-ID: <20140428164403.GA17824@arch.cereza> (raw)
In-Reply-To: <1398371004-15807-11-git-send-email-ezequiel.garcia@free-electrons.com>
On Apr 24, Ezequiel Garcia wrote:
> This commit enables the thermal sensor found in Armada 380/385 SoCs.
>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> ---
> arch/arm/boot/dts/armada-38x.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
> index a064f59..02c6139 100644
> --- a/arch/arm/boot/dts/armada-38x.dtsi
> +++ b/arch/arm/boot/dts/armada-38x.dtsi
> @@ -346,6 +346,12 @@
> clock-output-names = "nand";
> };
>
> + thermal@e8078 {
> + compatible = "marvell,armada380-thermal";
> + reg = <0xe4078 0x4>, <0xe404 0x4>;
Dammit, there's a stupid typo in the register offset. I never noticed this, because
the initialization sequence does not do much, and this register is not really used
(for now). The fix is this:
diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index 02c6139..370220f 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -348,7 +348,7 @@
thermal@e8078 {
compatible = "marvell,armada380-thermal";
- reg = <0xe4078 0x4>, <0xe404 0x4>;
+ reg = <0xe4078 0x4>, <0xe4074 0x4>;
status = "okay";
};
Want me to send a follow-up patch?
--
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-04-28 16:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-24 20:23 [PATCH v2 00/10] thermal: Armada 375/380 SoC support Ezequiel Garcia
2014-04-24 20:23 ` [PATCH v2 01/10] thermal: armada: Rename armada_thermal_ops struct Ezequiel Garcia
2014-04-24 20:23 ` [PATCH v2 02/10] thermal: armada: Add infrastructure to support generic formulas Ezequiel Garcia
2014-04-24 20:23 ` [PATCH v2 03/10] thermal: armada: Add generic infrastructure to handle the sensor Ezequiel Garcia
2014-04-24 20:23 ` [PATCH v2 04/10] thermal: armada: Pass the platform_device to init_sensor() Ezequiel Garcia
2014-04-24 20:23 ` [PATCH v2 05/10] thermal: armada: Allow to specify an 'inverted readout' sensor Ezequiel Garcia
2014-04-24 20:23 ` [PATCH v2 06/10] thermal: armada: Support Armada 375 SoC Ezequiel Garcia
[not found] ` <1398371004-15807-1-git-send-email-ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-04-24 20:23 ` [PATCH v2 07/10] thermal: armada: Support Armada 380 SoC Ezequiel Garcia
2014-04-24 20:23 ` [PATCH v2 08/10] ARM: mvebu: Add thermal quirk for the Armada 375 DB board Ezequiel Garcia
2014-04-24 20:23 ` [PATCH v2 09/10] ARM: mvebu: Enable the thermal sensor in Armada 375 SoC Ezequiel Garcia
2014-04-24 20:23 ` [PATCH v2 10/10] ARM: mvebu: Enable the thermal sensor in Armada 380/385 SoC Ezequiel Garcia
2014-04-28 16:44 ` Ezequiel Garcia [this message]
2014-04-28 18:33 ` Jason Cooper
2014-04-26 0:55 ` [PATCH v2 00/10] thermal: Armada 375/380 SoC support Jason Cooper
2014-04-26 1:45 ` Ezequiel Garcia
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=20140428164403.GA17824@arch.cereza \
--to=ezequiel.garcia@free-electrons.com \
--cc=alior@marvell.com \
--cc=andrew@lunn.ch \
--cc=devicetree@vger.kernel.org \
--cc=gregory.clement@free-electrons.com \
--cc=jason@lakedaemon.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zhang@intel.com \
--cc=sebastian.hesselbarth@gmail.com \
--cc=tawfik@marvell.com \
--cc=thomas.petazzoni@free-electrons.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).