[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1503994666-13954-1-git-send-email-kevin.wangtao@hisilicon.com>
Date: Tue, 29 Aug 2017 16:17:43 +0800
From: Tao Wang <kevin.wangtao@...ilicon.com>
To: <rui.zhang@...el.com>, <edubezval@...il.com>, <robh+dt@...nel.org>,
<mark.rutland@....com>, <xuwei5@...ilicon.com>,
<catalin.marinas@....com>, <will.deacon@....com>
CC: <leo.yan@...aro.org>, <kevin.wangtao@...aro.org>,
<linux-pm@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<sunzhaosheng@...ilicon.com>, <gengyanping@...ilicon.com>
Subject: [PATCH v4 0/3] thermal: add thermal sensor driver for Hi3660
From: Tao Wang <kevin.wangtao@...aro.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.
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
Changes in v4:
- add more description about the sensor in Documentation
- correct dts property name
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 | 37 ++++
arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 14 ++
drivers/thermal/Kconfig | 13 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/hisi_tsensor.c | 209 +++++++++++++++++++++
include/dt-bindings/thermal/hi3660-thermal.h | 31 +++
6 files changed, 305 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
Powered by blists - more mailing lists