All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Fan <b51431@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Patch v3 0/4] imx: mx6: use OTP for teperature grade info
Date: Tue, 19 May 2015 08:21:10 +0800	[thread overview]
Message-ID: <20150519002108.GA21059@shlinux2> (raw)
In-Reply-To: <1431957407-24920-1-git-send-email-tharvey@gateworks.com>

Hi Tim,

On Mon, May 18, 2015 at 06:56:43AM -0700, Tim Harvey wrote:
>Use Temperature grade info in OTP/eFUSE for thermal management and display of
>thermal data.
>
>Cc: Stefan Roese <sr@denx.de>
>Cc: Eric Nelson <eric.nelson@boundarydevices.com>
>Cc: Heiko Schocher <hs@denx.de>
>Cc: Nikita Kiryanov <nikita@compulab.co.il>
>Cc: Jon Nettleton <jon.nettleton@gmail.com>
>Cc: Jason Liu <r64343@freescale.com>
>Cc: Ye Li <b37916@freescale.com>
>Cc: Fabio Estevam <fabio.estevam@freescale.com>
>Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
>Cc: Markus Niebel <Markus.Niebel@tq-group.com>
>Cc: Peng Fan <b51431@freescale.com>
>Signed-off-by: Tim Harvey <tharvey@gateworks.com>
>---
>v3:
> - include display of temperature grade for IMX6SX
>v2:
> - split into two series: 1 for CPU frequency, other for Temperature grade
>
>Tim Harvey (4):
>  mx6: add OTP bank1 registers
>  imx: mx6: add get_cpu_temp_grade to obtain cpu temperature grade from
>    OTP
>  imx: mx6: add display of CPU temperature grade in print_cpuinfo()
>  thermal: imx_thermal: use CPU temperature grade for trip points
>
> arch/arm/cpu/armv7/mx6/soc.c              | 38 +++++++++++++++++++++++++++++++
> arch/arm/imx-common/cpu.c                 | 25 ++++++++++++++++----
> arch/arm/include/asm/arch-mx6/imx-regs.h  | 19 ++++++++++++++++
> arch/arm/include/asm/arch-mx6/sys_proto.h |  1 +
> drivers/thermal/imx_thermal.c             | 29 +++++++++++++++--------
> include/imx_thermal.h                     |  6 +++++
> 6 files changed, 104 insertions(+), 14 deletions(-)

Tested on mx6sxsabresd RevB TO1.2 board.

I also applied this two patch for this test:
https://patchwork.ozlabs.org/patch/473405/
https://patchwork.ozlabs.org/patch/473406/

U-Boot 2015.07-rc1-00260-g44bf513 (May 19 2015 - 09:14:52)

CPU:   Freescale i.MX6SX rev1.2 996 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 33C
Reset cause: POR
Board: MX6SX SABRE SDB
I2C:   ready
DRAM:  1 GiB
PMIC:  PFUZE100 ID=0x11
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
=>

Tested-by: Peng Fan <Peng.Fan@freescale.com>

>
>-- 
>1.9.1
>

-- 

  parent reply	other threads:[~2015-05-19  0:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18 13:56 [U-Boot] [Patch v3 0/4] imx: mx6: use OTP for teperature grade info Tim Harvey
2015-05-18 13:56 ` [U-Boot] [Patch v3 1/4] mx6: add OTP bank1 registers Tim Harvey
2015-05-18 13:56 ` [U-Boot] [Patch v3 2/4] imx: mx6: add get_cpu_temp_grade to obtain cpu temperature grade from OTP Tim Harvey
2015-05-18 13:56 ` [U-Boot] [Patch v3 3/4] imx: mx6: add display of CPU temperature grade in print_cpuinfo() Tim Harvey
2015-05-18 13:56 ` [U-Boot] [Patch v3 4/4] thermal: imx_thermal: use CPU temperature grade for trip points Tim Harvey
2015-05-20 14:09   ` Tim Harvey
2015-05-19  0:21 ` Peng Fan [this message]
2015-05-19  8:24   ` [U-Boot] [Patch v3 0/4] imx: mx6: use OTP for teperature grade info Stefano Babic
2015-05-20 14:43 ` Markus Niebel
2015-05-20 14:45   ` Otavio Salvador
2015-05-20 15:09     ` Stefano Babic

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=20150519002108.GA21059@shlinux2 \
    --to=b51431@freescale.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.