From patchwork Tue Mar 29 11:27:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 8685951 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B51A4C0553 for ; Tue, 29 Mar 2016 11:30:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D48C12010C for ; Tue, 29 Mar 2016 11:30:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0C74820103 for ; Tue, 29 Mar 2016 11:30:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1akrpc-0004CP-7x; Tue, 29 Mar 2016 11:29:08 +0000 Received: from mail-vk0-x22d.google.com ([2607:f8b0:400c:c05::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1akrp4-0003kM-9G for linux-arm-kernel@lists.infradead.org; Tue, 29 Mar 2016 11:28:36 +0000 Received: by mail-vk0-x22d.google.com with SMTP id k1so14274074vkb.0 for ; Tue, 29 Mar 2016 04:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UdmFJdZuAK0PI0pc4/yM/4lz2CW//OxAbA5pSqAdzEQ=; b=EyisolHLoCB/bR7QiPe65gzpMg3MIM6/br75jNpwOJTevzycDYV5oe8iuyfDoFmQ8S hMhO2an2REdXioE8WqCNkOiDN1EO9nbZZss7nv6nudhrgL/o2PJWmbtmKMgzVs8qZNzR kQl3anyYEQBOjk9XUQjehcCPIn7W1LC2VkxtQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UdmFJdZuAK0PI0pc4/yM/4lz2CW//OxAbA5pSqAdzEQ=; b=S/44T2azAVxdLhieSUxv4UKUi0V4f/PYO7qb85Rt23C/nE11pBkFvw7BNIypENDAiQ 1dPnMfVheEGmd4/09TBbqxyD6PatKtgljYMc9o/U6dhiE7HvkwC3Fu8RBHt2I1llprVI X1sIFsBhBU6/sJJF0EMobcmvaBoGqOUm1dYH7Xz49VpmqU6/C2qWuG2U/VIARaqhn5bm vcS+6g/nvh/dXjPZnXwOMNsF6UFOrsyZWoHFNKkUuBHlqaDYXfNKYB/TiAAMol4yVRqa Q3wEmOqESoO3MGmot+OyLJKxAQ+y2tQTCrzCNgwb77Ou3xz1T+hNVuaRzvQVBIRsS0yL bIKA== X-Gm-Message-State: AD7BkJIidcj90D7qI5TIgJpsaamZu00XWdwnGGQxah176v4J47Et4XvdWB6VSNOBrSe+3d3p X-Received: by 10.31.5.71 with SMTP id 68mr818751vkf.25.1459250892422; Tue, 29 Mar 2016 04:28:12 -0700 (PDT) Received: from leoy-linaro.a1.60in.com ([66.155.104.79]) by smtp.gmail.com with ESMTPSA id 97sm4665954uat.9.2016.03.29.04.28.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Mar 2016 04:28:11 -0700 (PDT) From: Leo Yan To: Wei Xu , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Zhang Rui , Eduardo Valentin Subject: [PATCH v3 3/4] arm64: dts: register Hi6220's thermal sensor Date: Tue, 29 Mar 2016 19:27:14 +0800 Message-Id: <1459250835-25561-4-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459250835-25561-1-git-send-email-leo.yan@linaro.org> References: <1459250835-25561-1-git-send-email-leo.yan@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160329_042834_638239_6D74EBF2 X-CRM114-Status: GOOD ( 10.69 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Leo Yan , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Bind thermal sensor driver for Hi6220. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index f588be9..50ba1b0 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -313,5 +313,14 @@ interrupts = ; #mbox-cells = <3>; }; + + tsensor: tsensor@0,f7030700 { + compatible = "hisilicon,tsensor"; + reg = <0x0 0xf7030700 0x0 0x1000>; + interrupts = ; + clocks = <&sys_ctrl 22>; + clock-names = "thermal_clk"; + #thermal-sensor-cells = <1>; + }; }; };