From patchwork Tue Jun 11 12:53:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kachhap X-Patchwork-Id: 2704061 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id E4D8EDF23A for ; Tue, 11 Jun 2013 13:03:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755157Ab3FKND6 (ORCPT ); Tue, 11 Jun 2013 09:03:58 -0400 Received: from mail-pb0-f48.google.com ([209.85.160.48]:61136 "EHLO mail-pb0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753950Ab3FKMyG (ORCPT ); Tue, 11 Jun 2013 08:54:06 -0400 Received: by mail-pb0-f48.google.com with SMTP id ma3so2982018pbc.7 for ; Tue, 11 Jun 2013 05:54:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=av0AIY6+xdA3axgEwx0NH/+xyVDHxHRsSI5cQhY9ENE=; b=p58cNkPCjmQga+AXSA5MAAfvVx6UEwZa33+aWueBb5AIHCRJD5U88PcHLN0JqvuDrn EkTfOJlWMtkm4xPm/PbhnO4G0ZiwGI+r5SFci1Y1R0JttBa3SETPOGAHDR+c5UmRagOV tGIWmrmOCkuzw/CMOGALAeJHM5ML6g4ul9yQR6ivM1/KQQK5mkiSvmiEZTnULMh3VNUq /eKAY0brss6L+KhxJa53F5qJ+gsWNzSbSl0YOala6qIrvLmlq3jgmmkr4FGQmcI6sf4D pwLDe3ZyUD63w+0fgpS47m5Yv2DIMOEI87knGqUfevI8aCzQsjJMYZUqxHJay3J0EDJj itCg== X-Received: by 10.68.41.106 with SMTP id e10mr5315097pbl.136.1370955245836; Tue, 11 Jun 2013 05:54:05 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id wi6sm14599807pbc.22.2013.06.11.05.54.01 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 05:54:04 -0700 (PDT) From: Amit Daniel Kachhap To: linux-pm@vger.kernel.org, Zhang Rui , Eduardo Valentin Cc: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, amit.kachhap@gmail.com, Kukjin Kim , jonghwa3.lee@samsung.com Subject: [PATCH V5 02/30] thermal: exynos: Add ARCH_HAS_TMU config to know the supported soc's Date: Tue, 11 Jun 2013 18:23:12 +0530 Message-Id: <1370955220-2949-3-git-send-email-amit.daniel@samsung.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1370955220-2949-1-git-send-email-amit.daniel@samsung.com> References: <1370955220-2949-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