Message ID | 20230221115549.360132-42-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1821725wrn; Tue, 21 Feb 2023 04:01:42 -0800 (PST) X-Google-Smtp-Source: AK7set/MbAUX3A+dUaetE+BLuYUrcOM7nNYG4ZnJIV6n9LIe9Foom0Z2HhkzfKy1VNB0tzmBgluN X-Received: by 2002:aa7:db94:0:b0:4ad:6064:76c6 with SMTP id u20-20020aa7db94000000b004ad606476c6mr4411958edt.15.1676980902722; Tue, 21 Feb 2023 04:01:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676980902; cv=none; d=google.com; s=arc-20160816; b=ihS0oxl4WgWIrj7tI4LlTQ2+rjOK3TKTVouFDoOkoF/8SZ14AchBtyURa3GIwrseF8 LHdqRKu5JyGoypPvJzZ8/6f3rwojwfhudgI+/q+bZJfTIGCAhxHQg6NZJGUSTWVP1xK6 AUVxQSY5upFA+g6KXKcMZuarKEkUqVpbkCp5V0UEfdrXvHamA8vNTmLRAM7KA9apNINh kBl8lMHB/kI+ZUCOGTWkR5CJH3fVRXf1fHZtoqcDFMBbrd2RiLB7Al+0XtFX6ZXMRuOe 5iuu1HKk0UaSYIEWz2jAPCJQ0l9ob8cCt/AA+2TcXBMTjNpmdXXDTnxif84UjVorOTE4 4tUQ== 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=EkSV88ek7Z/KGX8qvKaUUqReHXiihihqUuf07BkCKnk=; b=Op5CGxqHX6ulkz+bwhBrgRKHpTl/5JFwE98M8QSLmETxq8Ou3EbxaBXEyDuXfb9wXN FoebP+0QPiKxRKtPgTFQRrt95tbO1Jb64pX4q38lV1B2Aq/Jxgc+rKukBGtTEyXqj24n Z5BzJyJtTvE0Pd28vXRgGJ2MNYR/2wQJWe1c3nE85Sp9lhZl5u7PAKb1HRmwqkrhhzlB eaT1SgPsyQQXiTU+8vXTmFhVZiHYDS64w/rx4orcy+dSVa0rmKnrezQs30SFV6jQud64 soI6/01tYUGeWLisiIfBaSmJGyVJsuOuhLbatQN31UgY9Q0lHZhQi66wnEdkfIzkvu72 Fk8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="j/jlV4xs"; 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=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x20-20020aa7d6d4000000b004ace582aca8si2821079edr.256.2023.02.21.04.01.17; Tue, 21 Feb 2023 04:01:42 -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=@collabora.com header.s=mail header.b="j/jlV4xs"; 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=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233281AbjBUL7A (ORCPT <rfc822;kautuk.consul.80@gmail.com> + 99 others); Tue, 21 Feb 2023 06:59:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233922AbjBUL54 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Feb 2023 06:57:56 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2453828858; Tue, 21 Feb 2023 03:57:25 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 385A166021D0; Tue, 21 Feb 2023 11:56:48 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676980609; bh=eeiHEsUa1T8pazV6udb38+IWdGn7nYU56qZHrE+N45Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j/jlV4xs/k//ZP/tw49TU44HqshlekYTU4Z7nLRwfnpCX2s3M/0/KHJa0dFpH7t0a Av6HJhjbeWGMnIG9LhkeZroWqTlqVsE5EN7H6WuKGBn3Fw3I5sFC3k9xtFtT3d0lUG UTzw1F1yZBdRsyPXv6Wz5QsLNVt5SFeb0CyezLldaa4/NJb6SJkYTHyy6gd0oSuE8v JqPip7JJvGXgbrNSHF+F28jx0QfWMnRWVMTlgna3Lm4PA1ZuTZvXcrd+ZE/uXXZPJ1 oD+PNdstQJW/vX/ObVzWZNLWnhcF3fvvAVRIdwdoBHdQiyHoh/xg2uJZL1unQ237df r23tAW+lku+tA== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: mturquette@baylibre.com Cc: sboyd@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, johnson.wang@mediatek.com, miles.chen@mediatek.com, chun-jie.chen@mediatek.com, daniel@makrotopia.org, fparent@baylibre.com, msp@baylibre.com, nfraprado@collabora.com, rex-bc.chen@mediatek.com, zhaojh329@gmail.com, sam.shih@mediatek.com, edward-jw.yang@mediatek.com, yangyingliang@huawei.com, granquet@baylibre.com, pablo.sun@mediatek.com, sean.wang@mediatek.com, chen.zhong@mediatek.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v4 41/54] clk: mediatek: Allow MT7622 clocks to be built as modules Date: Tue, 21 Feb 2023 12:55:36 +0100 Message-Id: <20230221115549.360132-42-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230221115549.360132-1-angelogioacchino.delregno@collabora.com> References: <20230221115549.360132-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758441926827991003?= X-GMAIL-MSGID: =?utf-8?q?1758441926827991003?= |
Series |
MediaTek clocks: full module build and cleanups
|
|
Commit Message
AngeloGioacchino Del Regno
Feb. 21, 2023, 11:55 a.m. UTC
Now that all drivers are using the simple probe mechanism change the MT7622 clock drivers to tristate in Kconfig to allow module build. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> --- drivers/clk/mediatek/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig index fc073e5be4eb..d089806789ee 100644 --- a/drivers/clk/mediatek/Kconfig +++ b/drivers/clk/mediatek/Kconfig @@ -336,7 +336,7 @@ config COMMON_CLK_MT6797_VENCSYS This driver supports MediaTek MT6797 vencsys clocks. config COMMON_CLK_MT7622 - bool "Clock driver for MediaTek MT7622" + tristate "Clock driver for MediaTek MT7622" depends on ARCH_MEDIATEK || COMPILE_TEST select COMMON_CLK_MEDIATEK default ARCH_MEDIATEK @@ -345,21 +345,21 @@ config COMMON_CLK_MT7622 required for various periperals found on MediaTek. config COMMON_CLK_MT7622_ETHSYS - bool "Clock driver for MediaTek MT7622 ETHSYS" + tristate "Clock driver for MediaTek MT7622 ETHSYS" depends on COMMON_CLK_MT7622 help This driver add support for clocks for Ethernet and SGMII required on MediaTek MT7622 SoC. config COMMON_CLK_MT7622_HIFSYS - bool "Clock driver for MediaTek MT7622 HIFSYS" + tristate "Clock driver for MediaTek MT7622 HIFSYS" depends on COMMON_CLK_MT7622 help This driver supports MediaTek MT7622 HIFSYS clocks providing to PCI-E and USB. config COMMON_CLK_MT7622_AUDSYS - bool "Clock driver for MediaTek MT7622 AUDSYS" + tristate "Clock driver for MediaTek MT7622 AUDSYS" depends on COMMON_CLK_MT7622 help This driver supports MediaTek MT7622 AUDSYS clocks providing