Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752162AbdGDLD5 (ORCPT ); Tue, 4 Jul 2017 07:03:57 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:9273 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751954AbdGDLDz (ORCPT ); Tue, 4 Jul 2017 07:03:55 -0400 From: "Wangtao (Kevin, Kirin)" To: Eduardo Valentin CC: "rui.zhang@intel.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "xuwei (O)" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "Sunzhaosheng Sun(Zhaosheng)" , "leo.yan@linaro.org" Subject: RE: [Patch v2 1/3] dt-bindings: Document the hi3660 thermal sensor bindings Thread-Topic: [Patch v2 1/3] dt-bindings: Document the hi3660 thermal sensor bindings Thread-Index: AQHS6wocKPNIeeskC0OQBi9LBXhAdqI90aEAgAW/OkA= Date: Tue, 4 Jul 2017 11:03:22 +0000 Message-ID: <68C6844FB78C6946B9DB8EACE2D237B0985B5A3B@dggeml507-mbx.china.huawei.com> References: <1497930035-60894-3-git-send-email-kevin.wangtao@hisilicon.com> <1498102923-68481-1-git-send-email-kevin.wangtao@hisilicon.com> <20170701030534.GB11424@localhost.localdomain> In-Reply-To: <20170701030534.GB11424@localhost.localdomain> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.142.50.241] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090206.595B7606.012E,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=169.254.2.127, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 7d243d62fa3fcedb7d8956e832d023b8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v64B4HK5016495 Content-Length: 1675 Lines: 53 On 2017/7/1 11:06, "Eduardo Valentin" wrote: > > On Thu, Jun 22, 2017 at 11:42:01AM +0800, Tao Wang wrote: > > This adds documentation of device tree bindings for the > > thermal sensor controller of hi3660 SoC. > > > > Signed-off-by: Tao Wang > > --- > > Changes in v2: > > - remove redundant property > > > > .../devicetree/bindings/thermal/hi3660-thermal.txt | 16 > ++++++++++++++++ > > 1 file changed, 16 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/thermal/hi3660- > thermal.txt > > > > diff --git a/Documentation/devicetree/bindings/thermal/hi3660- > thermal.txt b/Documentation/devicetree/bindings/thermal/hi3660- > thermal.txt > > new file mode 100644 > > index 0000000..f3dddcf > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/thermal/hi3660-thermal.txt > > @@ -0,0 +1,16 @@ > > +* Temperature Sensor on hisilicon hi3660 SoC > > + > > Would you mind add some more description of the sensors/where to find > further hardware documentation? Sure, documentation is on https://github.com/96boards/documentation/blob/master/ConsumerEdition/HiKey960/HardwareDocs/HiKey960_SoC_Reference_Manual.pdf > > > +** Required properties : > > + > > +- compatible: "hisilicon,thermal-hi3660". > > +- reg: physical base address of thermal sensor and length of memory > mapped > > + region. > > +- #thermal-sensor-cells: Should be 1. See ./thermal.txt for a description. > > + > > +Example : > > + > > + tsensor: tsensor { > > + compatible = "hisilicon,thermal-hi3660"; > > + reg = <0x0 0xfff30000 0x0 0x1000>; > > + #thermal-sensor-cells = <1>; > > + }; > > -- > > 1.7.9.5 > >