From patchwork Sun Jun 27 04:56:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 12346637 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=-17.4 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,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 CA537C49EAF for ; Sun, 27 Jun 2021 04:57:13 +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 8F7F561C43 for ; Sun, 27 Jun 2021 04:57:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8F7F561C43 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=flygoat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-phy-bounces+linux-phy=archiver.kernel.org@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=nLXAn63UhffnLvGQl1+BNuxkHWNG4gatyygw5fT4cRc=; b=0ssSYsAgiEteK9 g2tOCJXm8uq+p2k2rEb1U2RulvtXPfSB2FP1W4pz9ed3LotUN5Ca9rEi6usZDeERVX0NlDShalGhJ u1vqrq0eVX+X2lIT1A0qx+BhyE77wq/U8c9x7XvLivKCUWUFa+b70RVOPyf9mZ0ny5YZTXI9qocR+ 9oTwgTP4Eog2QgEhNADR8ruhJDr8/IFv/ORHto34NYKppsaieT1AS/2nk3Mw9rz3Z5HTEVDikpyUo i9fgP4f8HHnU07keMGcLeAAnI4O3d9yn8Y1c4UvlqeWhDp//MD6/SWZF0VZ8bi5F1SDSHXVNJ8TuG E3ZJJMbcHdskI4Z93Fyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxMr2-0057xx-VQ; Sun, 27 Jun 2021 04:57:13 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxMr0-0057xI-SO for linux-phy@lists.infradead.org; Sun, 27 Jun 2021 04:57:12 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id 487825807B0; Sun, 27 Jun 2021 00:57:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 27 Jun 2021 00:57:10 -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=GAnaSXIS2U9Oo L6n9RdfOWXq51u5AS/yAPKDVJYSO1k=; b=EJSqC0Sx1pLhayfz1nXDdLgX5f1l/ PK5xNYuepnlZVL4C/eI9rgvhzfWE88dPAcb2R7ImzaFxWFhT7mw0qJkgHQhPLbeY 2A1tEq0oqQNqTlksmf/l+UXKdrbKckmKe9jqyit1qSR2AJXgb7v8F3U44KNcGrB7 uZ+bGmn35R8maXMgjy/6nA0Gns4Hs5LAY8vnd6J69UCwKWu+4095KBVNeoGqj4fS J2ptgGjaBE4VufK7MaI/XOA6h598N2SFUafFB8FtBCbM1/xgcPzwNvW3A2w4BV90 cqp+wKd3w97Yy0unnrefRLmu8RNyfZ2bYAe87aDNu5MooCXwEzAsdSoJw== 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=GAnaSXIS2U9OoL6n9RdfOWXq51u5AS/yAPKDVJYSO1k=; b=RyBiLOm0 4zfwfW9/OjEO9PwL9z3Rr/B/YlcvdDwsAX371MJvoOiatLTHtRtNE6qxezZ9uBZE m7BdZ6O8jFK+Oqu4zNJW9E6fHzZkcqtegPb55GZVarp4RHi0YZ7NKA4wxLPT9eAt ZWIcmc8jHyYD/2IN8x+g/Tl5w3Ub7Iu4vP/iueY9WClJXc7fwcBsyw3XkO/eesGv Q6+72KqhXSRR0Yg6KeknWZM8vDKKgMqbLb3M+6hprwdxurwJduwMy5/n+AeJDTlJ HWFjKUbal0k4tN4gqILyhF+Try7oAlDvmk/L0pZkm+6oVKYrrz4c7GD1FrXGoaJJ YM9RKU81TxwRdA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeehuddgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheplfhirgiguhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhg sehflhihghhorghtrdgtohhmqeenucggtffrrghtthgvrhhnpeejiefhgfetleekleffud ektdehvedujedvgeekkeejfefhhffhtedutefgtdffueenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflhihgh horghtrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 27 Jun 2021 00:57:05 -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 4/9] clocksource/drivers/pistachio: Make it seletable for MIPS Date: Sun, 27 Jun 2021 12:56:26 +0800 Message-Id: <20210627045631.2882-5-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210627045631.2882-1-jiaxun.yang@flygoat.com> References: <20210627045631.2882-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-20210626_215711_022849_FD0BBD44 X-CRM114-Status: UNSURE ( 8.16 ) 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 kenrel. 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.