From patchwork Wed Jan 14 13:41:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 5631341 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 E2BE99F357 for ; Wed, 14 Jan 2015 13:47:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A2CCA20384 for ; Wed, 14 Jan 2015 13:47:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA68120389 for ; Wed, 14 Jan 2015 13:47:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752558AbbANNrb (ORCPT ); Wed, 14 Jan 2015 08:47:31 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:49573 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752361AbbANNra (ORCPT ); Wed, 14 Jan 2015 08:47:30 -0500 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NI6003GC6B5LO10@mailout3.samsung.com>; Wed, 14 Jan 2015 22:47:29 +0900 (KST) X-AuditID: cbfee61b-f79d76d0000024d6-df-54b67371cd3b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 54.D7.09430.17376B45; Wed, 14 Jan 2015 22:47: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 <0NI600MB860TM510@mmp1.samsung.com>; Wed, 14 Jan 2015 22:47: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 , Kyungmin Park , Chanwoo Choi , Lukasz Majewski Subject: [PATCH v3 10/16] thermal: dts: Default trip points definition for Exynos5420 SoCs Date: Wed, 14 Jan 2015 14:41:08 +0100 Message-id: <1421242874-3425-11-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1421242874-3425-1-git-send-email-l.majewski@samsung.com> References: <1412872737-624-1-git-send-email-l.majewski@samsung.com> <1421242874-3425-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMLMWRmVeSWpSXmKPExsVy+t9jAd3C4m0hBpt61CwaroZYbJyxntXi +pfnrBbzr1xjtVjzV8mid8FVNov+x6+ZLc42vWG3ePOI2+LNw82MFp97jzBazDi/j8niycM+ Ngdej52z7rJ7LN7zkslj06pONo91094ye/RtWcXo8XmTXABbFJdNSmpOZllqkb5dAlfG0t7p rAVHeSsWnnrO3MD4m6uLkZNDQsBEYve5C+wQtpjEhXvr2boYuTiEBBYxStw8dZARwulikniy 9w0bSBWbgJ7E57tPmUBsEYEJjBL/V0WDFDEL7GKWeD9pFmsXIweHsECMxIsHZiAmi4CqxMST NiAmr4CbxJo+A4hdihLdzyaATeQECh/8+IwdYlUDo0T7/Aa2CYy8CxgZVjGKphYkFxQnpeca 6RUn5haX5qXrJefnbmIEB+Uz6R2MqxosDjEKcDAq8fA6HNkaIsSaWFZcmXuIUYKDWUmEN01u W4gQb0piZVVqUX58UWlOavEhRmkOFiVxXiX7thAhgfTEktTs1NSC1CKYLBMHp1QD4+aTK17d 0T5+gtNlAVspS7Loq+MrPqn8+betf8qjAJblJXVrFfsCow88z9v0NEUj4OEm3svFhTERK01m 5C1kfC8994r7h8MVExczFbPdyHgt52CgMH2mRv4mgxP/2+5+YX63uzvrcnDjZO/Y7+taGHr5 dnsJPXCRzNj53Hutxoctsjqummd+SiuxFGckGmoxFxUnAgBAd2oVRgIAAA== 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 --- 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"; + }; +};