From patchwork Fri Jan 16 11:30:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 5647701 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A24619F357 for ; Fri, 16 Jan 2015 11:32:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C2E70201F5 for ; Fri, 16 Jan 2015 11:32:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5251B201EC for ; Fri, 16 Jan 2015 11:32:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751904AbbAPLc2 (ORCPT ); Fri, 16 Jan 2015 06:32:28 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:27553 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754711AbbAPLc0 (ORCPT ); Fri, 16 Jan 2015 06:32:26 -0500 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NI90041VPE1EJB0@mailout1.samsung.com>; Fri, 16 Jan 2015 20:32:25 +0900 (KST) X-AuditID: cbfee61b-f79d76d0000024d6-bc-54b8f6c91d31 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7B.AC.09430.9C6F8B45; Fri, 16 Jan 2015 20:32:25 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NI900IFIPBRV790@mmp1.samsung.com>; Fri, 16 Jan 2015 20:32:25 +0900 (KST) From: Lukasz Majewski To: Eduardo Valentin , Zhang Rui , Kukjin Kim , Kukjin Kim Cc: Linux PM list , "linux-samsung-soc@vger.kernel.org" , Bartlomiej Zolnierkiewicz , Lukasz Majewski , Amit Daniel Kachhap , Abhilash Kesavan , Kyungmin Park , Chanwoo Choi , Abhilash Kesavan , Lukasz Majewski Subject: [PATCH v4 09/17] dts: Documentation: Extending documentation entry for exynos-thermal Date: Fri, 16 Jan 2015 12:30:53 +0100 Message-id: <1421407861-25099-10-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1421407861-25099-1-git-send-email-l.majewski@samsung.com> References: <1412872737-624-1-git-send-email-l.majewski@samsung.com> <1421407861-25099-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNLMWRmVeSWpSXmKPExsVy+t9jAd2T33aEGEydJ2zxeM1iJouGqyEW G2esZ7W4/uU5q8X8K9dYLdb8VbLoXXCVzaL/8Wtmi7NNb9gt3jzitnjzcDOjxefeI4wWM87v Y7J48rCPzYHPY+esu+wei/e8ZPLYtKqTzWPdtLfMHn1bVjF6fN4kF8AWxWWTkpqTWZZapG+X wJVxdcZDpoI7ohUf22cwNzB2CnUxcnJICJhI/D3wkg3CFpO4cG89kM3FISSwiFHi2uLdjBBO F5PEwpU9LCBVbAJ6Ep/vPmUCsUUEJjBK/F8VDVLELPCCWeLX/k2sIAlhgQSJjhXrwMayCKhK 7NvxBqyBV8BdYkHnA1aIdYoS3c8mgNVwAsVXLetkgdjWyCjxff4ypgmMvAsYGVYxiqYWJBcU J6XnGukVJ+YWl+al6yXn525iBAfpM+kdjKsaLA4xCnAwKvHwztiyI0SINbGsuDL3EKMEB7OS CK/9Z6AQb0piZVVqUX58UWlOavEhRmkOFiVxXiX7thAhgfTEktTs1NSC1CKYLBMHp1QDY1yH JfMrtqPmN/Zbsz7i3JB8lUVr5sUzgn7z5+mpFepKsv3v/XF+wxydgwqL3qcYuVpu8l9kGj45 l2niu6dnOjOsuX4ulSz9pnL9wjXtCo/nmrYJTV5VRlvk5xm+3FTpZ2cqGfB/dTAT7/l/0yR9 TpyyXZopsyPNLWnTW457Gp3LuLMi7vztVWIpzkg01GIuKk4EABZxobBOAgAA Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 Properties necessary for providing Exynos thermal configuration via device tree. Signed-off-by: Lukasz Majewski --- Changes for v3: - New patch Changes for v4: - Remove entry regarding Exynos5440 --- .../devicetree/bindings/thermal/exynos-thermal.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt index ae738f5..8497794 100644 --- a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt @@ -39,6 +39,18 @@ - 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. +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 +- samsung,tmu_noise_cancel_mode: Mode for noise cancellation +- samsung,tmu_efuse_value: Default level of temperature - it is needed when + in factory fusing produced wrong value +- samsung,tmu_min_efuse_value: Minimum temperature fused value +- samsung,tmu_max_efuse_value: Maximum temperature fused value +- samsung,tmu_first_point_trim: First point trimming value +- samsung,tmu_second_point_trim: Second point trimming value +- samsung,tmu_default_temp_offset: Default temperature offset +- samsung,tmu_cal_type: Callibration type Example 1): @@ -51,6 +63,7 @@ Example 1): clock-names = "tmu_apbif"; status = "disabled"; vtmu-supply = <&tmu_regulator_node>; + #include "exynos4412-tmu-sensor-conf.dtsi" }; Example 2): @@ -70,6 +83,7 @@ Example 3): (In case of Exynos5420 "with misplaced TRIMINFO register") interrupts = <0 184 0>; clocks = <&clock 318>, <&clock 318>; clock-names = "tmu_apbif", "tmu_triminfo_apbif"; + #include "exynos4412-tmu-sensor-conf.dtsi" }; tmu_cpu3: tmu@1006c000 { @@ -78,6 +92,7 @@ Example 3): (In case of Exynos5420 "with misplaced TRIMINFO register") interrupts = <0 185 0>; clocks = <&clock 318>, <&clock 319>; clock-names = "tmu_apbif", "tmu_triminfo_apbif"; + #include "exynos4412-tmu-sensor-conf.dtsi" }; tmu_gpu: tmu@100a0000 { @@ -86,6 +101,7 @@ Example 3): (In case of Exynos5420 "with misplaced TRIMINFO register") interrupts = <0 215 0>; clocks = <&clock 319>, <&clock 318>; clock-names = "tmu_apbif", "tmu_triminfo_apbif"; + #include "exynos4412-tmu-sensor-conf.dtsi" }; Note: For multi-instance tmu each instance should have an alias correctly