From patchwork Tue May 14 09:58:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kachhap X-Patchwork-Id: 2564701 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 3C47B3FC5A for ; Tue, 14 May 2013 10:08:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757158Ab3ENJ7i (ORCPT ); Tue, 14 May 2013 05:59:38 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:63394 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756665Ab3ENJ7h (ORCPT ); Tue, 14 May 2013 05:59:37 -0400 Received: by mail-pa0-f53.google.com with SMTP id kq12so369808pab.26 for ; Tue, 14 May 2013 02:59:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=av0AIY6+xdA3axgEwx0NH/+xyVDHxHRsSI5cQhY9ENE=; b=jLkDPBo8gdTlXu8ZKnnuNNrr2FzPPSQeq6I5iYaP3uEonCeNt2PakOLgCziRncw9Vf g2tl/EgWPEkRNXcRPK5aLHpoo3kry9dSk40XQnAAi8nnvC+08mDS27ZoAav2xCsYWSd5 aLm3zRrzgCaUAD9ZnSuOepk4L2V/uXaG6I8UuavIYUDG3sWVqvcbSd1EQqsTYOp100Mc Gcedum0IE3AEJQuKlYUimgXKa+wbVazuxIj9RBaQSjBkAsCdOm1LoX584Syn7r7dyBvJ DZMSS6x32pDTPnQkxFYDyuHyE8deYmlnNvE7ebqp78jrn1mj58rkkRAp0s/MBj4UawaK avNw== X-Received: by 10.66.144.98 with SMTP id sl2mr34019098pab.92.1368525576562; Tue, 14 May 2013 02:59:36 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id kv2sm17617396pbc.28.2013.05.14.02.59.31 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 14 May 2013 02:59:34 -0700 (PDT) From: Amit Daniel Kachhap To: linux-pm@vger.kernel.org Cc: Zhang Rui , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, amit.kachhap@gmail.com, Kukjin Kim , Eduardo Valentin Subject: [PATCH V4 02/30] thermal: exynos: Add ARCH_HAS_TMU config to know the supported soc's Date: Tue, 14 May 2013 15:28:32 +0530 Message-Id: <1368525540-15034-3-git-send-email-amit.daniel@samsung.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1368525540-15034-1-git-send-email-amit.daniel@samsung.com> References: <1368525540-15034-1-git-send-email-amit.daniel@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org This patch adds config sybmol ARCH_HAS_TMU to enable the TMU driver. This will allow adding support for new soc easily as now it is the platform responsibility to enable this config symbol. Acked-by: Kukjin Kim Signed-off-by: Amit Daniel Kachhap --- drivers/thermal/samsung/Kconfig | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/thermal/samsung/Kconfig b/drivers/thermal/samsung/Kconfig index 2d3d9dc..145a55d 100644 --- a/drivers/thermal/samsung/Kconfig +++ b/drivers/thermal/samsung/Kconfig @@ -1,6 +1,9 @@ +config ARCH_HAS_TMU + bool + config EXYNOS_THERMAL tristate "Temperature sensor on Samsung EXYNOS" - depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) + depends on ARCH_HAS_TMU depends on CPU_THERMAL help If you say yes here you get support for TMU (Thermal Management