From patchwork Thu Feb 18 05:14:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 8345741 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 BD08BC0553 for ; Thu, 18 Feb 2016 05:15:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 081DC20376 for ; Thu, 18 Feb 2016 05:15:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2945020357 for ; Thu, 18 Feb 2016 05:15:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424740AbcBRFPP (ORCPT ); Thu, 18 Feb 2016 00:15:15 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:29925 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756568AbcBRFOf (ORCPT ); Thu, 18 Feb 2016 00:14:35 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O2Q00I169885790@mailout1.w1.samsung.com>; Thu, 18 Feb 2016 05:14:33 +0000 (GMT) X-AuditID: cbfec7f4-f79026d00000418a-63-56c55338a627 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 4B.FB.16778.83355C65; Thu, 18 Feb 2016 05:14:32 +0000 (GMT) Received: from localhost.localdomain ([10.113.63.52]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O2Q00A8R97ZRX10@eusync3.samsung.com>; Thu, 18 Feb 2016 05:14:32 +0000 (GMT) From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Lukasz Majewski , Zhang Rui , Eduardo Valentin , linux-pm@vger.kernel.org Cc: Viresh Kumar Subject: [PATCH 2/3] thermal: exynos: Document number of supported trip-points Date: Thu, 18 Feb 2016 14:14:19 +0900 Message-id: <1455772460-20684-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 2.5.0 In-reply-to: <1455772460-20684-1-git-send-email-k.kozlowski@samsung.com> References: <1455772460-20684-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrDLMWRmVeSWpSXmKPExsVy+t/xq7oWwUfDDN7utbCYf+Qcq8X8K9dY LV6/MLTof/ya2eLNw82MFpseA4Uu75rDZvG59wijxYzz+5gsnjzsY7PY+NXDgdtj56y77B6L 97xk8ti0qpPN4861PWwem5fUe/RtWcXo8XmTXAB7FJdNSmpOZllqkb5dAlfG1l032Armc1Wc O1fRwPiEo4uRg0NCwETi6irVLkZOIFNM4sK99WxdjFwcQgJLGSV2N85hgnD+M0o8e/WTHaSK TcBYYvPyJWBVIgKvmCRuTjgFlmAW0JJYe/o2M8hUYQE/ic8/DUDCLAKqEsc3vmYEsXkF3CVu 7r7JDLFYTmLBhXSQMKeAh8SGvYfYQGwhoJJv86ewTGDkXcDIsIpRNLU0uaA4KT3XUK84Mbe4 NC9dLzk/dxMjJAy/7GBcfMzqEKMAB6MSDy/H6yNhQqyJZcWVuYcYJTiYlUR4v7kfDRPiTUms rEotyo8vKs1JLT7EKM3BoiTOO3fX+xAhgfTEktTs1NSC1CKYLBMHp1QD45ppj4+8Xr9995d1 z69MnnItKVKiL68r2szno1n1aoFvBrncH98FbbYzCXl4U81zYmL0T0XXPfHHuSoP3La+v1P5 VbvcqqY7U/9M3KuSkJMjJvlrUa5uS4nirvtnE7d8eNtZkFFnessoMuWQEN+bxbH3DcRK9C9d 3RqZNfHs8uktzWemNlRs71FiKc5INNRiLipOBABOpZKlPwIAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Document the number of configurable temperature thresholds (for trip-points in interrupt-driven mode). Signed-off-by: Krzysztof Kozlowski Reviewed-by: Chanwoo Choi Acked-by: Rob Herring --- Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt index 34315d7fbfde..faa62059b5c5 100644 --- a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt @@ -44,6 +44,14 @@ - vtmu-supply: This entry is optional and provides the regulator node supplying voltage to TMU. If needed this entry can be placed inside board/platform specific dts file. + +The Exynos TMU supports generating interrupts when reaching given +temperature thresholds. Number of supported thermal trip points depends +on the SoC (only first trip points defined in DT will be configured): + - most of SoC: 4 + - samsung,exynos5433-tmu: 8 + - samsung,exynos7-tmu: 8 + Following properties are mandatory (depending on SoC): - samsung,tmu_gain: Gain value for internal TMU operation. - samsung,tmu_reference_voltage: Value of TMU IP block's reference voltage