lkml.org 
[lkml]   [2015]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] thermal: rcar: add .set_trip_temp support
On Wed, Nov 25, 2015 at 05:42:27AM +0000, Kuninori Morimoto wrote:
>
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> You can set trip temp if your kernel has CONFIG_THERMAL_WRITABLE_TRIPS
>
> echo $temp > /sys/class/thermal/thermal_zone0/trip_point_0_temp
>
> -45000 < $temp < 125000 is supported
> Default is 90000
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> This patch is v2 of "[PATCH] thermal: rcar: enable to set tripN-temp via DT"
> I think it will be full-DT feature if it uses of-thermal, but this driver is used
> from non-DT SoC too. We would like to keep non-DT support.
> And we would like to do is only exchange trip temp.
> .set_trip_temp is very enouth for it at this point.
> But, it can use of-thermal feature in the future.

Kuninori,


According to discussion on your first version [1], this patch is not needed
anymore, right?

If you want to add the support for writable trip points, please, add the
support to of-thermal, as this driver supports only DT booting boards.


[1] - https://lkml.org/lkml/2015/11/25/888
>


\
 
 \ /
  Last update: 2015-11-30 20:01    [W:0.579 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site