Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1017826pxv; Thu, 22 Jul 2021 19:30:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVQ8IaTFOFmiXo7IDVkTLMdXlxIILy6+d3GgA3XwwhFGwhAGbdcNtq5wh7Hotonfb0vBof X-Received: by 2002:a50:c88b:: with SMTP id d11mr3130218edh.318.1627007408433; Thu, 22 Jul 2021 19:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627007408; cv=none; d=google.com; s=arc-20160816; b=z6wjNMXB5zxlXd+IlbgpYHU+xFSj7cTafwyJz+dOWmdFS641nGwV6xRCQtDhdKULnK V1JLsEAyThAFAyKtYAlcpay6bXY82bWUypT60z+GULjGigpjz06biq7WNWt8bO4S/rRq zB3jJziLJhP1K+DupfsBmL+Gz6EEYYwlJQJwLUcjF9pWJebLqNF4SJdrb8L9C9SUYOyU f6FtmsEbqAMjrAKlATaJFZfLyWF0dcQH33cx3dFPbjcbDQJD3tdUXLQGjIVSOzL8xwBp QhDsKKAHuKIoPCy+JVMmgiDNYMj4BpQ0LuL2V5NOKu078QNmFU/GkPC9r8m+vfLkJ2VT AAAA== 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=qAme3ZoC7AbWN0lGuDNNu+depnU36z36HXgfyhV2hid63ulnIFOClzMo132UMEtd9B RkrVQEyBn79Bhep3IVZjI8UBadOWqx4HH7e7Lt5b+btEd6OPFlyQAUGf3NhtQVbnwAxH I4IGozxLS3BScThvSUBzdHHw7iRIKZNJ3eKBlxmXI9yJddPY0ShTEggcjPTLcEyv5s1x cO5H/pfnyzSzfVxN/UgUNI6sg+nsDg8ngg7cKk6/EbsteW5bKBjhakyKdC2K4/Px71yX BLaoQ3jcmwVpXwZFtwA/HxJ35zfMbY6YHLzVr2NpgCOQiZQ+ykcb3AUEjiNOvEWGZQEc sUuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=Kr+InkXU; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=PT5mhDuF; 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 i14si5860942edc.594.2021.07.22.19.29.45; Thu, 22 Jul 2021 19:30:08 -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=Kr+InkXU; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=PT5mhDuF; 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 S233321AbhGWBpu (ORCPT + 99 others); Thu, 22 Jul 2021 21:45:50 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:38769 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233308AbhGWBpq (ORCPT ); Thu, 22 Jul 2021 21:45:46 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id AB3D65808BF; Thu, 22 Jul 2021 22:26:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 22 Jul 2021 22:26:20 -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=Kr+InkXUKZdJ916Poj6gB6jHkRKBV F1EYWHM4KUJxlO2C1twPaFZ6k+3AneXL1SnAlb9wMkh7l2v0gDFrdMdUBx/HCyyx Rfy6ng9h3ig6JgkXDVYqStMI4hUob+TeOEB+deUiceIX3dqTnpwQoqofY0IcnfBH IDwf/BxjkUMz4LWeHYFc7gC/mAEu6wVmiKmYwZp/wwRJ1QvcgLiGkKdCJAr4Gm+4 QPBcnBlopVV0pGMa2NgU+z7K+5G/X25SriVSsqXKZk1QMfiE0oCunKQF0lNiZDb6 aVa5yWylqb2XW8HFlhGhtiTdHHzXorj0qwEiUHRYxmgDWkBcYke2bjVBA== 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=PT5mhDuF c2wWzcQ3jcECQs1sns9qwiA+atQamoOI2RKYjsW4lkACyTA8nfqUXPK0rgkRiJ33 oxPygByKgXKNQuwvaN3sawvja1orHpuSAvZnXkFCd+Gk37oFBr75wumPrIhcFdQb gFF9+7inLj5754Nfy0Tr+8ihy2o2Cbep4heK3ASZv5ew8jAugVkn7lvKlU5NyGUw Ljow8S8dFH5KEDNGSk5RgBU92RRvCFmhQ40emcXC9vE8PNpkOAENvRjfw+bnWzyE Th4a8G5eahQIoA8YV3qXYSEwez6jZFoh18GfQJQMsRqmfzw90fnv5jm1pKjPaYHH wMncsHv/jToAbw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeejgdehhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Jul 2021 22:26:14 -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 3/9] clk: pistachio: Make it selectable for generic MIPS kernel Date: Fri, 23 Jul 2021 10:25:37 +0800 Message-Id: <20210723022543.4095-4-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 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