From patchwork Thu Oct 9 16:38:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 5059531 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3A8BA9F349 for ; Thu, 9 Oct 2014 16:40:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C035201FE for ; Thu, 9 Oct 2014 16:40:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5A6892021A for ; Thu, 9 Oct 2014 16:40:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757633AbaJIQkH (ORCPT ); Thu, 9 Oct 2014 12:40:07 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:8924 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757619AbaJIQj7 (ORCPT ); Thu, 9 Oct 2014 12:39:59 -0400 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 <0ND600FAXRMLMQ30@mailout1.samsung.com>; Fri, 10 Oct 2014 01:39:57 +0900 (KST) X-AuditID: cbfee61b-f79d76d0000024d6-4c-5436ba5d1d4f Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 4A.5B.09430.D5AB6345; Fri, 10 Oct 2014 01:39:57 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0ND600M6SRKZPK30@mmp2.samsung.com>; Fri, 10 Oct 2014 01:39:57 +0900 (KST) From: Lukasz Majewski To: Eduardo Valentin , Zhang Rui Cc: "linux-samsung-soc@vger.kernel.org" , linux-arm-kernel@lists.infradead.org, Linux PM list , Kukjin Kim , Bartlomiej Zolnierkiewicz , Lukasz Majewski , Amit Daniel Kachhap , Kyungmin Park , Chanwoo Choi , Lukasz Majewski Subject: [PATCH 12/21] thermal: exynos: dts: Add default definition for the TMU sensor Date: Thu, 09 Oct 2014 18:38:48 +0200 Message-id: <1412872737-624-13-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1412872737-624-1-git-send-email-l.majewski@samsung.com> References: <1412872737-624-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsVy+t9jQd3YXWYhBvc7TS0aroZYbJyxntXi +pfnrBbzr1xjtehdcJXN4mzTG3aLN4+4Ld483MxosekxUPxz7xFGixnn9zFZPHnYx+bA47Fz 1l12j8V7XjJ5bF5S77Fu2ltmj74tqxg9Pm+SC2CL4rJJSc3JLEst0rdL4Mq4/8uzoI274sbU f2wNjKs4uxg5OSQETCQmNVxihrDFJC7cW88GYgsJTGeUWHRdoouRC8juYpJ4MfUpI0iCTUBP 4vPdp0wgtoiAt8TrfdMZQYqYBa4yS1zevZIVJCEsECGx8txesKksAqoSz9q2gcV5BVwlbqy8 zQKxTVGi+9kEsG2cQPGnj1czQ2x2kbj96CX7BEbeBYwMqxhFUwuSC4qT0nON9IoTc4tL89L1 kvNzNzGCQ/GZ9A7GVQ0WhxgFOBiVeHgf/DMNEWJNLCuuzD3EKMHBrCTCu32mWYgQb0piZVVq UX58UWlOavEhRmkOFiVx3oOt1oFCAumJJanZqakFqUUwWSYOTqkGxshJ6baR0dlPP16+F3P9 07OJ+6Kj3qfbP3C7LvlJNVGuZrfaxV/ir5fFVepKHno117D4ykfGbPbw181Pyw+sWTaHp5T7 6uN/taf3HXbcU3Hp4xmjW7yFMSEGqS2zd6yTnWbywWprmLfKJfm/tj/3/NhQu11NatFhgUsL tveVMEfo7fO8KJ8+wVKJpTgj0VCLuag4EQBHi4+sQQIAAA== 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 Exynos 4 and 5 family of SoCs uses almost identical TMU sensor to measure the on chip temperature. Hence it is possible to group TMU configuration parameters in one dts include file. Signed-off-by: Lukasz Majewski --- arch/arm/boot/dts/exynos4412-tmu-sensor-conf.dtsi | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 arch/arm/boot/dts/exynos4412-tmu-sensor-conf.dtsi diff --git a/arch/arm/boot/dts/exynos4412-tmu-sensor-conf.dtsi b/arch/arm/boot/dts/exynos4412-tmu-sensor-conf.dtsi new file mode 100644 index 0000000..ee6d8bb --- /dev/null +++ b/arch/arm/boot/dts/exynos4412-tmu-sensor-conf.dtsi @@ -0,0 +1,24 @@ +/* + * Device tree sources for Exynos4412 TMU sensor configuration + * + * 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. + * + */ + +#include + +#thermal-sensor-cells = <0>; +gain = <8>; +reference_voltage = <16>; +noise_cancel_mode = <4>; +efuse_value = <55>; +min_efuse_value = <40>; +max_efuse_value = <100>; +first_point_trim = <25>; +second_point_trim = <85>; +default_temp_offset = <50>; +cal_type = ;