From patchwork Fri Sep 22 09:42:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wangtao \(Kevin, Kirin\)" X-Patchwork-Id: 114002 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp3082328qgf; Fri, 22 Sep 2017 02:49:47 -0700 (PDT) X-Google-Smtp-Source: AOwi7QA1GGxeuk3+CkjJaSE/fMOXROaHJrPHQW7b8g7S2un458OoCAqaRVSrXzhQkIkhaSxYIy5s X-Received: by 10.98.101.4 with SMTP id z4mr8678193pfb.6.1506073787321; Fri, 22 Sep 2017 02:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506073787; cv=none; d=google.com; s=arc-20160816; b=qo6EbzovJ7Uf1LwbkTzw7QG/+4At8I+4xVptj46l6puIs7xM3g71m7Y9eWcf/o/v8i hPJLDo06s44vebHhBSw81ji0pZhEiAXHKSD9sF1H9XrNSJoDHV6DF1QzIopsJIyYtGe7 uNK+A1xiobEY5rFnbUXAY9V1OuS6IE6H3znizK8LjbbIOlFTtZTrZjQ6fPqcyTl1Cbho wEUKBb1YwQuG7Qd5u4XVfTkoyvcQKffzpp4PkE/bo1NN8YkV/ltIBjXrlO9UzbCDZx51 /W0wdTJk0TyLdnt1Dkv0TTFf5mJAfSzTFXQ4jkftl/KT5w7BCCWntRfaQPYs7OhUxJZi iiVg== 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=phrD05wtI88DqityTdiSXpO8Oc2IbRxBPvvnpz0vXw4=; b=sWdItM/aUCpewBCLjSkS4eeO+sEE/jTstrCSPUQ0ofNeEvYpM3K/l+L6J93qozK3mn 85Ej0Edo2yJzHkRszGIz5x5zInIcjp87yaDYfU79eTOGunXZtqtoGpe29nN8XGEy2NWJ TYfKBbWUe4mURbMFDn3kgS2DRRCyRao/qjk3pZHISsvZn+kAGM9gidswQ46FH3Fn4GfO gHaKu96SwsbQvnke+BpdFOnsC8HQrV2g/Rp3yW+5NVEGcIZ34/KaYpxUs9rzV+j/5gIe A7T6R+iQD5JCRdcSW1I5faL34OuD/890bvGeVQMhdShs01lCy36B5bxTBxRyhHNs2a3w VdFg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5si2644343plk.379.2017.09.22.02.49.47; Fri, 22 Sep 2017 02:49:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752169AbdIVJtp (ORCPT + 26 others); Fri, 22 Sep 2017 05:49:45 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:6549 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751878AbdIVJtm (ORCPT ); Fri, 22 Sep 2017 05:49:42 -0400 Received: from 172.30.72.58 (EHLO DGGEMS403-HUB.china.huawei.com) ([172.30.72.58]) by dggrg05-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DHV05261; Fri, 22 Sep 2017 17:49:30 +0800 (CST) Received: from HSH1000038028.huawei.com (10.177.161.152) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.301.0; Fri, 22 Sep 2017 17:49:21 +0800 From: Tao Wang To: , , , , , , CC: , , , , , , , , , , , Kevin Wangtao Subject: [PATCH 9/9] arm64: dts: register Hi3660's thermal sensor Date: Fri, 22 Sep 2017 17:42:12 +0800 Message-ID: <1506073332-92438-10-git-send-email-kevin.wangtao@hisilicon.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1506073332-92438-1-git-send-email-kevin.wangtao@hisilicon.com> References: <1506073332-92438-1-git-send-email-kevin.wangtao@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.177.161.152] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.59C4DCAB.0010, 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: 530aa0e6c9277b5f24131f8b0b52bfb8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kevin Wangtao add binding for tsensor on H3660, this tsensor is used for SoC thermal control, it supports alarm interrupt. Signed-off-by: Kevin Wangtao --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.8.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index b7a90d6..ae90991 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -978,5 +978,13 @@ clocks = <&crg_ctrl HI3660_OSC32K>; clock-names = "apb_pclk"; }; + + tsensor: tsensor@fff30000 { + compatible = "hisilicon,hi3660-tsensor"; + reg = <0x0 0xfff30000 0x0 0x1000>; + interrupts = ; + #thermal-sensor-cells = <1>; + }; + }; };