Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752669AbdFVDqn (ORCPT ); Wed, 21 Jun 2017 23:46:43 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:7920 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752062AbdFVDqc (ORCPT ); Wed, 21 Jun 2017 23:46:32 -0400 From: Tao Wang To: , , , , , , CC: , , , , , , Tao Wang Subject: [Patch v2 3/3] arm64: dts: register Hi3660's thermal sensor Date: Thu, 22 Jun 2017 11:42:03 +0800 Message-ID: <1498102923-68481-3-git-send-email-kevin.wangtao@hisilicon.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1498102923-68481-1-git-send-email-kevin.wangtao@hisilicon.com> References: <1497930035-60894-3-git-send-email-kevin.wangtao@hisilicon.com> <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.0A020202.594B3D92.00D1,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: 4e35a6c70dd446c2d19deab79e2bc533 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 752 Lines: 29 Bind thermal sensor driver for Hi3660. Signed-off-by: Tao Wang Signed-off-by: Leo Yan --- Changes in v2: - rebase changes on linux next arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index c6a1961..a6a1e01 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -848,5 +848,11 @@ &sdio_cfg_func>; status = "disabled"; }; + + tsensor: tsensor { + compatible = "hisilicon,hi3660-thermal"; + reg = <0x0 0xfff30000 0x0 0x1000>; + #thermal-sensor-cells = <1>; + }; }; }; -- 1.7.9.5