1. 16 Feb, 2016 2 commits
    • Kuninori Morimoto's avatar
      ARM: dts: r8a7791: enable to use thermal-zone · cac68a56
      Kuninori Morimoto authored
      This patch enables to use thermal-zone on r8a7791.
      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 modifying 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 reaches to the value.
      echo $temp > /sys/class/thermal/thermal_zone0/trip_point_0_temp
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      cac68a56
    • Kuninori Morimoto's avatar
      ARM: dts: r8a7790: enable to use thermal-zone · a8b805f3
      Kuninori Morimoto authored
      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 modifying 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 reaches to the value.
      echo $temp > /sys/class/thermal/thermal_zone0/trip_point_0_temp
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      a8b805f3
  2. 15 Feb, 2016 6 commits
  3. 09 Feb, 2016 32 commits