From patchwork Tue Oct 10 18:02:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 115433 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp4040362qgn; Tue, 10 Oct 2017 11:06:24 -0700 (PDT) X-Received: by 10.159.218.9 with SMTP id v9mr2917154plp.92.1507658783903; Tue, 10 Oct 2017 11:06:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507658783; cv=none; d=google.com; s=arc-20160816; b=jKVzZklj5y/y1SqI8wfgq5wTK6/CjKWzubC+SIqYIvNgmflR5+fUw84sD7deqSytsw FimnU8feTBhPtiLq/x+Qt8+PowjJbbcu5PLpCljDbd2Hq8/xUGWQg6irCoPtLiNhWnez 0NGBtDcwn4key8r8rdNWUqKAhF4weyVATFM1UytsgMO1UQHP9DWvFnxmWnA1xLpFwbth qywm64wHa79MNX7CDRlUFQ0GpavSCGcwRJ8RTc8+cc8ZgZ8IUwg/Y1N5IL7D7WvKX+Ed hTnMEeuYrTuBblFiaFijQzoNyZEkGKXOv4lNN+GD7Dbf5ZYLd9WnizUXL6IOBAETci9F CPDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=bcflMul2zzWYzBMPwbitdnRZF0XK0H8pDK/EGgwgGc4=; b=P/I+KnsdZu6qGWUH1203kEzQ0hUqaK6cHHAZwL7WN2/7lLFRJwW72klGI+YgmGyyIC 8jewDKrsdgRWLxT3ZpaHhxFShyqOB/Zr0BE3S+chDkN0r36/XxfuIYNSqfPt7tnaB8dl qY2AyMFxxAUuH6LA/E8ieAblGq+tWkbY1DBLfig0gvUOQzV1jGdRNbp1YJtSxzWZN8mo 52z5fHEU4jDoS8/xV19JFzaXxTE4T+BLqJYgyQKx1Jw7XFLuoZB/nvFGuHVr8PH0z/Wh uoIY3kw4XEsHwZTyvMtLlozGyYxu/vG1XAjvrvbl0T5my/0r49jgtxLd6J6k3e/vFa7I X52A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=i8bFPfr9; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si1401557pgq.230.2017.10.10.11.06.23; Tue, 10 Oct 2017 11:06:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=i8bFPfr9; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932682AbdJJSGW (ORCPT + 6 others); Tue, 10 Oct 2017 14:06:22 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:50844 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932697AbdJJSFY (ORCPT ); Tue, 10 Oct 2017 14:05:24 -0400 Received: by mail-wm0-f49.google.com with SMTP id u138so7494747wmu.5 for ; Tue, 10 Oct 2017 11:05:24 -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=Gtu5WXxl2+ypItHhwGcwnAKHma/PHRYbdv7XnwK9BXI=; b=i8bFPfr9d8CZWVK0JRaioY1NBxyxN9mNHWh2VoKimUUmlDR9dbDIzpn8WHAkwn5Qnc VcqU8bNdYFKvcYtNVPWZ9LUFEVREKVDu/D3uUxB9kuuB2T+KnShmmSAR5vlUYtZjBop4 ww2bt81FZk6SC2bkLvM2ahEAWy3JvD5iOn9RU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Gtu5WXxl2+ypItHhwGcwnAKHma/PHRYbdv7XnwK9BXI=; b=Wi+AMxec2/+VH9T+AIxGr0KD/KBtTHlItcZhVXj98y8Fh7Y7VIMBX/9udP0+obwCi+ 6bTYRCfTKrgwEeiBX8cUBf5zuqxOFU5S4uIEeFdLXZ6w/6QDt6YecPcrXTcBeplx9WhK xccD27DqEi3wF0k7rqIIMMS7yM4DUfHk3muzHAXeLS5g9RvA+3KjDB2M6mQEB3z1EYjY SLBx0Nn+cG6ZrQjr/PJOZtAF1xd2eIz9AsMxiIptxvwQW3CkwbinA7PVEEGGOlJVr/sv eNn0J9mDPEwD5DVH+Sp+pZMnDeVeN5p7Odt9bKYoZJ0Jj33ZHYbnxFmQv/LDEahV9yNP pgJw== X-Gm-Message-State: AMCzsaXrzMsKp0bRKQTq9cnkAa3EBFivRppKXCuSa8JTsJSHLPXzbThQ jxASFdkSoBiYf3l2nAaJKWtY4g== X-Google-Smtp-Source: AOwi7QDCQU40ol+QMsHoMT3dXubqNMPvtDRxZqCZdGXwD8NRKubPrNnuX1qAd3Of4fmKMSWQnJNKIA== X-Received: by 10.223.153.130 with SMTP id y2mr12585538wrb.165.1507658723423; Tue, 10 Oct 2017 11:05:23 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:4f9:3ae1:43d2:31ae]) by smtp.gmail.com with ESMTPSA id l73sm12513428wmd.47.2017.10.10.11.05.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Oct 2017 11:05:22 -0700 (PDT) From: Daniel Lezcano To: edubezval@gmail.com, rui.zhang@intel.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, kevin.wangtao@linaro.org, Rob Herring , Rob Herring , Mark Rutland , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Subject: [PATCH 23/25] dt-bindings: Document the hi3660 thermal sensor binding Date: Tue, 10 Oct 2017 20:02:48 +0200 Message-Id: <1507658570-32675-23-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507658570-32675-1-git-send-email-daniel.lezcano@linaro.org> References: <79a5f10c-0fb7-3e4f-caac-c1625904b137@linaro.org> <1507658570-32675-1-git-send-email-daniel.lezcano@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Kevin Wangtao This adds documentation of device tree bindings for the thermal sensor controller of hi3660 SoC. Signed-off-by: Kevin Wangtao Signed-off-by: Daniel Lezcano Acked-by: Rob Herring --- Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt b/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt index d48fc52..cef716a 100644 --- a/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt @@ -13,6 +13,7 @@ Example : +for Hi6220: tsensor: tsensor@0,f7030700 { compatible = "hisilicon,tsensor"; reg = <0x0 0xf7030700 0x0 0x1000>; @@ -21,3 +22,11 @@ Example : clock-names = "thermal_clk"; #thermal-sensor-cells = <1>; } + +for Hi3660: + tsensor: tsensor@fff30000 { + compatible = "hisilicon,hi3660-tsensor"; + reg = <0x0 0xfff30000 0x0 0x1000>; + interrupts = ; + #thermal-sensor-cells = <1>; + };