Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753483AbcDYDDM (ORCPT ); Sun, 24 Apr 2016 23:03:12 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:34654 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751781AbcDYDDK (ORCPT ); Sun, 24 Apr 2016 23:03:10 -0400 From: Caesar Wang To: edubezval@gmail.com Cc: Heiko Stuebner , dianders@chromium.org, briannorris@google.com, smbarber@google.com, linux-rockchip@lists.infradead.org, dmitry.torokhov@gmail.com, huangtao@rock-chips.com, eddie.cai@rock-chips.com, Caesar Wang , linux-pm@vger.kernel.org, Keerthy , linux-kernel@vger.kernel.org, Zhang Rui , linux-omap@vger.kernel.org Subject: [PATCH 0/4] Thermal: Support for hardware-tracked trip points Date: Mon, 25 Apr 2016 11:02:43 +0800 Message-Id: <1461553367-24744-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 Content-Length: 1478 Lines: 37 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! Tis 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-0425 That's based on linux-kernel 20160422. [ 0.000000] Linux version 4.6.0-rc4-next-20160422-00016-g0ac0bfb-dirty 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 drivers/thermal/gov_bang_bang.c | 2 +- drivers/thermal/of-thermal.c | 23 ++++++----- drivers/thermal/thermal_core.c | 48 ++++++++++++++++++++++ drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 25 ++++------- include/linux/thermal.h | 9 +++- 5 files changed, 78 insertions(+), 29 deletions(-) -- 1.9.1