Message ID | 1502353935-92924-1-git-send-email-kevin.wangtao@hisilicon.com |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2033007qge; Thu, 10 Aug 2017 01:39:59 -0700 (PDT) X-Received: by 10.84.231.131 with SMTP id g3mr12111174plk.283.1502354398956; Thu, 10 Aug 2017 01:39:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502354398; cv=none; d=google.com; s=arc-20160816; b=hYznGpXhgK8rzOPBFC0C+04z0GHdRSQw/YNVrQ/7Ch1LceZDYPYst799Ff/N/K/+q4 n26Glgla2oTCX6JC3pcab54c5FLVQAs37vc0+NOwGtI8S0Gmqvg9mPtZZmtK5V3/xMPC FzrkV9cIFJcxzdIbitMupZQae9p2rA/DLfAbP2+qkrrIfqoSVnGQkO4FA+wzPI/ycgd+ Ci8VwfOMtpK19sa8uz1eyqm/qsxZgkyk2+pVrG4crTrkxafY952/A8x78FkL80gseDfp aTpKpBdDerRUG1wSoKnAajgDL+aN43oev0uLeyt/o4KVvR7u0Tc/lRdzWdLDjEfTWZRz mp+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=l9dSOv/IejMiAwiUVSxEGL815SByBgWZw9CCoRix1hg=; b=Ye1C8WxRQrr1qVLXVO7VsyykXUeBAgxdL71Gnyx7fnvWPwQoK75dSFRo0hjAbMUmUg SqRf/WpUPpgCU6yRSqbAAwai1bU/m3m8sBKKqv9Swft1ZFZUP5AZcTAnVyvrPDm3TXVA NUeV66X877o+US+aO7Mtvxs2AkuMtNuS/UiMGFtUNQkM5HCip78KxCSOb0LegUMihDe+ 7np08CoYqs7qjJObMtHp2iZ/80tffK02HsPgDKsy8e7eS7HySIvcDS+i/hHGBP8NRYId TuE1mKlg/k3H2fojuv+8R7DCDkoOkzWDwMW6z2xhXK5Q06wBJ79fwUqM7HONjmfW5Pou KzQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Return-Path: <linux-pm-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l59si4104988plb.162.2017.08.10.01.39.58; Thu, 10 Aug 2017 01:39:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751469AbdHJIj5 (ORCPT <rfc822;thara.gopinath@linaro.org> + 12 others); Thu, 10 Aug 2017 04:39:57 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3489 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751449AbdHJIh4 (ORCPT <rfc822;linux-pm@vger.kernel.org>); Thu, 10 Aug 2017 04:37:56 -0400 Received: from 172.30.72.59 (EHLO DGGEMS409-HUB.china.huawei.com) ([172.30.72.59]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DEV49966; Thu, 10 Aug 2017 16:37:51 +0800 (CST) Received: from HSH1000038028.huawei.com (10.177.161.152) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.301.0; Thu, 10 Aug 2017 16:37:42 +0800 From: Tao Wang <kevin.wangtao@hisilicon.com> To: <rui.zhang@intel.com>, <edubezval@gmail.com>, <xuwei5@hisilicon.com>, <robh+dt@kernel.org>, <mark.rutland@arm.com>, <catalin.marinas@arm.com>, <will.deacon@arm.com> CC: <leo.yan@linaro.org>, <kevin.wangtao@linaro.org>, <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-pm@vger.kernel.org>, <sunzhaosheng@hisilicon.com> Subject: [PATCH v3 0/3] thermal: add thermal sensor driver for Hi3660 Date: Thu, 10 Aug 2017 16:32:12 +0800 Message-ID: <1502353935-92924-1-git-send-email-kevin.wangtao@hisilicon.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1498102923-68481-1-git-send-email-kevin.wangtao@hisilicon.com> References: <1498102923-68481-1-git-send-email-kevin.wangtao@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.161.152] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.598C1B61.001D, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 4a9a9b36bbc767179e4369e356ba8cf5 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org |
Series |
thermal: add thermal sensor driver for Hi3660
|
expand
|
From: Tao Wang <kevin.wangtao@linaro.org> This series adds thermal support for Hi3660 Soc, which support all the hardware temperture sensors and two virtual sensors(one for maximum value of all and one for average value of all). Patch 1 add dt-binding document to describe how to config dt for the driver. Patch 2 introduces the thermal sensor driver. Patch 3 add dts for the thermal senor driver on Hi3660. hardware document can be found on https://github.com/96boards/documentation/blob/master/ConsumerEdition/HiKey960/HardwareDocs/HiKey960_SoC_Reference_Manual.pdf Changes in v2: - correct alphabet order - correct compatible name - remove redundant property - rebase changes on linux next Changes in v3: - remove unnecessary log print - described all platform related parameters in DT - make the driver forward compatible Tao Wang (3): dt-bindings: Document the hi3660 thermal sensor bindings thermal: hisilicon: add thermal sensor driver for Hi3660 arm64: dts: register Hi3660's thermal sensor .../devicetree/bindings/thermal/hisi-tsensor.txt | 23 +++ arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 10 + drivers/thermal/Kconfig | 13 ++ drivers/thermal/Makefile | 1 + drivers/thermal/hisi_tsensor.c | 223 +++++++++++++++++++++ include/dt-bindings/thermal/hi3660-thermal.h | 30 +++ 6 files changed, 300 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/hisi-tsensor.txt create mode 100644 drivers/thermal/hisi_tsensor.c create mode 100644 include/dt-bindings/thermal/hi3660-thermal.h -- 2.8.1