From patchwork Fri Jan 23 12:10:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 5693301 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 738ACC058D for ; Fri, 23 Jan 2015 12:11:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B11BA202BE for ; Fri, 23 Jan 2015 12:11:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CCD9B20274 for ; Fri, 23 Jan 2015 12:11:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751014AbbAWMLc (ORCPT ); Fri, 23 Jan 2015 07:11:32 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:46680 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755189AbbAWMLb (ORCPT ); Fri, 23 Jan 2015 07:11:31 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NIM00DAWPV5RL60@mailout1.samsung.com>; Fri, 23 Jan 2015 21:11:29 +0900 (KST) X-AuditID: cbfee61a-f79c06d000004e71-02-54c23a71dfcf Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 4D.CA.20081.17A32C45; Fri, 23 Jan 2015 21:11:29 +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 <0NIM00LXWPT1NR80@mmp1.samsung.com>; Fri, 23 Jan 2015 21:11:29 +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 , Abhilash Kesavan , Chanwoo Choi , Viresh Kumar , Lukasz Majewski Subject: [PATCH v6 11/18] thermal: dts: Default trip points definition for Exynos5420 SoCs Date: Fri, 23 Jan 2015 13:10:03 +0100 Message-id: <1422015010-11918-11-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1422015010-11918-1-git-send-email-l.majewski@samsung.com> References: <1421666462-7606-1-git-send-email-l.majewski@samsung.com> <1422015010-11918-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNLMWRmVeSWpSXmKPExsVy+t9jAd1Cq0MhBpO/Gls8XrOYyaLhaojF xhnrWS2uf3nOajH/yjVWizV/lSx6F1xls+h//JrZ4s0jbos3DzczWnzuPcJoMeP8PiaLJw/7 2Cw2fvVw4PPYOesuu8fiPS+ZPDat6mTzuHNtD5vHumlvmT36tqxi9Pi8SS6APYrLJiU1J7Ms tUjfLoEr4/izJ8wFE/gqrn/YzNbAuJG7i5GDQ0LAROLf3qwuRk4gU0ziwr31bCC2kMAiRon3 fyq7GLmA7C4mia/r9zKCJNgE9CQ+333KBGKLCExglPi/KhqkiFngMbPEnPf7mUGGCgvESHzY IglSwyKgKrGr6QgbSJhXwF1i2mUniF2KEt3PJoDt4gQKv9/3hxliVxOjxLlJV9kmMPIuYGRY xSiaWpBcUJyUnmuoV5yYW1yal66XnJ+7iREcpM+kdjCubLA4xCjAwajEw9uw5WCIEGtiWXFl 7iFGCQ5mJRFea81DIUK8KYmVValF+fFFpTmpxYcYpTlYlMR5lezbQoQE0hNLUrNTUwtSi2Cy TBycUg2MLgo802bO39IWsOzPETOnvNmKbsWnWPgXBb9/OL8rStPaSPnYru+H8785fJzx0mVZ 7EOeF+GO25Y+lFGeJNG0l3kW38N/uyetX/Te0PEok2r3hu5VFz7LuzoaMFz7klL67NvE35Yu YdM8c8r8qy0PN8v/Seo+UybWzfrR3SahS1gv+1RS+6flSizFGYmGWsxFxYkA5tlZm04CAAA= 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, 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 This code groups in one place default settings of trip points. It is used in SoCs with multiple instances of TMU sensor. Separate device tree file prevents from multiple copying of the same data. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None Changes for v6: - None --- arch/arm/boot/dts/exynos5420-trip-points.dtsi | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 arch/arm/boot/dts/exynos5420-trip-points.dtsi diff --git a/arch/arm/boot/dts/exynos5420-trip-points.dtsi b/arch/arm/boot/dts/exynos5420-trip-points.dtsi new file mode 100644 index 0000000..09d6c56 --- /dev/null +++ b/arch/arm/boot/dts/exynos5420-trip-points.dtsi @@ -0,0 +1,35 @@ +/* + * Device tree sources for default Exynos 5420 thermal zone definition + * + * Copyright (c) 2014 Lukasz Majewski + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +polling-delay-passive = <0>; +polling-delay = <0>; +trips { + cpu-alert-0 { + temperature = <85000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "active"; + }; + cpu-alert-1 { + temperature = <103000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "active"; + }; + cpu-alert-2 { + temperature = <110000>; /* millicelsius */ + hysteresis = <10000>; /* millicelsius */ + type = "active"; + }; + cpu-crit-0 { + temperature = <1200000>; /* millicelsius */ + hysteresis = <0>; /* millicelsius */ + type = "critical"; + }; +};