Message ID | 20230306140543.1813621-46-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1890274wrd; Mon, 6 Mar 2023 07:04:33 -0800 (PST) X-Google-Smtp-Source: AK7set/sghyrOC9Wzdfl5NKyWKLHuRxHKrDEGVkmqal+ISoZ1Nq7f1kWWGzg0zO7C7fwq7b9k/i4 X-Received: by 2002:a62:4e09:0:b0:5d6:4ef8:8c72 with SMTP id c9-20020a624e09000000b005d64ef88c72mr8734570pfb.14.1678115072767; Mon, 06 Mar 2023 07:04:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678115072; cv=none; d=google.com; s=arc-20160816; b=EyZji2D4CNRJyIm0cE8OiTeGOUNu15TWypMYBkOnXmGgC1vwU+hPX/ZIfiMc9G2Kim jDo3BJ2NZAnQyeSS6NHq2wKZt0WF/P4KdiAEana0iDWNZrVMJmxhVEfhSz4ct5/lTQd4 QLIhVmIk/Cw8MS61KQWXNcI0ftqoyu4DNmsCiiBIpCvnkGGtUWbhUzCqkcBOn+KZc2MO 7d76gx0/U/fZ8E6G/lGJo8794ov+8TWD0NL0SZmwr5/CgqyRiOJxASkqZUrn5puQ4FL7 fUKpa6xpF0SCzbRDx5PjDNYJSNiN2IkHw8gNQUOaryr2Hd6cjpWPaObPhTIKJcaURFxL Jneg== 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=efsxK3lIpuZZ9RWvGZ0rf4MH3PIXFn/ZuZhphY1P9Us=; b=KWLouJIs4gtRp2U37J/G8amu3mjOYd7vxvOkxZ7KSuhIma+hxmvY2+3YWlXRN80znO vz9aUTx4upeLBzGMauIHkKAjncogNqqv8XtFEPFG0O1sw+b2RHwNBv+9Ujyo8jNZl5Fa M0RpQMkl408Bt4++YLpujn/VsOTLGxcQDQ5h8WbZyDcY5s9EPVVjBeV9ooeiS5qtBBBo jme0BXsyP3yFwYVXPIasjBR01lbVonSeMmgLkNVTWAjVHdOnCcZRP7lRNs2gp1CwfMRP od0iXoe/vFvdWyKvUL9v58lmjU6niiA5/ETjc5luNJZgKyhbKV4h1ZXlpsByStV20gtz miCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LveY51Tg; 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 f5-20020aa79d85000000b005de484ca9ccsi9637673pfq.149.2023.03.06.07.04.18; Mon, 06 Mar 2023 07:04:32 -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=LveY51Tg; 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 S229772AbjCFOQR (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 6 Mar 2023 09:16:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231768AbjCFOPo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Mar 2023 09:15:44 -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 7800532E44; Mon, 6 Mar 2023 06:14:32 -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 344186602FE9; Mon, 6 Mar 2023 14:06:58 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1678111619; bh=fuZgojmucraP2KUsyAgKmwcy9EcH5vABH4xvPodSAO8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LveY51TggcWkjHHxwh6P4tvWtilt5p3Ysu96obrJhr2WEee2DXteyy0oIBlCaG6Ea KLC0A3ybdUjViLrBxhextxJO0qchBFMo5c7eIhpQvoH9HyilH5jTycIcB/A2tH9zpl RkcVo0vMspGDsUn7HxF5IK2jf3v1xojJZ0ssFfJxzd8qlMMfkaPDWT/zdB2PL63gzs 07qGmO9BpuANPAEbLgYIs+anEDqIaqaF0ejx3ka5wAF4o/v+amebLBlvtlV9Zt6DSr hqEECusRnEucLUI19HM9ew/zCvCSLCXQup5/LONQsYDqilLqCbdb9YaD4r8oqZrLXI w0EsZanEEGiJA== 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, kernel@collabora.com Subject: [PATCH v6 45/54] clk: mediatek: Allow building most MT6797 clock drivers as modules Date: Mon, 6 Mar 2023 15:05:34 +0100 Message-Id: <20230306140543.1813621-46-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 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?1759631190422415487?= X-GMAIL-MSGID: =?utf-8?q?1759631190422415487?= |
Series |
MediaTek clocks: full module build and cleanups
|
|
Commit Message
AngeloGioacchino Del Regno
March 6, 2023, 2:05 p.m. UTC
Most of the MT6797 clock drivers can be built as modules: change them to tristate to allow that. 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 a3260675cafc..0240c1039d64 100644 --- a/drivers/clk/mediatek/Kconfig +++ b/drivers/clk/mediatek/Kconfig @@ -312,25 +312,25 @@ config COMMON_CLK_MT6797 This driver supports MediaTek MT6797 basic clocks. config COMMON_CLK_MT6797_MMSYS - bool "Clock driver for MediaTek MT6797 mmsys" + tristate "Clock driver for MediaTek MT6797 mmsys" depends on COMMON_CLK_MT6797 help This driver supports MediaTek MT6797 mmsys clocks. config COMMON_CLK_MT6797_IMGSYS - bool "Clock driver for MediaTek MT6797 imgsys" + tristate "Clock driver for MediaTek MT6797 imgsys" depends on COMMON_CLK_MT6797 help This driver supports MediaTek MT6797 imgsys clocks. config COMMON_CLK_MT6797_VDECSYS - bool "Clock driver for MediaTek MT6797 vdecsys" + tristate "Clock driver for MediaTek MT6797 vdecsys" depends on COMMON_CLK_MT6797 help This driver supports MediaTek MT6797 vdecsys clocks. config COMMON_CLK_MT6797_VENCSYS - bool "Clock driver for MediaTek MT6797 vencsys" + tristate "Clock driver for MediaTek MT6797 vencsys" depends on COMMON_CLK_MT6797 help This driver supports MediaTek MT6797 vencsys clocks.