Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2263149yba; Mon, 15 Apr 2019 08:11:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqys5bU7zqUm5+8FLVJLtUu6If1XVM17/QgrpMTgTb8oMmW1ZopIY4/OSUcA3hBPbc3c1La4 X-Received: by 2002:a63:ed4e:: with SMTP id m14mr71456705pgk.182.1555341060528; Mon, 15 Apr 2019 08:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555341060; cv=none; d=google.com; s=arc-20160816; b=v8SBwoWx5LvKT3xzNWTgIlpcTKV0S4bnE8Ny8CcJYpzErz9iR4M42ZE4IrSzmy/qvZ N1Q8mH9ZtMlP6HU+2LwGccOM37ZYhnS2R1+RE8CcsIOEQ5vIQfQdj4NM2fHMVtar1yk+ BM0JyrzcjKcA15OZHLBGGFTIDIiCBpQEz5Ox8i0ZAWWM9LKrUmUXTSbo8Cd5HR5uzyy9 WqJE28Crs/3/ChOUUC+CVdWkDvExt2kYtDU7vopP62rWrPQYHpY/0F7eHL4lV4T8R6m8 jfXA++RPfBl11t/eF72p/k7mgBmbjFVG1QOgXqG6cp1mQ6DCsfOlgeLR+OfC6UBQvocK 1EIA== 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=Jf8EWRYs3PNbUYV6+kfQm3Y88xm2COBM86KkUqVEKBc=; b=e+HZMOKtpcVWkbuJpI+wdLUsLkReFFj0mICSme1Jr4eTrQ0tQcEPuwxTUcdwMeryg+ hZ1CjKE9czQWAoXre4UQZUTFWeiV1a7nIfVkapt29r2BQOIIC0gzUHkUzaYjf8V3w587 8i3l/r0tL1QAIQo+YeHlhzkyn7rb9D7DjqkF7aLeDz6MWMuKCZNXZeXaPjAXFr884LL4 oLroRPvLODAvSQf4vc5SNm7TtlcEywaCtezITkGnjvHTfP65ujFIPJF248oV1t9QYXxd xAIzICaWS+lKsJOkQQ/Cr9zbYDdSzdX0aCmTrhSW6O9G8LrCfU1yDz6pHdBJ5Vf2ww3+ gdAA== 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 o19si46034382pgk.324.2019.04.15.08.10.42; Mon, 15 Apr 2019 08:11:00 -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 S1727724AbfDOPJX (ORCPT + 99 others); Mon, 15 Apr 2019 11:09:23 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:53913 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727659AbfDOPJW (ORCPT ); Mon, 15 Apr 2019 11:09:22 -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 DC499C0019; Mon, 15 Apr 2019 15:09:18 +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 6/9] clocksource/drivers/timer-atmel-pit: rework Kconfig option Date: Mon, 15 Apr 2019 17:08:53 +0200 Message-Id: <20190415150856.9384-7-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 Allow building the PIT driver when COMPILE_TEST is enabled. Also remove its default value so it can be disabled. Signed-off-by: Alexandre Belloni --- drivers/clocksource/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index e38ef4906e30..c73736f87600 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -399,8 +399,11 @@ config ARMV7M_SYSTICK This options enables support for the ARMv7M system timer unit config ATMEL_PIT + bool "Atmel PIT support" if COMPILE_TEST + depends on HAS_IOMEM select TIMER_OF if OF - def_bool SOC_AT91SAM9 || SOC_SAMA5 + help + Support for the Periodic Interval Timer found on Atmel SoCs. config ATMEL_ST bool "Atmel ST timer support" if COMPILE_TEST -- 2.20.1