From patchwork Fri Jul 23 02:25:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 12395213 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBAFAC4320A for ; Fri, 23 Jul 2021 02:26:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A6C7D60ED4 for ; Fri, 23 Jul 2021 02:26:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A6C7D60ED4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=flygoat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GZC/yX3llHYLdZWxho0+L9JWmSnCZtA/g5EC+0VgoZ4=; b=lLsI90N0bAoPKA Dt5mfeMPOC5JbRjpDOve3CaDjK0eBTLMAWYp/byhj/Jn0e9qFSc1VpBWutIGXSV4GGj8H1ezY1wJ/ 86xhYjG+mBBi/X9R1u0ZuUaDYzhwX/DaZYda1vPjxYm2EoGiga+sg60/2IKUAuFiw8d0HCdwj8dpr MRqYFshV2IECHoGi/uawIgM/FIs5VALOIgGBQCClD4KOVFrOig8sUtBRk3yRbfRGBfSn+9PrRq/LK sTpq4xcyP+0fGtFGU5les+5il+NkFg6F58WqPHEG24stg9AGzKXc5A79EbOvyB1tQ2KnsB9vX8Rbt gltobtwM1qEmyvLiWfRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6ktQ-0035s8-7N; Fri, 23 Jul 2021 02:26:28 +0000 Received: from new4-smtp.messagingengine.com ([66.111.4.230]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6ktO-0035rZ-7g for linux-phy@lists.infradead.org; Fri, 23 Jul 2021 02:26:27 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id A0DE75808BF; Thu, 22 Jul 2021 22:26:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 22 Jul 2021 22:26:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=JP7wdmNFOkH8l L9Kd1NTkGq2wgQnz+eShdtgKZ4UvNY=; b=Ki3BueC2LPKfVT8X6Gvobl0IAxmHn Fc+Yx111wcX1bgFXBL8HSlRmxsWdiYalmpM/iU90cxv9KebSMIeRxDPGyYk4YsS3 peCudLfOZt8uy5uPYfGMszDmcHrNnq38VKG8Ff17akLJtdEOV5L0kzSOCS5KOU+A LTenvv8a2tIIeX+K/PXXXmg6quQRP5ij3Aq5k8EYx/GttL8N7S1613d9jhVYWwpU PlvWF8TciMpNlswdt7gvO6rwL8Xdd+Wkgw4NydqirLN3XRaEMV5vsdNXgribifBh pGZhRqx+Uijx76JCWakMKw50jVX7hXctGV/sFCvm8wvgtVK1R3TlEZX3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=JP7wdmNFOkH8lL9Kd1NTkGq2wgQnz+eShdtgKZ4UvNY=; b=FenKtzNa zSHXSxcxlZ7GdDyySB7Au00pObZojK4GxdvtST1TYFcsejn0JNS3NuWcceaeYAmn vTwoSDXKICssSJHWXfjDx5tKErwABWDPrpcUsIQ6ntEP7ARD8oXnz2q2UHfDQ1v4 nWgL0GB/3FGASdIwl0fW3lfTceOnrIY+sgzuLjrwX5k7dveTUaU+7LcNQ+Pedngd tLhZRmqwg7P08g/vn/5aZs+bpk8xEhj0TWkyr1xOI1cHjG+s9EeeasL+Ef4UGwsz 4cRU+ZgT3A4swijRr6NJW6DYEmyUQ7MWYNsf0/7aKSbqc7LTCgQgiDa4iGovlTB9 9M502DBoJezTQA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeejgdehgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep udenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Jul 2021 22:26:21 -0400 (EDT) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: tsbogend@alpha.franken.de, mturquette@baylibre.com, daniel.lezcano@linaro.org, linus.walleij@linaro.org, vkoul@kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, Jiaxun Yang Subject: [PATCH v4 4/9] clocksource/drivers/pistachio: Make it selectable for MIPS Date: Fri, 23 Jul 2021 10:25:38 +0800 Message-Id: <20210723022543.4095-5-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210723022543.4095-1-jiaxun.yang@flygoat.com> References: <20210723022543.4095-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210722_192626_385051_1567B82B X-CRM114-Status: UNSURE ( 8.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org So it will be avilable for generic MIPS kernel. Signed-off-by: Jiaxun Yang --- drivers/clocksource/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 39aa21d01e05..58ad7af8c673 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -234,8 +234,9 @@ config CLKSRC_LPC32XX Support for the LPC32XX clocksource. config CLKSRC_PISTACHIO - bool "Clocksource for Pistachio SoC" if COMPILE_TEST + bool "Clocksource for Pistachio SoC" depends on HAS_IOMEM + depends on MIPS || COMPILE_TEST select TIMER_OF help Enables the clocksource for the Pistachio SoC.