From patchwork Mon Mar 6 14:05:31 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: 64726 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1871484wrd; Mon, 6 Mar 2023 06:28:06 -0800 (PST) X-Google-Smtp-Source: AK7set9Iu4iGdAzgIvxsGHMy9xYjJ8fBnsUieHXSJc8nC+fECLwfbsx8BnN+5bmu+VLcvuc9tI+D X-Received: by 2002:a05:6402:2037:b0:4c0:821a:40da with SMTP id ay23-20020a056402203700b004c0821a40damr11911897edb.34.1678112886693; Mon, 06 Mar 2023 06:28:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678112886; cv=none; d=google.com; s=arc-20160816; b=WRxNwTpvwk8Ou6gtP8daSjxRsPcXwe02EP72g8+br6Q8vCm8ehrVIddPBNn8X8Eccy j8G3L/Ta+ehlC7lZeOcm42jdLTp/rO9S21lXIpZBTaDUQI2pZV6q5Htpi0mdyBu6ybhm CGVT5gIKFgVZd8+v7LZujk7OFu3z/v9j6zqQXFWjrygz2xBEFHmwiwn4W9+sAFe+XLiz /bmS4oNdXZq0Uit1duW6W851qOXNO6U0WWSEm6Tzt6TLGzZkPpZbLQn/y8+nOl2rdOy2 cFESikdtjkXuGxvdzVro55pd2sqKAaJ1z7DeTiInes08Vuk2OgXifO1/CyVgvjAvmoDN SfQg== 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=FKOHD3X9zRF9gQhinvzS8APbE+FsjNXEWFNktKGtcSI=; b=EWrlms+FCHEv7hEHvR5AoG2+2qeagKkdMOWSC+00/Kmk8FwyNxXgr89XOw5G6dG2+/ 45aj58uK9l06Q9vWZVvlIF9lTjiqSHd+0J1zdlihMAXyW+xrPsRCujO3Ij5JXnTsPq8u Ca4PvEW9l9tSAQpPvSJVvhcAZqD/xzK11FJN4dG83BBPD4BdCxnKt1yH+NdYBYfuHSm2 h6b0abWyVYVY9frTcfDT7p6fGI0VCaikS796DoXk4/ASQpuSfwpr9gRdIsvEOsoZc3EK mF/piZVN14pKcLVakvTbPbLvGKQfrxej5qBVI7l+GvBDnXzxunE76WMZQSR4sJi2LX6h eK7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ijWFO7Sm; 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=QUARANTINE sp=QUARANTINE 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 ba28-20020a0564021adc00b004acc75b447bsi10957906edb.273.2023.03.06.06.27.43; Mon, 06 Mar 2023 06:28:06 -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=ijWFO7Sm; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229840AbjCFOQU (ORCPT + 99 others); Mon, 6 Mar 2023 09:16:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231824AbjCFOPu (ORCPT ); Mon, 6 Mar 2023 09:15:50 -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 8E5EA34037; Mon, 6 Mar 2023 06:14:45 -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 99D726602FCD; Mon, 6 Mar 2023 14:06:53 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1678111614; bh=FI6zR9Pb6VNHB5AOdGTQ1CoUIVssXsTFgvGu2mkVRUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ijWFO7SmzF3tzqO5ikmiCEcgUFhPBdc6L0BP8/bshajzS6tt3BROMau/Xl/2L9M0G ZMGAn8GX6osdfAUZEVbzQ5FBLTJHPjp15JJaaFyZzAkzPTUY4uoz8WpKAOmUgPQTAd OHy6i4C2WeOEBhQM11NprKtfidMQ6uFtOE3v2/r2fhSVCLCqNSrVFomohblEXlGNTj soEx5QmuwnOtq00eGOtAJl7E2AFh4o1qzwhf+4px6VOVW2FLGQP1zhzIkbYjZFhh50 x7v90i5JLHm0G9vVaf/T3+4S9uDqi3t9+6KEyATWJ18DTcd9fOY3vtI7jYwN9REuUd 4vktg6AUOcBGw== 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, kernel@collabora.com Subject: [PATCH v6 42/54] clk: mediatek: Allow all MT8167 clocks to be built as modules Date: Mon, 6 Mar 2023 15:05:31 +0100 Message-Id: <20230306140543.1813621-43-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230306140543.1813621-1-angelogioacchino.delregno@collabora.com> References: <20230306140543.1813621-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?1759628898074113565?= X-GMAIL-MSGID: =?utf-8?q?1759628898074113565?= 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 Reviewed-by: Chen-Yu Tsai --- 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 d089806789ee..9f81ffc0876a 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