Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1285024

Re: [PATCH 3/4] ARM: shmobile: r8a7790: enable to use thermal-zone

From Simon Horman <horms@verge.net.au>
Newsgroups linux.kernel
Subject Re: [PATCH 3/4] ARM: shmobile: r8a7790: enable to use thermal-zone
Date 2015-12-07 07:40 +0100
Message-ID <qCXCO-T6-37@gated-at.bofh.it> (permalink)
References <qBP4B-5Gb-1@gated-at.bofh.it> <qCXCO-T6-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Dec 04, 2015 at 03:18:11AM +0000, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> This patch enables to use thermal-zone on r8a7790.
> This thermal sensor can measure temperature from -40000 to 125000,
> but over 117000 can be critical on this chip.
> Thus, default critical temperature is now set as 115000 (this driver
> is using 5000 steps) (Current critical temperature is using it as
> 90000, but there is no big reason about it)
> 
> And it doesn't check thermal zone periodically (same as current
> behavior). You can exchange it by modifing polling-delay[-passive]
> property.
> 
> You can set trip temp if your kernel has CONFIG_THERMAL_WRITABLE_TRIPS,
> but you need to take care to use it, since it will call
> orderly_poweroff() it it reached to the value.
> echo $temp > /sys/class/thermal/thermal_zone0/trip_point_0_temp
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

I have marked this and the following shmobile patch as deffered
pending acceptance of the driver changes (earlier in the patchset).
Please repost the shmobile patches once that has occurred.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] enable to use thermal-zone on r8a7790/1 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> - 2015-12-04 04:20 +0100
  Re: [PATCH 2/4] thermal: rcar: enable to use thermal-zone on DT Manish Badarkhe <badarkhe.manish@gmail.com> - 2015-12-04 07:30 +0100
  Re: [PATCH 2/4] thermal: rcar: enable to use thermal-zone on DT Geert Uytterhoeven <geert@linux-m68k.org> - 2015-12-04 09:40 +0100
  Re: [PATCH 2/4] thermal: rcar: enable to use thermal-zone on DT Geert Uytterhoeven <geert@linux-m68k.org> - 2015-12-04 09:40 +0100
  Re: [PATCH 3/4] ARM: shmobile: r8a7790: enable to use thermal-zone Simon Horman <horms@verge.net.au> - 2015-12-07 07:40 +0100

csiph-web