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: 8345861 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 B10DFC0553 for ; Thu, 18 Feb 2016 05:17:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E472B2037F for ; Thu, 18 Feb 2016 05:17:14 +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 1AA8D20375 for ; Thu, 18 Feb 2016 05:17:14 +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 1aWGwK-00081x-N2; Thu, 18 Feb 2016 05:15:44 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aWGvX-00063a-3a for linux-arm-kernel@lists.infradead.org; Thu, 18 Feb 2016 05:14:57 +0000 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> for linux-arm-kernel@lists.infradead.org; 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 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160217_211455_498092_A112993B X-CRM114-Status: GOOD ( 11.87 ) X-Spam-Score: -6.9 (------) 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: Viresh Kumar 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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