From patchwork Mon Mar 6 14:05:27 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: 64684 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1867063wrd; Mon, 6 Mar 2023 06:19:45 -0800 (PST) X-Google-Smtp-Source: AK7set/vsvB9PhU1vIV5Ff/ZxfiPzQm+h5W8NZgSdLRdO3enMPNSesUCd9PcIM1xKj5GugjQ1vPe X-Received: by 2002:a05:6402:383:b0:4ad:7056:23a5 with SMTP id o3-20020a056402038300b004ad705623a5mr11520790edv.14.1678112385084; Mon, 06 Mar 2023 06:19:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678112385; cv=none; d=google.com; s=arc-20160816; b=NLgEDI3GsdY4Xmov3hpGmPM6kRKc0QzvE8a9MAlkB/3x+KSzZCaUinmO64HZn6bbsC AjRyEDmgB5zkJkNTkVZOD0T23OfItMNrgxe4H0bA38rscyObUcUqBBZF8w/JzLjtUNZe UmpbtZv/53sRnHSkmZvLJXWuJOjF380z8l+Amymb/yK7PIEeSRbHdyUg3drjh/jtS7iW LEI8g6Qm4oFHnL/Nk8fmCXBGdu2Z0BaDf5MKH+HIvowr9mRvzJK8/R9wH9hKILB3O65o cZfVKaQkRXae654JIZEV8lN+XPkJSeryUOqu5KJfZTGazdRON9xo5tuyfYJUG16wABj6 rrwA== 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=5hiOGbRLd6awfODUe5B29cRrwHs/i+noW1PKu3C/lIU=; b=DkCk64ojm6D9dXPJGcmynmunVB9WX7ZLdqSBnIBwE9OLd4W/3sEIyZcMFR9C1kfP2o 8W+4S2+Itk4o0fHVXXuLsPbFf7oOxyL45XgidXEYSGCHDwT7GgYokH/5dJ5PRbKYpiVm 1IsAxhHv53mPgwOpkYtnU1cUesxK6FfY7O6ziz5wKD7V0Rm/w5Zq1Mxg0araMq+YWabl zl6+fRx4s0L8mC39Zekv/tJOKz08JaiBu7JT/EuAwheYztNj+DK+QZiDqoW5wU8USwxX qQd4bPeYQQ0VmntnfuTiq0V1/MgoxEsFLYPU1ip2IXHQjG9jFr2Hlt0VIi56lq390OmT VBTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=C39t7wn3; 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 z6-20020a1709067e4600b008d356e98512si9615963ejr.95.2023.03.06.06.19.21; Mon, 06 Mar 2023 06:19:45 -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=C39t7wn3; 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 S230462AbjCFOLN (ORCPT + 99 others); Mon, 6 Mar 2023 09:11:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231443AbjCFOKw (ORCPT ); Mon, 6 Mar 2023 09:10:52 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79D192ED52; Mon, 6 Mar 2023 06:08:57 -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 86E476602FF5; Mon, 6 Mar 2023 14:06:47 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1678111608; bh=okgDVcS5AIh9ARPx4LN/uPCOjdyJGHaFGT+16hg9eRs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C39t7wn3I5n8ZzF6x9vo0CmHqRDGYWBUELBHSInQz732ThU20yixNP3UxuURE+9W9 pmSC5+M7q9/rdGipO5azwP9W7xCHe8eirDewk+miuzJRbKRfpfFgqx8QO0evq5E2Jy W6ETOyExIx0/6+ZGWUzS9Hrf6YUr1pvCmz3S6CPf7Z2ZnjeqBGkxmAKO+6A8eD0GnB SygusETVJlSPV9hfKbN2KVyXILZm5Z+JUd726/+uc3EmYga9nj0lCuW754A3+zTkq2 pewXBiK5h2N5NGAdZ7olhxSerE5qh9R/B5DeyEgxIuDSutaU3lBY9nGxuGS/EgPxbZ GqB4P5Rjjcqtw== 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 38/54] clk: mediatek: mt2712: Change Kconfig options to allow module build Date: Mon, 6 Mar 2023 15:05:27 +0100 Message-Id: <20230306140543.1813621-39-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?1759628372614965638?= X-GMAIL-MSGID: =?utf-8?q?1759628372614965638?= All of the mt2712 drivers have been converted to platform drivers! Change the Kconfig options for all MT2712 clocks to tristate to allow building all clock drivers 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 b9c0a9e21cf1..45b7aea7648d 100644 --- a/drivers/clk/mediatek/Kconfig +++ b/drivers/clk/mediatek/Kconfig @@ -75,7 +75,7 @@ config COMMON_CLK_MT2701_G3DSYS This driver supports MediaTek MT2701 g3dsys clocks. config COMMON_CLK_MT2712 - bool "Clock driver for MediaTek MT2712" + tristate "Clock driver for MediaTek MT2712" depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST select COMMON_CLK_MEDIATEK default ARCH_MEDIATEK && ARM64 @@ -83,43 +83,43 @@ config COMMON_CLK_MT2712 This driver supports MediaTek MT2712 basic clocks. config COMMON_CLK_MT2712_BDPSYS - bool "Clock driver for MediaTek MT2712 bdpsys" + tristate "Clock driver for MediaTek MT2712 bdpsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 bdpsys clocks. config COMMON_CLK_MT2712_IMGSYS - bool "Clock driver for MediaTek MT2712 imgsys" + tristate "Clock driver for MediaTek MT2712 imgsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 imgsys clocks. config COMMON_CLK_MT2712_JPGDECSYS - bool "Clock driver for MediaTek MT2712 jpgdecsys" + tristate "Clock driver for MediaTek MT2712 jpgdecsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 jpgdecsys clocks. config COMMON_CLK_MT2712_MFGCFG - bool "Clock driver for MediaTek MT2712 mfgcfg" + tristate "Clock driver for MediaTek MT2712 mfgcfg" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 mfgcfg clocks. config COMMON_CLK_MT2712_MMSYS - bool "Clock driver for MediaTek MT2712 mmsys" + tristate "Clock driver for MediaTek MT2712 mmsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 mmsys clocks. config COMMON_CLK_MT2712_VDECSYS - bool "Clock driver for MediaTek MT2712 vdecsys" + tristate "Clock driver for MediaTek MT2712 vdecsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 vdecsys clocks. config COMMON_CLK_MT2712_VENCSYS - bool "Clock driver for MediaTek MT2712 vencsys" + tristate "Clock driver for MediaTek MT2712 vencsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 vencsys clocks.