Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2263160yba; Mon, 15 Apr 2019 08:11:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxw5SpcmXD5/BrVf9Xa6oRoND4VcOmyoWUHCM2qAJWLYx0ewVWnTGPtLydxW/uPXzGwMqj4 X-Received: by 2002:a17:902:4643:: with SMTP id o61mr65383555pld.249.1555341061360; Mon, 15 Apr 2019 08:11:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555341061; cv=none; d=google.com; s=arc-20160816; b=mqcqb95OaKdrmMT8hWSsr7bWhLNady7iA+Z/SD6BVgBS7Q/AHPyES7z8Kfca1VulqE DlLLoEqtKuKEpBojJMdyX02yr4k8NtpTc01PrcX4Frp9gkd2kjmQsX8mlvmZuf/SLXRa 6EpnARMCi+I/o4jjup/3O5/clWYYgpSMzjxjL90h0FdlNCQ0Wxv73zeSpm8Gpg/nDhWa ol7hR3fhJJT1J/vwVEGa1Ne3brZyyiRTsNdHfwN5j9/N+CjcL+YXgsLdWvOsSv/3e4Xc mflAxjw5mAuRfrlVIznEeNa2h2YRJtuLpnSeKqkGhKccNhZj3jTECsVG1xsMJZ7AHvsW RVHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=KhmqQwuL4gYw3pJqmiVW+VzVndCvNQC29nULYvImT30=; b=FwaWRXijlf3o+erGjKR7O54mYLiOAfApZXzCqWVz1zZUZXzHytKwNiPBkFq8jgpHJB JHvD49q4IkxOtw572ziSYCmShSkKBdlFW1u5MtOGhcLO2erB2yfowdoP+1IrmOPr7iCr TyPUO+F4iU3kQLZ/vf+gmZMHPn5NA/W81MU8toLYyxviP3QTVNGeNXNMwPDpy/hTljkj Huszsw/FvF7nX+dr7E93Mv3HHFxgCRd87uCLa/e6Bt09hVmYmjC7bsssvXAku/Jyt+vb AutzVS3acICuw4F5NVwpengRV07ZavZ7h5Cc7R2gfyri15HzGCZKFAeZoP+JoPMlw3Q0 KJTQ== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q78si42611786pgq.321.2019.04.15.08.10.44; Mon, 15 Apr 2019 08:11:01 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727737AbfDOPJY (ORCPT + 99 others); Mon, 15 Apr 2019 11:09:24 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:53043 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727050AbfDOPJU (ORCPT ); Mon, 15 Apr 2019 11:09:20 -0400 X-Originating-IP: 109.212.207.226 Received: from localhost (alyon-652-1-176-226.w109-212.abo.wanadoo.fr [109.212.207.226]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 4BEEDC0003; Mon, 15 Apr 2019 15:09:17 +0000 (UTC) From: Alexandre Belloni To: Daniel Lezcano Cc: Thomas Gleixner , Nicolas Ferre , Alexander Dahl , Sebastian Andrzej Siewior , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH v2 5/9] clocksource/drivers/tcb_clksrc: move Kconfig option Date: Mon, 15 Apr 2019 17:08:52 +0200 Message-Id: <20190415150856.9384-6-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190415150856.9384-1-alexandre.belloni@bootlin.com> References: <20190415150856.9384-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move the ATMEL_TCB_CLKSRC option to drivers/clocksource and make it silent if COMPILE_TEST is not selected. Signed-off-by: Alexandre Belloni --- drivers/clocksource/Kconfig | 7 +++++++ drivers/misc/Kconfig | 14 -------------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 171502a356aa..e38ef4906e30 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -410,6 +410,13 @@ config ATMEL_ST help Support for the Atmel ST timer. +config ATMEL_TCB_CLKSRC + bool "Atmel TC Block timer driver" if COMPILE_TEST + depends on HAS_IOMEM + select TIMER_OF if OF + help + Support for Timer Counter Blocks on Atmel SoCs. + config CLKSRC_EXYNOS_MCT bool "Exynos multi core timer driver" if COMPILE_TEST depends on ARM || ARM64 diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 268a01d3d6f3..c84033909395 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -59,20 +59,6 @@ config ATMEL_TCLIB blocks found on many Atmel processors. This facilitates using these blocks by different drivers despite processor differences. -config ATMEL_TCB_CLKSRC - bool "TC Block Clocksource" - depends on ARCH_AT91 - select TIMER_OF if OF - default y - help - Select this to get a high precision clocksource based on a - TC block with a 5+ MHz base clock rate. Two timer channels - are combined to make a single 32-bit timer. - - When GENERIC_CLOCKEVENTS is defined, the third timer channel - may be used as a clock event device supporting oneshot mode - (delays of up to two seconds) based on the 32 KiHz clock. - config DUMMY_IRQ tristate "Dummy IRQ handler" default n -- 2.20.1