Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752124AbdFTDpK (ORCPT ); Mon, 19 Jun 2017 23:45:10 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:8351 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751865AbdFTDo5 (ORCPT ); Mon, 19 Jun 2017 23:44:57 -0400 From: Tao Wang To: , , , , , , CC: , , , , , , Tao Wang Subject: [PATCH 3/3] arm64: dts: register Hi3660's thermal sensor Date: Tue, 20 Jun 2017 11:40:35 +0800 Message-ID: <1497930035-60894-3-git-send-email-kevin.wangtao@hisilicon.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1497930035-60894-1-git-send-email-kevin.wangtao@hisilicon.com> References: <1497930035-60894-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.0A020203.59489A37.0063,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: 3009be590dde83409391fe2610d8c6d0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 739 Lines: 27 Bind thermal sensor driver for Hi3660. Signed-off-by: Tao Wang Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 3983086..cc67958 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -156,5 +156,12 @@ clock-names = "uartclk", "apb_pclk"; status = "disabled"; }; + + tsensor: tsensor { + compatible = "hisilicon,thermal-hi3660"; + reg = <0x0 0xfff30000 0x0 0x1000>; + #thermal-sensor-cells = <1>; + status = "ok"; + }; }; }; -- 1.7.9.5