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: 7536351 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 541DEBEEA4 for ; Mon, 2 Nov 2015 13:00:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AA71B205F0 for ; Mon, 2 Nov 2015 13:00:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B0D83205E1 for ; Mon, 2 Nov 2015 13:00:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753724AbbKBNAb (ORCPT ); Mon, 2 Nov 2015 08:00:31 -0500 Received: from mail-wi0-f182.google.com ([209.85.212.182]:35591 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753944AbbKBM6F (ORCPT ); Mon, 2 Nov 2015 07:58:05 -0500 Received: by wicll6 with SMTP id ll6so49421216wic.0 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=Vhga7juYJ0X1WQ1MApFG1/SGQCQoF/gqoHnexRdlBkD4mRr72VEtDy7n19LmfTI3Rh 637HzlAybj6Q6nADUijA6Z0JKYixjvnPOzxzoN6NdHpxjH1GBs1Yog/k45nzJ1gh5wpE okFFLpUd3QWAqC0MeDfn7g4VIUWfYe4IVtZdbE5YMSjLrMXlAjMxU+OpNjFRFf/vN+qv ozaby5Ab6hUISjXGu5/oeNTLzgeYGA+VuRuyfpaAqvTRXXFCHf26AGKXMpnmBqd7VA2F eHuCb3djf5uvp1xnQowtp0jy6pBCVJ4mWC9s5QbIHnuOnSfY51J556bPxpESc922Rsuy GYlQ== X-Gm-Message-State: ALoCoQkMnkShROPTzttsmVLQarpL13WvshWSIWkhTrdhWwJhw1GzwsV9AwQd8hsYN1KR3LaZfmcM 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-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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,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 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 Reviewed-by: Chanwoo Choi Tested-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Kconfig | 1 + drivers/clocksource/Kconfig | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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.