From patchwork Thu May 9 11:10:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 163707 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:142:0:0:0:0 with SMTP id j2csp818756ilr; Thu, 9 May 2019 04:11:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrCeTEe7fUNfiB3Yraf3Hl/euN8+eGJgxpl9p2CJ5EgcuKRQL0UHQe+EIB/kA6EBaVDvvb X-Received: by 2002:a63:550c:: with SMTP id j12mr4554076pgb.450.1557400314735; Thu, 09 May 2019 04:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557400314; cv=none; d=google.com; s=arc-20160816; b=GkDBgdA5L4TFtoZY7n84gBFjhUn3z4HNYaAPF5/gmm3bmIvymrygOuDYmPFY6b9d1v EmTQxdf6FwtoANU04kdbvHRrOlj/rx9/yFKkGslPe4O83SZ67aJer25yCADp0fi+7A3j sslSRG+8RcMXLVUboQKXDWOT2qdo58nVxO7YlkGGfBRBcDL71PcJS6Ne6MI6xaTHHZKi sD6HWsFwmQEL8K0zaBfXEMebZff47l5KiXqvAU6M6XIDnIbWWJ1+rMbinxvCYSYASUpo ojbpN/Ju7SuyTsR9awQb2dDIVO9fN3uhnAG8Y78x1xm/8xZnOo3gt7XG+c3ysLu4qLgK txKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=UqB421RDZrmI+ZkHu7BcjtNVEU1ZDEYv3yb1vRTJinE=; b=u6nB8uyuWJKvE1bpznPS1U+pdgw1GiOwNPIJ81AbpyglEDH+Oqs6bcLsDz7plYqTM2 OwZXwIn601QJiVIs5xY/mPR8RLBaeyx2rTOnBXolkoCRoZTsaH3jLhOPzvKNDcHSvHNM khLPYROa9KG+BCIagJEUOKmvYO29gqgmm9Q+fCmdy0+PE62G8iU7JQgdgQxItng1CKXi YwMkRllR8NUhoF8Ge9dz1ucIPqu6Trq+E8c1Kw2/XRpAs1ovAXtujPXsFmhYbULZdkRu zYBKXRq/+V6LlpDxpiRz8W/g3BQLQM/wQBp63i72wntw/0AA4baGNYMmwcrPZmwKG+zW bWzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FGNyjK32; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r26si2506668pgb.32.2019.05.09.04.11.54; Thu, 09 May 2019 04:11:54 -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; dkim=pass header.i=@linaro.org header.s=google header.b=FGNyjK32; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726817AbfEILLx (ORCPT + 30 others); Thu, 9 May 2019 07:11:53 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34418 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726731AbfEILLn (ORCPT ); Thu, 9 May 2019 07:11:43 -0400 Received: by mail-wr1-f68.google.com with SMTP id f7so2490497wrq.1 for ; Thu, 09 May 2019 04:11:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UqB421RDZrmI+ZkHu7BcjtNVEU1ZDEYv3yb1vRTJinE=; b=FGNyjK32xMkhdBSlyAsZbwrfAZB8J+kCwspE8uIxSD/faC2u5BR/dh7S4oBmUfL4eu dtYytfPQhXcdi/oGgONY+LLd7ig76ahnAH2+cm0mFvCCfCdN5LMcUyifRvIyDUKyCFJn //Z4+NQ5Vr3mYU3hkdRKUKl+xCpJi5KqOfiZPic9+Q1K+skd2UcV8UWbJVnrL5q1WZ2i jIjNSXyf9VGDmzp4TYb/cxSDrx8pL5sN00RFyCfB4c1VmnzW04sZh7gTSaGS4m4IxjIg 66YMxbUPhUfcsNIEu+arAHs0NfP3qeClxVkPgNSDapCxMcz2mtKWBxliZF7h0m0yVwkQ hWnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UqB421RDZrmI+ZkHu7BcjtNVEU1ZDEYv3yb1vRTJinE=; b=Ltg7dArUmw7VzZ0gJW3lXUOEeb0sCwxyaaMVxc0Byek2ORVq8QOKon67CT6K/pJKDo NXDiXwhiYoEQUQVb+SuVid6A4NymG0d2tVvY1j4V/veneRGXQll32cKakfUX8HYt21YF BaplguNYp5nxlYA2q38UpGCRevUE/fsU1uCDTwFTEjlh9qOIJOSH5x4oNplX07G/fQqo +vhcEAFxijw9/92iq4OputY9pNgJGHAowbNJCByZ/afUu6nCQ0QHDES3N5YFeGDRswhJ x8Rne6PRGDHRQH+SlDdEDMMoaqX+wRYjLULsPFuaYqh1kZknvvLop3YaWIh5kb5ISsRm +VIw== X-Gm-Message-State: APjAAAUGhwKGgVJ2NbcLmTuXJaX/f42kx8+1Q5SfD1WGqYAAogYV0WWK crmTOSnatHSb0km1R3G8WvIszw== X-Received: by 2002:adf:94a5:: with SMTP id 34mr2536002wrr.275.1557400302307; Thu, 09 May 2019 04:11:42 -0700 (PDT) Received: from mai.irit.fr ([141.115.39.235]) by smtp.gmail.com with ESMTPSA id z7sm2299778wme.26.2019.05.09.04.11.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 May 2019 04:11:41 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH 12/15] clocksource/drivers/timer-atmel-pit: Rework Kconfig option Date: Thu, 9 May 2019 13:10:45 +0200 Message-Id: <20190509111048.11151-12-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190509111048.11151-1-daniel.lezcano@linaro.org> References: <7e786ba3-a664-8fd9-dd17-6a5be996a712@linaro.org> <20190509111048.11151-1-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexandre Belloni 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 Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index eb1560187434..2137f672a12f 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