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: 9996911 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5F49B603FF for ; Tue, 10 Oct 2017 18:06:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4FA5B286CB for ; Tue, 10 Oct 2017 18:06:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 446E328708; Tue, 10 Oct 2017 18:06:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8FB6286CB for ; Tue, 10 Oct 2017 18:06:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932697AbdJJSGW (ORCPT ); Tue, 10 Oct 2017 14:06:22 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:47406 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932695AbdJJSFY (ORCPT ); Tue, 10 Oct 2017 14:05:24 -0400 Received: by mail-wm0-f41.google.com with SMTP id t69so7543862wmt.2 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=oFEibHiyjUy4cbhaNXpG3g+PZr1Yjei2u6jnHeP48yv8sW1yB3vtOYB901SxcbECsV tXZKMwD5G6WRQij5vwovubcku24bQ6S3sozCy/nMhpH8787ihL69dkQcRnEn5el3K2TB HL/trxrUXmhFZRAMtkeZszfFQ2nY/KxTbZkwTwUVkU471uzLVppbcWWhIRxflQoiPtUK Y51d5ujg1fSdNwZ780EEBvaQ1ZyPWBLNG2NKbdUXVp0BFHsW6PYYXQGAeDwrWITPQURF GvU379j5Ul0xJQHRcHF2DdBbdBy9zA/tf1V/a90icIU3+jediveNyhOtLvPoUQqkJMAZ lbxQ== X-Gm-Message-State: AMCzsaWem1l8r/PYAR8JAGfVuN1ml9sEzVBPwDRgL7mhcg10DfSfPgk9 Bhe53sAp6wagPWMakn91Puh5Fw== 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: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>; + };