From patchwork Fri Feb 26 03:43:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 62922 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp502596lbc; Thu, 25 Feb 2016 19:46:24 -0800 (PST) X-Received: by 10.98.80.91 with SMTP id e88mr67734044pfb.62.1456458379353; Thu, 25 Feb 2016 19:46:19 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id va5si16769887pac.165.2016.02.25.19.46.19; Thu, 25 Feb 2016 19:46:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932281AbcBZDqP (ORCPT + 11 others); Thu, 25 Feb 2016 22:46:15 -0500 Received: from mail-pf0-f175.google.com ([209.85.192.175]:34105 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932275AbcBZDqL (ORCPT ); Thu, 25 Feb 2016 22:46:11 -0500 Received: by mail-pf0-f175.google.com with SMTP id x65so44422062pfb.1 for ; Thu, 25 Feb 2016 19:46:11 -0800 (PST) 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=HBTI1SJ5Xew2fdXIzu3m23LZW0Tp7i1w/pME8LKLONZIIkvS4CgJ80/smwKh+EeMwT BiNqqsOfbCiipfy+zeOxKdJ+t6dcHl12Anxmfq4rxewjsCVy33/ICQSQpKT1ab1qZATx KQJupDtO+4uB1pgWnK6r9YItMsOMLCH5QGUeo= 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=cuj4iIFLe20EPnreuuNFOjaG+FxAsL/KZ4Nx5FRvDOEQCI7nsHO9xbApzOvzWr2AV9 J6icC+2HFQCkz+ADdX6cueFbw2x3ue7qw7ArhG6nVtjo98D/jkdyIu0RIiOvg/pH3N8P fJbtaOIAlFCYUzvfEukbd0byvhNMjYbBF30t40htcH8e3nvlvfpLC5aINLkZdN70I1UQ qfigFJ3yT8PDpJNDYcpOZYUdcHcgmJPxCK9LrX7UNjzD36R3zxpOxGIRyBkeX9ZlrTZ7 rkRpOMN5GYAyKaePI/akMRJf6wiPakAylKNstkF9YKct0jmO8j1Z2ClECsQJDDThWgX3 ZHcQ== X-Gm-Message-State: AG10YOSphgISZ/8NhB+6WiMjfsGDtQdPV/WApKG5wUMiBWtmkXve80uEZcpqH4FeVdFIshX8 X-Received: by 10.98.70.28 with SMTP id t28mr67978585pfa.110.1456458371098; Thu, 25 Feb 2016 19:46:11 -0800 (PST) Received: from leoy-linaro.a1.60in.com (li401-178.members.linode.com. [106.187.51.178]) by smtp.gmail.com with ESMTPSA id fn3sm15295884pab.20.2016.02.25.19.46.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 19:46:09 -0800 (PST) From: Leo Yan To: Wei Xu , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Zhang Rui , Eduardo Valentin , kongxinwei , Javi Merino , Punit Agrawal Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Leo Yan Subject: [PATCH v2 4/5] arm64: dts: register Hi6220's thermal sensor Date: Fri, 26 Feb 2016 11:43:46 +0800 Message-Id: <1456458227-12950-5-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456458227-12950-1-git-send-email-leo.yan@linaro.org> References: <1456458227-12950-1-git-send-email-leo.yan@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Bind thermal sensor driver for Hi6220. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; + }; }; };