From patchwork Mon Feb 6 15:29:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 53377 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2300108wrn; Mon, 6 Feb 2023 07:34:04 -0800 (PST) X-Google-Smtp-Source: AK7set/nKupU9H6fF/JvxWLuMWWQF0r1OKWflhnkDzIT23jcqjXqf3dw3uOa0c/DXMdFlIEaXyva X-Received: by 2002:a17:902:8c8d:b0:198:e8ca:fad3 with SMTP id t13-20020a1709028c8d00b00198e8cafad3mr5333789plo.17.1675697643930; Mon, 06 Feb 2023 07:34:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675697643; cv=none; d=google.com; s=arc-20160816; b=bPoZZJFiAVne95dqE8ZAigcOwGZ+4e48JgD5QUYx0C/XmbRdkgeeNQtEgsOSh0dzQg iE1BB+swtpKbnPU2TkEAJ26Ft8usFbsb1golT47oOveQQoqxZz1OhJDooq+AAASf7pY2 7Xs40+ltwEMhpL6X6LH3vIxps5z+KKPNUB1QI04pAj3UvQb7N8E/GqRqsF6pcw0/9D/+ 9yx2y82b4wnxN0JcTH7H0rg97ym7/6MZVE9iHSYTDAPCINwd1JxNfjS8vmBx4UUxSbFD +Stbw/cogmIE3tbkSAuCpBjVvr4SZWwPxozZ9bj20TrqFrGBLx6TrkpnowRFkG2KraCD X8Pg== 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=GO15VsJlzlmyLxcQ5TSQgPGhma+5RsavILp781J0eJM=; b=ZMfBL8kv/8IrsFhLBFb85RvR440sd3g+1kQ3pDg9/6P0a/3xwbF0CogFglLEVsFCdp gI4Lum4I8hx/RVtVW7nKKEE5LEHFjrVqpHMFvEFFYaJGAdED+quqif9adKC42jplUyX+ xqWScVqU+FjtXTLUXiG/6fiLUR2JwG8df2VrNV5Qy9FeJDP4K637dkJK7xCZS+jGLvII nRx2JfxsnvC5sQb4OvgoAC+sw/4PURcaxGnlr7itz09vyEWYZU/kiuo+P9aast2VkSSc A2ePNpERrYa3Nd6mpQxX48o2odlqX9VNircsGa5MilAqjytmKlrzxW+/Kh3JLJIbT14O bTFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=mvjBzPry; 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 l189-20020a6388c6000000b004f4c72b8590si10276635pgd.512.2023.02.06.07.33.50; Mon, 06 Feb 2023 07:34:03 -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=mvjBzPry; 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 S231611AbjBFPcx (ORCPT + 99 others); Mon, 6 Feb 2023 10:32:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231441AbjBFPbw (ORCPT ); Mon, 6 Feb 2023 10:31:52 -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 1099610AB3; Mon, 6 Feb 2023 07:30:46 -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 1D08D6602F98; Mon, 6 Feb 2023 15:30:38 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1675697439; bh=VKBrumrs2Sux84CcTsQzhD+nobtsdV7Rc1oS6rm0aLI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mvjBzPry8Mc5jKLD+lYSN1SqQ4zUXrjDVUTerOugSl1D4bZupwedM56rptHBWKMtN IkJa5p0bx++xV3ihzl7tgvzfonwrZLCmEI73r2qt26YCcnO5QKnnbnp0Byz51Efye9 lU2+PQ7x8HZDfGoub74v6TEmtqNhc7Q3otJxE6XA5InoEmIOWoHuSoIGv+cTbQyzVP LTEXs+ZBNWRLwJ0ce8WmpCLN8K8LixTExN2J8qBSqJsSvpzG1udpDndXpLCpJnb53S gG1WDMvCy1fRNSeyxMAxH7BmNFcE5iCBuX8aL6mUZ/v15ctl/BcDquI48VjAnFkQmP RBpIY4f3RrUpg== From: AngeloGioacchino Del Regno 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 v1 38/45] clk: mediatek: Allow all MT8167 clocks to be built as modules Date: Mon, 6 Feb 2023 16:29:21 +0100 Message-Id: <20230206152928.918562-39-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230206152928.918562-1-angelogioacchino.delregno@collabora.com> References: <20230206152928.918562-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757096332572373762?= X-GMAIL-MSGID: =?utf-8?q?1757096332572373762?= Almost all MT8167 clocks have been converted to use the common probe mechanism, moreover, now all of them are platform drivers: allow building as modules. Signed-off-by: AngeloGioacchino Del Regno --- drivers/clk/mediatek/Kconfig | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig index 55727889ebf5..54f59f4b2b1a 100644 --- a/drivers/clk/mediatek/Kconfig +++ b/drivers/clk/mediatek/Kconfig @@ -406,7 +406,7 @@ config COMMON_CLK_MT7981_ETHSYS required on MediaTek MT7981 SoC. config COMMON_CLK_MT7986 - bool "Clock driver for MediaTek MT7986" + tristate "Clock driver for MediaTek MT7986" depends on ARCH_MEDIATEK || COMPILE_TEST select COMMON_CLK_MEDIATEK default ARCH_MEDIATEK @@ -415,7 +415,7 @@ config COMMON_CLK_MT7986 required for various peripherals found on MediaTek. config COMMON_CLK_MT7986_ETHSYS - bool "Clock driver for MediaTek MT7986 ETHSYS" + tristate "Clock driver for MediaTek MT7986 ETHSYS" depends on COMMON_CLK_MT7986 default COMMON_CLK_MT7986 help @@ -431,7 +431,7 @@ config COMMON_CLK_MT8135 This driver supports MediaTek MT8135 clocks. config COMMON_CLK_MT8167 - bool "Clock driver for MediaTek MT8167" + tristate "Clock driver for MediaTek MT8167" depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST select COMMON_CLK_MEDIATEK default ARCH_MEDIATEK @@ -439,35 +439,35 @@ config COMMON_CLK_MT8167 This driver supports MediaTek MT8167 basic clocks. config COMMON_CLK_MT8167_AUDSYS - bool "Clock driver for MediaTek MT8167 audsys" + tristate "Clock driver for MediaTek MT8167 audsys" depends on COMMON_CLK_MT8167 default COMMON_CLK_MT8167 help This driver supports MediaTek MT8167 audsys clocks. config COMMON_CLK_MT8167_IMGSYS - bool "Clock driver for MediaTek MT8167 imgsys" + tristate "Clock driver for MediaTek MT8167 imgsys" depends on COMMON_CLK_MT8167 default COMMON_CLK_MT8167 help This driver supports MediaTek MT8167 imgsys clocks. config COMMON_CLK_MT8167_MFGCFG - bool "Clock driver for MediaTek MT8167 mfgcfg" + tristate "Clock driver for MediaTek MT8167 mfgcfg" depends on COMMON_CLK_MT8167 default COMMON_CLK_MT8167 help This driver supports MediaTek MT8167 mfgcfg clocks. config COMMON_CLK_MT8167_MMSYS - bool "Clock driver for MediaTek MT8167 mmsys" + tristate "Clock driver for MediaTek MT8167 mmsys" depends on COMMON_CLK_MT8167 default COMMON_CLK_MT8167 help This driver supports MediaTek MT8167 mmsys clocks. config COMMON_CLK_MT8167_VDECSYS - bool "Clock driver for MediaTek MT8167 vdecsys" + tristate "Clock driver for MediaTek MT8167 vdecsys" depends on COMMON_CLK_MT8167 default COMMON_CLK_MT8167 help