From: edubezval@gmail.com (Eduardo Valentin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] imx: thermal: use CPU temperature grade info for thresholds
Date: Mon, 11 May 2015 18:32:52 -0700 [thread overview]
Message-ID: <20150512013251.GF4810@localhost.localdomain> (raw)
In-Reply-To: <CAJ+vNU0j47Wk5mbZE-Q1=8uVtx7k3HC-YJXCgWzUwu3TGDu0bg@mail.gmail.com>
On Mon, May 11, 2015 at 06:31:55AM -0700, Tim Harvey wrote:
> On Mon, May 11, 2015 at 5:26 AM, Fabio Estevam <festevam@gmail.com> wrote:
> > On Thu, Apr 30, 2015 at 1:02 PM, Tim Harvey <tharvey@gateworks.com> wrote:
> >
> >> + /* The maximum die temp is specified by the Temperature Grade */
> >> + switch ((val >> 6) & 0x3) {
> >> + case 0: /* Commercial (0 to 95C) */
> >> + data->temp_grade = "Commercial";
> >> + data->temp_critical = 95000;
> >> + break;
> >> + case 1: /* Extended Commercial (-20 to 105C) */
> >> + data->temp_grade = "Extended Commercial";
> >> + data->temp_critical = 105000;
> >> + break;
> >
> > Looks good, only a minor suggestion for consistency: could you please
> > change "Commercial" to "Consumer"?
> >
> > This is the term that is referenced in the datasheet, so better keep
> > it consistent.
> >
> > Thanks
>
> Fabio,
>
> Actually this seems to be very inconsistent from Freescale and the
> register uses the word 'commercial' - I think you are referring to the
> part identifier which is part of the ordering information. The Part
> Number Nomenclature in the 'datasheets' use the word 'Commercial' in
> the temperature grade field and the word 'Consumer' in some (but not
> all) of the Part differentiator field. The register description uses
> the word Commercial. I believe this is more of a marketing term than
> anything else so I don't really care what word is used. I've heard the
> word commercial used in terms of temperature grades and not consumer
> personally.
>
> I should note that the actual OTP fuse I'm looking at is only
> described in the IMX6DQRM (Reference manual for the DUAL and QUAD) and
> is shown as 'reserved' in the IMX6SDLRM (SOLO and DUALLITE Reference
> Manual) and the 'IMX6SXRM' for the SX. I have been able to show
> expirimentaly that the speed grade and temperature grade OTP's exist
> in the IMX6SDL (even though they are marked as 'reserved' in the RM)
> but I do not have an IMX6SX to see if the same is true. I have a query
> out to our FAE for clarification on the OTP registers.
Fabio, any particular preference ? Is the patch good to with the current
nomenclature?
>
> Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150511/fba9f6d7/attachment.sig>
next prev parent reply other threads:[~2015-05-12 1:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-30 16:02 [PATCH] imx: thermal: use CPU temperature grade info for thresholds Tim Harvey
2015-05-11 12:22 ` Shawn Guo
2015-05-11 12:26 ` Fabio Estevam
2015-05-11 13:31 ` Tim Harvey
2015-05-12 1:32 ` Eduardo Valentin [this message]
2015-05-11 18:55 ` Fabio Estevam
2015-05-20 22:08 ` Tim Harvey
2015-05-21 23:45 ` [PATCH v2] " Tim Harvey
2015-05-24 2:48 ` Shawn Guo
2015-05-24 5:19 ` Jon Nettleton
2015-05-26 21:24 ` Tim Harvey
2015-05-27 6:08 ` Jon Nettleton
2015-07-28 14:50 ` Tim Harvey
2015-07-28 15:01 ` Jon Nettleton
2015-07-28 16:10 ` Jon Nettleton
2015-07-28 16:12 ` Jon Nettleton
2015-07-30 7:19 ` [PATCH] " Jon Nettleton
2015-10-13 14:16 ` Tim Harvey
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=20150512013251.GF4810@localhost.localdomain \
--to=edubezval@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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 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).