From patchwork Mon Nov 2 12:56:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 55882 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp1253521lbr; Mon, 2 Nov 2015 04:58:46 -0800 (PST) X-Received: by 10.68.182.34 with SMTP id eb2mr26715659pbc.87.1446469117577; Mon, 02 Nov 2015 04:58:37 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pf9si34853765pbb.141.2015.11.02.04.58.36; Mon, 02 Nov 2015 04:58:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754058AbbKBM62 (ORCPT + 28 others); Mon, 2 Nov 2015 07:58:28 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:38847 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753946AbbKBM6F (ORCPT ); Mon, 2 Nov 2015 07:58:05 -0500 Received: by wicll6 with SMTP id ll6so49333173wic.1 for ; Mon, 02 Nov 2015 04:58:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1HOQBtjrxUpN84ABfx8ty7sEgOaUJ5AdafQ8bmMB1G8=; b=jvSEkLPfyOcrnUoJsEvp7xYcwJ9SXekdvCKMAxwBxFy7P0xc7OJizxwdaHNBvG17fg 3OWKigbNdh11virWpqzgWn1L7UmW5ULDc6zM/3mt1rnCD0LekbQg7R1NBmxKlCrxD46+ MBTmKiwfCoG+YvtAn7RayDjXspxNJbNjCdhW5B1HIMrrlF05Km/6NtDTOgMhNC0coQvL QevysfBsXlLGHViO/w9+KRNMB1JsqqhPsGBB1pqkYhBnZ6ChXA+rqHK4dHm2i/bgBbLP 6t6216Qo/JMt0o4vlvo1cDStuuODsmRokD3J6W9iHaopQj3cpA+jqM44plxIZyvD/Jfz W7aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1HOQBtjrxUpN84ABfx8ty7sEgOaUJ5AdafQ8bmMB1G8=; b=k8V8LUfEYJKm17i27RsPuuMQQegfWXfghXDHD+YNrglDDMC7UBKCbCHpjrSnE7uO4G rRcrPRZcWmSM/L21jHxu52JgCh1VmUqGytWyUW3RNHuykLlMbnHb8DakGAMsDwpE91oj R4aoy+1JooPw7gMlH05JQxuxqm+eO6ERtrRAyROKAzMcyQDRSNv6eMqohR0sednVWaOK EaL/apx1+BI6vXz8kTf93Aanf+QaxJdRiqWsWLADNFIO6piWAfTzBNyyNv283/9r9LiQ /2v+OniHU47YDIfrTLZnlOWGzC6cpnnn41E/OynlU4yraoT1iIwjHw2KhsXnED1BFYJy +pQg== X-Gm-Message-State: ALoCoQnfqlcuJKeoBIJy7qkLGxjUDv9hSwRFpeArc1UjecW3GrbVNtq8qGM2y6MId5gAEuwTTA8R X-Received: by 10.194.186.196 with SMTP id fm4mr27679583wjc.152.1446469084304; Mon, 02 Nov 2015 04:58:04 -0800 (PST) Received: from localhost.localdomain ([78.210.255.2]) by smtp.gmail.com with ESMTPSA id it4sm22263633wjb.0.2015.11.02.04.57.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Nov 2015 04:58:03 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: john.stultz@linaro.org, linux-kernel@vger.kernel.org, arnd@arndb.de, Russell King , Kukjin Kim , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org (moderated list:ARM SUB-ARCHITECT...), linux-samsung-soc@vger.kernel.org (moderated list:ARM/SAMSUNG EXYNO...) Subject: [PATCH 20/22] clocksource/drivers/exynos_mct: Fix Kconfig and add COMPILE_TEST option Date: Mon, 2 Nov 2015 13:56:48 +0100 Message-Id: <1446469011-22710-20-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1446469011-22710-1-git-send-email-daniel.lezcano@linaro.org> References: <1446469011-22710-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Let the platform's Kconfig to select the clock instead of having a reverse dependency from the driver to the platform options. Add the COMPILE_TEST option for the compilation test coverage. Due to the non portable 'delay' code, this driver is only compilable on ARM. Signed-off-by: Daniel Lezcano --- arch/arm/mach-exynos/Kconfig | 1 + drivers/clocksource/Kconfig | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 3a10f1a..ff10539 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -27,6 +27,7 @@ menuconfig ARCH_EXYNOS select SRAM select THERMAL select MFD_SYSCON + select CLKSRC_EXYNOS_MCT help Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 916c36d..d829cbe 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -213,8 +213,8 @@ config CLKSRC_METAG_GENERIC This option enables support for the Meta per-thread timers. config CLKSRC_EXYNOS_MCT - def_bool y if ARCH_EXYNOS - depends on !ARM64 + bool "Exynos multi core timer driver" if COMPILE_TEST + depends on ARM help Support for Multi Core Timer controller on Exynos SoCs.