From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751137AbaIQEA0 (ORCPT ); Wed, 17 Sep 2014 00:00:26 -0400 Received: from regular1.263xmail.com ([211.150.99.137]:52434 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750799AbaIQEAU (ORCPT ); Wed, 17 Sep 2014 00:00:20 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ABS-CHECKED: 4 X-KSVirus-check: 0 X-RL-SENDER: wxt@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: wxt@rock-chips.com X-UNIQUE-TAG: <27c5086cf56f090f922098a53c7d8dc4> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Caesar Wang To: heiko@sntech.de, rui.zhang@intel.com, edubezval@gmail.com, arnd@arndb.de Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, huangtao@rock-chips.com, cf@rock-chips.com, dianders@chromium.org, dtor@chromium.org, dmitry.torokhov@gmail.com, addy.ke@rock-chips.com, zyf@rock-chips.com, cjf@rock-chips.com, Caesar Wang Subject: [PATCH v5 0/4] Rockchip soc thermal driver Date: Wed, 17 Sep 2014 11:59:09 +0800 Message-Id: <1410926353-15674-1-git-send-email-caesar.wang@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 Patch fix some code-style from Eduardo's and Heiko's omments. But, The rui.zhang, Eduardo and Heiko are talking about hw-shut-temp The Patch isn't still fix it. Changes in v5: * address comments from Eduardo Valentin,rui.zhang and Heiko Stubner: - with BIT() macro - manage clocks in suspend/resume. - license is fixed as GPLv2 . - #include "thermal_core.h"->#include - use the generic trip-points.the hw-shut-temp isn't generic trip-points. - The method of binding and unbinding be fixed. - The pin-name tsadc->otp_out Changes in v4: * address comments from Jonathan Cameron,huangtao and zhaoyifeng: - this series thermal driver still be put in driver/thermal/ - modify the thermal driver description. Changes in v3:(add dts configure) * address comments from Dmitry Torokhov and Arnd Bergmann: - fix clock-names in rockchip-thermal.txt - remove rockchip_thermal_control() in rockchip_set_mode() - fix some code style. - add dts configure. Changes in v2: * address comments from Heiko Stubner: - fix dt-bindings in rockchip-thermal.txt - remove Author mark - rename TSADC_XXX->TSADCV2_XXX,it eill ready to merge compatible other SoCs. - fix a identation - remove clk_set_rate(),it's no necessary. - fix the SIMPLE_DEV_PM_OPS() function style. Tested on rk3288 SDK board Caesar Wang (4): thermal: rockchip: add driver for Thermal dt-bindings: document Rockchip thermal ARM: dts: add main Thermal info to rk3288 ARM: dts: enable Thermal on rk3288-evb board .../bindings/thermal/rockchip-thermal.txt | 41 ++ arch/arm/boot/dts/rk3288-evb.dtsi | 18 + arch/arm/boot/dts/rk3288.dtsi | 18 + drivers/thermal/Kconfig | 9 + drivers/thermal/Makefile | 1 + drivers/thermal/rockchip_thermal.c | 790 +++++++++++++++++++++ 6 files changed, 877 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/rockchip-thermal.txt create mode 100644 drivers/thermal/rockchip_thermal.c -- 1.9.1