From patchwork Thu Jul 2 06:40:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 6707931 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 BF750C05AC for ; Thu, 2 Jul 2015 06:40:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F15E7206DE for ; Thu, 2 Jul 2015 06:40:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CEB99206D2 for ; Thu, 2 Jul 2015 06:40:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753234AbbGBGkM (ORCPT ); Thu, 2 Jul 2015 02:40:12 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:53083 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753022AbbGBGkJ (ORCPT ); Thu, 2 Jul 2015 02:40:09 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NQU01AK2L6V9RA0@mailout2.samsung.com>; Thu, 02 Jul 2015 15:40:07 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.115]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 15.EE.28411.7CCD4955; Thu, 2 Jul 2015 15:40:07 +0900 (KST) X-AuditID: cbfee68e-f79c56d000006efb-93-5594dcc70578 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id B5.91.05312.7CCD4955; Thu, 2 Jul 2015 15:40:07 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NQU000ZOL6U4HB0@mmp2.samsung.com>; Thu, 02 Jul 2015 15:40:06 +0900 (KST) From: Chanwoo Choi To: l.majewski@samsung.com, eduardo.valentin@ti.com, rui.zhang@intel.com Cc: kgene@kernel.org, k.kozlowski@samsung.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Chanwoo Choi , Eduardo Valentin Subject: [PATCH 1/2] thermal: exynos: Add the dependency of CONFIG_THERMAL_OF instead of CONFIG_OF Date: Thu, 02 Jul 2015 15:40:00 +0900 Message-id: <1435819201-30729-2-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1435819201-30729-1-git-send-email-cw00.choi@samsung.com> References: <1435819201-30729-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsWyRsSkWPf4nSmhBi1zBCyuf3nOarFm/08m i/lXrrFavH5haNH/+DWzxZuHmxktLu+aw2bxufcIo8WM8/uYLJ487GNz4PLYOesuu8fiPS+Z PDat6mTz6NuyitHj+I3tTB6fN8kFsEVx2aSk5mSWpRbp2yVwZcxav4al4AtXxfY3J5gaGPs4 uxg5OSQETCRmH3nFBGGLSVy4t56ti5GLQ0hgKaPErXnrWWGKtmzbyASRmM4ocb9vBlTVF0aJ 4/3TWECq2AS0JPa/uAGU4OAQEfCQWLQ4BKSGWeAWo8THo4vAJgkLpEj8eb8AzGYRUJXoun+d HcTmFXCVeNR4lQ1im4LEsuUzwWo4Bdwkbr9oBJsvBFSz/covRpChEgLb2CWutR5ighgkIPFt 8iEWkMUSArISmw4wQ8yRlDi44gbLBEbhBYwMqxhFUwuSC4qT0ouM9IoTc4tL89L1kvNzNzEC 4+H0v2d9Oxh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sd061rbA7yHTb4OM79x+X+9cdnZ3PNPlicksVw6WX6icW xulvZVLrlOtdwFyoL1C5V0/sM5t9R9LCM34mByZ//PHWN9l+4rGQae8yFTpXcS9J3V+u92NV hBJLcUaioRZzUXEiAIsinUTMAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected 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=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 The exynos thermal driver use the of_thermal_*() API to parse the basic data for thermal management from devicetree file. So, if CONFIG_EXYNOS_THERMAL is selected without CONFIG_THERMAL_OF, kernel can build it without any problem. But, exynos thermal driver is not working with following error log. This patch add the dependency of CONFIG_THERMAL_OF instead of CONFIG_OF. [ 1.458644] get_th_reg: Cannot get trip points from of-thermal.c! [ 1.459096] get_th_reg: Cannot get trip points from of-thermal.c! [ 1.465211] exynos4412_tmu_initialize: No CRITICAL trip point defined at of-thermal.c! Cc: Zhang Rui Cc: Eduardo Valentin Cc: Lukasz Majewski Signed-off-by: Chanwoo Choi --- drivers/thermal/samsung/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/samsung/Kconfig b/drivers/thermal/samsung/Kconfig index c8e35c1a43dc..e0da3865e060 100644 --- a/drivers/thermal/samsung/Kconfig +++ b/drivers/thermal/samsung/Kconfig @@ -1,6 +1,6 @@ config EXYNOS_THERMAL tristate "Exynos thermal management unit driver" - depends on OF + depends on THERMAL_OF help If you say yes here you get support for the TMU (Thermal Management Unit) driver for SAMSUNG EXYNOS series of SoCs. This driver initialises