From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756222AbcEYDuT (ORCPT ); Tue, 24 May 2016 23:50:19 -0400 Received: from mail-pa0-f68.google.com ([209.85.220.68]:33974 "EHLO mail-pa0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755646AbcEYDr7 (ORCPT ); Tue, 24 May 2016 23:47:59 -0400 From: Caesar Wang To: edubezval@gmail.com, linux-pm@vger.kernel.org Cc: Heiko Stuebner , dianders@chromium.org, briannorris@google.com, smbarber@google.com, linux-rockchip@lists.infradead.org, cf@rock-chips.com, huangtao@rock-chips.com, dmitry.torokhov@gmail.com, javi.merino@arm.com, peter@piie.net, Caesar Wang , linux-arm-kernel@lists.infradead.org, Keerthy , linux-doc@vger.kernel.org, Ni Wade , Jonathan Corbet , linux-kernel@vger.kernel.org, Andy Champ , Leo Yan , Laxman Dewangan , Zhang Rui , linux-omap@vger.kernel.org, Sascha Hauer Subject: [PATCH v3 0/5] Thermal: Support for hardware-tracked trip points Date: Wed, 25 May 2016 11:47:44 +0800 Message-Id: <1464148069-26254-1-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The history patches come from Mikko and Sascha. http://thread.gmane.org/gmane.linux.power-management.general/59451 Now, I pick them up to continue upstream. Nevermind! This series history patches: v2: https://lkml.org/lkml/2016/5/3/220 v1: https://lkml.org/lkml/2016/4/24/227 This series adds support for hardware trip points. It picks up earlier work from Mikko Perttunen. Mikko implemented hardware trip points as part of the device tree support. It was suggested back then to move the functionality to the thermal core instead of putting more code into the device tree support. This series does exactly that. This series patches rebase the conflicts. Note that the hardware-tracked trip points are very well tested currently. Verified and tested on https://github.com/Caesar-github/rockchip/tree/wip/fixes-thermal-0525 That's based on linux-kernel 20160524. Changes in v3: - as Javi comments on https://patchwork.kernel.org/patch/9001281/. - add the lock for preventing the called from multi placce - add the note for pre_low/high_trip. - as the Javi comments on https://patchwork.kernel.org/patch/9001311/. - add the select if they set the option for devicetree. - Add the peter's ACK. Changes in v2: - update the sysfs-api.txt for set_trips. - add the commit in patch[v2 2/5]. - Update the commit for patch[v2 4/5]. Caesar Wang (1): thermal: rockchip: add the set_trips function Sascha Hauer (4): thermal: Add support for hardware-tracked trip points thermal: of: implement .set_trips for device tree thermal zones thermal: streamline get_trend callbacks thermal: bang-bang governor: act on lower trip boundary Documentation/thermal/sysfs-api.txt | 7 +++ drivers/thermal/gov_bang_bang.c | 2 +- drivers/thermal/of-thermal.c | 30 ++++++++----- drivers/thermal/rockchip_thermal.c | 39 ++++++++++++++++ drivers/thermal/thermal_core.c | 52 ++++++++++++++++++++++ drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 25 ++++------- include/linux/thermal.h | 13 +++++- 7 files changed, 139 insertions(+), 29 deletions(-) -- 1.9.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Caesar Wang Subject: [PATCH v3 0/5] Thermal: Support for hardware-tracked trip points Date: Wed, 25 May 2016 11:47:44 +0800 Message-ID: <1464148069-26254-1-git-send-email-wxt@rock-chips.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: edubezval-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Heiko Stuebner , linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Laxman Dewangan , smbarber-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, Jonathan Corbet , linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, briannorris-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, Zhang Rui , Andy Champ , Caesar Wang , huangtao-TNX95d0MmH7DzftRWevZcw@public.gmane.org, Sascha Hauer , javi.merino-5wv7dgnIgG8@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Ni Wade , Keerthy , dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, peter-p08lbbvQ7EI@public.gmane.org, dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, Leo Yan , cf-TNX95d0MmH7DzftRWevZcw@public.gmane.org List-Id: linux-pm@vger.kernel.org The history patches come from Mikko and Sascha. http://thread.gmane.org/gmane.linux.power-management.general/59451 Now, I pick them up to continue upstream. Nevermind! This series history patches: v2: https://lkml.org/lkml/2016/5/3/220 v1: https://lkml.org/lkml/2016/4/24/227 This series adds support for hardware trip points. It picks up earlier work from Mikko Perttunen. Mikko implemented hardware trip points as part of the device tree support. It was suggested back then to move the functionality to the thermal core instead of putting more code into the device tree support. This series does exactly that. This series patches rebase the conflicts. Note that the hardware-tracked trip points are very well tested currently. Verified and tested on https://github.com/Caesar-github/rockchip/tree/wip/fixes-thermal-0525 That's based on linux-kernel 20160524. Changes in v3: - as Javi comments on https://patchwork.kernel.org/patch/9001281/. - add the lock for preventing the called from multi placce - add the note for pre_low/high_trip. - as the Javi comments on https://patchwork.kernel.org/patch/9001311/. - add the select if they set the option for devicetree. - Add the peter's ACK. Changes in v2: - update the sysfs-api.txt for set_trips. - add the commit in patch[v2 2/5]. - Update the commit for patch[v2 4/5]. Caesar Wang (1): thermal: rockchip: add the set_trips function Sascha Hauer (4): thermal: Add support for hardware-tracked trip points thermal: of: implement .set_trips for device tree thermal zones thermal: streamline get_trend callbacks thermal: bang-bang governor: act on lower trip boundary Documentation/thermal/sysfs-api.txt | 7 +++ drivers/thermal/gov_bang_bang.c | 2 +- drivers/thermal/of-thermal.c | 30 ++++++++----- drivers/thermal/rockchip_thermal.c | 39 ++++++++++++++++ drivers/thermal/thermal_core.c | 52 ++++++++++++++++++++++ drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 25 ++++------- include/linux/thermal.h | 13 +++++- 7 files changed, 139 insertions(+), 29 deletions(-) -- 1.9.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: wxt@rock-chips.com (Caesar Wang) Date: Wed, 25 May 2016 11:47:44 +0800 Subject: [PATCH v3 0/5] Thermal: Support for hardware-tracked trip points Message-ID: <1464148069-26254-1-git-send-email-wxt@rock-chips.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The history patches come from Mikko and Sascha. http://thread.gmane.org/gmane.linux.power-management.general/59451 Now, I pick them up to continue upstream. Nevermind! This series history patches: v2: https://lkml.org/lkml/2016/5/3/220 v1: https://lkml.org/lkml/2016/4/24/227 This series adds support for hardware trip points. It picks up earlier work from Mikko Perttunen. Mikko implemented hardware trip points as part of the device tree support. It was suggested back then to move the functionality to the thermal core instead of putting more code into the device tree support. This series does exactly that. This series patches rebase the conflicts. Note that the hardware-tracked trip points are very well tested currently. Verified and tested on https://github.com/Caesar-github/rockchip/tree/wip/fixes-thermal-0525 That's based on linux-kernel 20160524. Changes in v3: - as Javi comments on https://patchwork.kernel.org/patch/9001281/. - add the lock for preventing the called from multi placce - add the note for pre_low/high_trip. - as the Javi comments on https://patchwork.kernel.org/patch/9001311/. - add the select if they set the option for devicetree. - Add the peter's ACK. Changes in v2: - update the sysfs-api.txt for set_trips. - add the commit in patch[v2 2/5]. - Update the commit for patch[v2 4/5]. Caesar Wang (1): thermal: rockchip: add the set_trips function Sascha Hauer (4): thermal: Add support for hardware-tracked trip points thermal: of: implement .set_trips for device tree thermal zones thermal: streamline get_trend callbacks thermal: bang-bang governor: act on lower trip boundary Documentation/thermal/sysfs-api.txt | 7 +++ drivers/thermal/gov_bang_bang.c | 2 +- drivers/thermal/of-thermal.c | 30 ++++++++----- drivers/thermal/rockchip_thermal.c | 39 ++++++++++++++++ drivers/thermal/thermal_core.c | 52 ++++++++++++++++++++++ drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 25 ++++------- include/linux/thermal.h | 13 +++++- 7 files changed, 139 insertions(+), 29 deletions(-) -- 1.9.1