From patchwork Thu Jan 12 11:42:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 42392 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3843679wrt; Thu, 12 Jan 2023 04:08:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXsraDpHWKDpFg22+gXmimR9gZh1Iar01Sg3TGFxXBYHK1CUo7RHZjGGTmy5tahWxYqT1sX/ X-Received: by 2002:a05:6a20:12d1:b0:b5:4928:3ab9 with SMTP id v17-20020a056a2012d100b000b549283ab9mr34495992pzg.35.1673525294941; Thu, 12 Jan 2023 04:08:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673525294; cv=none; d=google.com; s=arc-20160816; b=xSvtyxPHm9RooGH437ccP1QX83Ots6ItW2P0iKU9DdwBpJn4JuJ0+d7IN6T10rYT0p WcvwBIkfGHmgDlzn0kZM0VG9A1OkBtK6ZCTfq8Cc5auJaYwMbZl6UhrAP0B2TeoR1ROn BW0h40c1Ev5VJZ5YICwCdlJD1A7Lk96k33MBBBdqy1NE64l18pW2CYA2DoJea77ehxbL o93G/GIMfWbUJWRD5iVbALiylMV3YeQGSCc/vKy9gfWYHKWcxFdNdYUV7fFXl66OcWQZ 0/L5deOU1i3VRe2kNtXhLohjPlLDSRxb8NWKjFZDevWlvsDc48LEW37bC7ffPjeNWE4+ rCrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AMLpDnBqZ1RgbMgdNrfj3iBku5ZH2bsl5gX4Mhrkrcc=; b=Z/UAMNI935fLx66J6dDY//mh4UHjA1FJltE23Mf25xLMXdR5gUJ+Rlm9MeunEKoM7z T5dUfUtf7AW5+uQqiuLWeoSbGDHPFtYvl9OzCEn3KOIy4W2XMmb+Z9uSf8x7zez0D+rN hSx+XZkwPH6RR5So60vfw2F1zjgowOIF969riLtBwoXrOUb/tNpRxmTXS85DqUiyy5Xk CC2n9OXFtpV4LSFOhub2izEz3rSPYfD4w2wQ8hmupDS4atBKSxmiFchlHkGulhFLd4k/ Kizw2OGy4wuSgTdyAvElClteblPesoDuYh2EcDntiQ4TRnuH0M/Cwpc+FAq1EHInYtdN 8gCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="WoDh9Fu/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r17-20020a632051000000b00477ae8def63si17462507pgm.495.2023.01.12.04.07.54; Thu, 12 Jan 2023 04:08:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="WoDh9Fu/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231951AbjALLxO (ORCPT + 99 others); Thu, 12 Jan 2023 06:53:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233780AbjALLwl (ORCPT ); Thu, 12 Jan 2023 06:52:41 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E3271C921 for ; Thu, 12 Jan 2023 03:42:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1673523751; x=1705059751; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kbR/Rr1hHSRdYw6eJSne8aqgPO3vKuwNYF/xGLJgTqA=; b=WoDh9Fu/CCO9KUc4pNMMTWDIxbyhsow6jic1/0Lhz05jU+CjDdWcKCh6 eQwXl1e58s1EI9FmnF53HJ8Y3ZKj/UiXOqBmCUyDzp11yqmWfvDzcHjnZ XQ92g8lw8zfLdd6ODy+3qqLRWwfD/efTuRUPhgehzjlvjzCcElBPBepa6 bo5otPnAg1BJmW0ycfUZL2IsZrFghtlSkRds39BhmdzlaO1FE9xqrmzkY vJBn3a2tG9xOslnCP5S5n6Sr6+tqvzegjJ5o0CpUL4yGGcAKJkyik8IO9 p8JWi4eAEdhC/XIRbqAMFDdqgNdt3NrZYcaq2vKws/BcKI+IN5vctjzo+ Q==; X-IronPort-AV: E=Sophos;i="5.97,319,1669100400"; d="scan'208";a="131994640" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 12 Jan 2023 04:42:29 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 12 Jan 2023 04:42:29 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Thu, 12 Jan 2023 04:42:27 -0700 From: Claudiu Beznea To: , CC: , Claudiu Beznea Subject: [PATCH 1/3] clocksource/drivers/timer-microchip-pit64b: move COMPILE_TEST on type definition Date: Thu, 12 Jan 2023 13:42:10 +0200 Message-ID: <20230112114212.1161136-2-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230112114212.1161136-1-claudiu.beznea@microchip.com> References: <20230112114212.1161136-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754818459475289599?= X-GMAIL-MSGID: =?utf-8?q?1754818459475289599?= Move COMPILE_TEST to menu type definition. This, along with commit f611af4c3bfa ("ARM: at91: Kconfig: implement PIT64B selection") and the next one in this series allows simply for driver to compile only on ARM based platforms which allows further implementing delay timer on top of PIT64B. Signed-off-by: Claudiu Beznea --- drivers/clocksource/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 4469e7f555e9..0e87d478a2fa 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -705,8 +705,8 @@ config INGENIC_OST Support for the Operating System Timer of the Ingenic JZ SoCs. config MICROCHIP_PIT64B - bool "Microchip PIT64B support" - depends on OF || COMPILE_TEST + bool "Microchip PIT64B support" if COMPILE_TEST + depends on OF select TIMER_OF help This option enables Microchip PIT64B timer for Atmel