From patchwork Wed Dec 10 12:09:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 5468481 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8D5A2BEEA8 for ; Wed, 10 Dec 2014 12:12:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8617120125 for ; Wed, 10 Dec 2014 12:12:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1250C2011D for ; Wed, 10 Dec 2014 12:12:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753873AbaLJMMd (ORCPT ); Wed, 10 Dec 2014 07:12:33 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:23098 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753728AbaLJMMc (ORCPT ); Wed, 10 Dec 2014 07:12:32 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NGD002IL8KVWV90@mailout2.samsung.com>; Wed, 10 Dec 2014 21:12:31 +0900 (KST) X-AuditID: cbfee61a-f79c06d000004e71-38-548838af1653 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 06.CD.20081.FA838845; Wed, 10 Dec 2014 21:12:31 +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 <0NGD004CJ8GLGMG0@mmp1.samsung.com>; Wed, 10 Dec 2014 21:12:31 +0900 (KST) From: Lukasz Majewski To: Eduardo Valentin , Zhang Rui Cc: Linux PM list , "linux-samsung-soc@vger.kernel.org" , Bartlomiej Zolnierkiewicz , Lukasz Majewski , Kukjin Kim , Amit Daniel Kachhap , Abhilash Kesavan , Abhilash Kesavan , Kyungmin Park , Chanwoo Choi , Lukasz Majewski Subject: [PATCH v2 08/17] thermal: exynos: dts: Add default definition of the TMU sensor parameter Date: Wed, 10 Dec 2014 13:09:47 +0100 Message-id: <1418213396-743-9-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1418213396-743-1-git-send-email-l.majewski@samsung.com> References: <1412872737-624-1-git-send-email-l.majewski@samsung.com> <1418213396-743-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsVy+t9jAd31Fh0hBl+7RS0er1nMZNFwNcRi 44z1rBbXvzxntZh/5RqrxZq/Sha9C66yWZxtesNu8eYRt8Wbh5sZLT73HmG0mHF+H5PFk4d9 bA68Hjtn3WX3WLznJZPHumlvmT36tqxi9Pi8SS6ANYrLJiU1J7MstUjfLoEr4+KL2IJl3BV3 L3xlamA8wNnFyMEhIWAi8WCLSRcjJ5ApJnHh3nq2LkYuDiGBRYwSh/83skI4XUwS015eZAKp YhPQk/h89ymYLSLgLfF633RGkCJmgS4WiR0r5rOBJIQFUiR+nPoHVsQioCqxbVkHWJxXwEXi WlsXM8Q6RYnuZxPA4pwCrhJnTt0AqxcSqJdYtPgN6wRG3gWMDKsYRVMLkguKk9JzDfWKE3OL S/PS9ZLzczcxgkPxmdQOxpUNFocYBTgYlXh4Ay63hwixJpYVV+YeYpTgYFYS4X0j2REixJuS WFmVWpQfX1Sak1p8iFGag0VJnFfJvi1ESCA9sSQ1OzW1ILUIJsvEwSnVwKhbGPjW6MPzmqyo eR/0D314VeHQwOn87yvH4wIxjwnrN1Ss0f+r8H5h1JaQYMarW+4kybMzbT5TIMg+verPseCT h5bxVujLuTx+ln1j+bnT6iuk+Pfrttm/Yvy5MelRW4vopw9FZVuENx/Omqs3NfvSCw0dBU3m S1/28G7dz//n1YmwhY4TBC4osRRnJBpqMRcVJwIABDjqyEECAAA= 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 Exynos 4 and 5 family of SoCs uses almost identical TMU sensor to measure the on chip temperature. For this reason it is possible to group TMU configuration parameters in one dts file. Signed-off-by: Lukasz Majewski --- Changes for v2: - None --- 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 = ;