From: Jason Cooper <jason@lakedaemon.net>
To: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
Andrew Lunn <andrew@lunn.ch>, Tawfik Bayouk <tawfik@marvell.com>,
linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
Lior Amsalem <alior@marvell.com>,
Gregory Clement <gregory.clement@free-electrons.com>,
Zhang Rui <rui.zhang@intel.com>,
linux-arm-kernel@lists.infradead.org,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: [PATCH v2 10/10] ARM: mvebu: Enable the thermal sensor in Armada 380/385 SoC
Date: Mon, 28 Apr 2014 14:33:27 -0400 [thread overview]
Message-ID: <20140428183327.GA28159@titan.lakedaemon.net> (raw)
In-Reply-To: <20140428164403.GA17824@arch.cereza>
On Mon, Apr 28, 2014 at 01:44:03PM -0300, Ezequiel Garcia wrote:
> 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?
Nope, I squashed it in and pushed it out.
thx,
Jason.
next prev parent reply other threads:[~2014-04-28 18:33 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
2014-04-28 18:33 ` Jason Cooper [this message]
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=20140428183327.GA28159@titan.lakedaemon.net \
--to=jason@lakedaemon.net \
--cc=alior@marvell.com \
--cc=andrew@lunn.ch \
--cc=devicetree@vger.kernel.org \
--cc=ezequiel.garcia@free-electrons.com \
--cc=gregory.clement@free-electrons.com \
--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