Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5111837pxv; Tue, 20 Jul 2021 20:04:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziH7Q5UmxJ+JwWoxnFUinUu2qnKsFDmj52rr7RtHNeWl82mR/SzreyRqYIbXabWPrsDOzW X-Received: by 2002:a5d:88c6:: with SMTP id i6mr25717664iol.75.1626836678101; Tue, 20 Jul 2021 20:04:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626836678; cv=none; d=google.com; s=arc-20160816; b=lUEuArGYnFaHUG8PaeYBHqvWj2tY88PYYB1vB9Q+lHIyGnz486C0i/+d+QClpQOKh+ yIZW2WrCkcc9z7gwmdiaOksw9tXxBH/u9mM9GV7iN4nxVOs4nFquC2eItKsMYjX6MjpL ivk7zHY6NPgRJwUi5rvCNRo84nCTeRdLg64z0GMgD5qsvVx418BTCjGTJBUXs7WTRn51 O2+NcjpIGzIVe2vc4NH351Rzl5+7SKp7Si8g4WDhLskpnEYk+wz5UGly1W8y5tZK+W2F OyVbomN6HvOGdhFHgbsWGGvTQxuuHxaJF23viLxatnMZwWcNgw8TdCxLxEtennyxvo5G FFqA== 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:dkim-signature; bh=GDs/JfNH4KsVDSUz8zkXViG0OizllYpknHVtjbEEgAA=; b=r1fdWFOENlb3b9OYvb2BY5kv7Z17hVj6vsgUmhFgP4mOk60qXjUxJMWQ4SNVxg6fyw rWZbWybjG8Je+MyTmmk8jgWfA1yRm0GCbaz4ncI6rGhcQkZVec+5U8wBlElNyVfJBOZo gQgyCx1KT8VbpFoc+mtFAZ4P2ldMNgUmdCAWFzBeoIJz4AY22TGDmo67shmJ0eqwDnrY eNCga5i0p6VFn7hfp5Cf9wEwbmqGE1oJAqBSk6hvBjjymUfv5mlWN67nh5xFlSOt8YsA LV53a4m4K9acvc8GAveG1kwdC+gEffpEg7OonZuc9c2fr9ZdQwnplKYQv23Hq53+Gufb MNag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=rixyaawf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=d3M3lYBl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si2123837ilu.154.2021.07.20.20.04.26; Tue, 20 Jul 2021 20:04:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=rixyaawf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=d3M3lYBl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231887AbhGUCWu (ORCPT + 99 others); Tue, 20 Jul 2021 22:22:50 -0400 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]:32791 "EHLO wnew3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231394AbhGUCVi (ORCPT ); Tue, 20 Jul 2021 22:21:38 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id CAD892B00505; Tue, 20 Jul 2021 23:02:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 20 Jul 2021 23:02:13 -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=GDs/JfNH4KsVD SUz8zkXViG0OizllYpknHVtjbEEgAA=; b=rixyaawfcIJhjLBzuGTZYe9NTZ+HE Dmp/Eu47mF9abPzBncbyBu6XPWl++i5qHZ6d8izs6OK9m7TC39k32mcoMRFUs+x8 0OVokVOxGgQltLtz4Fgm4p4DORW6MyL0jMb8v6OqI6Ycc39CxPbP+pysya3SnZT+ 5xoecNah+JqHUnEzIcK2T4CxIcLalK8oNYv3vU7bzP9RhRG90PWxnOeGd+xyY3Xa Q0m4kd07rD9CfTAqPREALhzg0ANsbJAAngvJmqXsqjEDO0nah51QfP2IR1d+eqOJ Cf/Xa4aIh0Z4H/tyk3EQ2COE0wthoBDf/IF46UbvaOWmLSIXzPlvkFpvQ== 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=GDs/JfNH4KsVDSUz8zkXViG0OizllYpknHVtjbEEgAA=; b=d3M3lYBl FRaD+DbFUmStFLfjfQQqFEzBnCED63G9DGKYXiVXzokygc4035XuNDR5ISsLr+Uv DwjpCGhgW0KrROszJ/+pjqpRrS7q2cfFOuezrFoC8Elko3a/Cc9yxGJ9TOuOFiBW Ul1ZxxJxNJXoJQc4UHUqESsblKsAnUWUveF+NJh9v4S0arUtl9do0JvGeao9hIBj bIBwQn6FajzRz/o93bN1m10BD4U8i1MqK3PW1FTKr0iumJL8lf/Z+eWz2hgmKrf0 IfwNJFFRC2N7FW0GWGywl/vuVwIjvddKV1VN0H+nfH3+zTbSnxElxyFtvuzS/7Ed V6rFxe2bjMiQLw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeefgdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 20 Jul 2021 23:02:08 -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 v3 3/9] clk: pistachio: Make it selectable for generic MIPS kernel Date: Wed, 21 Jul 2021 11:01:28 +0800 Message-Id: <20210721030134.10562-4-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210721030134.10562-1-jiaxun.yang@flygoat.com> References: <20210721030134.10562-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We're moving pistachio to generic MIPS kernel. The clk driver should be avilable to the generic MIPS kernel. Signed-off-by: Jiaxun Yang --- v2: Depend on MIPS || COMPILE_TEST --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 2 +- drivers/clk/pistachio/Kconfig | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 drivers/clk/pistachio/Kconfig diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index e80918be8e9c..18d31b654d02 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -389,6 +389,7 @@ source "drivers/clk/mediatek/Kconfig" source "drivers/clk/meson/Kconfig" source "drivers/clk/mstar/Kconfig" source "drivers/clk/mvebu/Kconfig" +source "drivers/clk/pistachio/Kconfig" source "drivers/clk/qcom/Kconfig" source "drivers/clk/ralink/Kconfig" source "drivers/clk/renesas/Kconfig" diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index 5f06879d7fe9..7339a9eabeb4 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile @@ -97,7 +97,7 @@ obj-y += mstar/ obj-y += mvebu/ obj-$(CONFIG_ARCH_MXS) += mxs/ obj-$(CONFIG_COMMON_CLK_NXP) += nxp/ -obj-$(CONFIG_MACH_PISTACHIO) += pistachio/ +obj-$(CONFIG_COMMON_CLK_PISTACHIO) += pistachio/ obj-$(CONFIG_COMMON_CLK_PXA) += pxa/ obj-$(CONFIG_COMMON_CLK_QCOM) += qcom/ obj-y += ralink/ diff --git a/drivers/clk/pistachio/Kconfig b/drivers/clk/pistachio/Kconfig new file mode 100644 index 000000000000..d00f7b4a25fc --- /dev/null +++ b/drivers/clk/pistachio/Kconfig @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 + +config COMMON_CLK_PISTACHIO + bool "Support for IMG Pistachio SoC clock controllers" + depends on MIPS || COMPILE_TEST + help + Support for the IMG Pistachio SoC clock controller. + Say Y if you want to include clock support. -- 2.32.0