From patchwork Mon Feb 6 15:29:24 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: 53389 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2301595wrn; Mon, 6 Feb 2023 07:37:01 -0800 (PST) X-Google-Smtp-Source: AK7set/QmyK10D12Yj/7JGiSjPK7ZqfaQ9cRUW1MNjEbi8eCbhjqdZujQU7GjOn4bFWBN6aiP+pL X-Received: by 2002:a17:907:6d89:b0:878:52cd:9006 with SMTP id sb9-20020a1709076d8900b0087852cd9006mr23951368ejc.69.1675697820955; Mon, 06 Feb 2023 07:37:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675697820; cv=none; d=google.com; s=arc-20160816; b=GuBqrKSMSKQiKs5xzyuXv+gw72ZAhlFyS/8bY9lIoXpD07XwCUxFFPpLSu+4Nwo/WL Bor3Vi9mHVGa4vICIvjd81TZqU6ja98mJluHj1DmaZxjl3KFUZBBlJbWgTxHPP0724FM e+GC9H5Hlgx/fJXrdRWpGL67Sjrd9BSqr1cCRIHO4H/J3qxTtKrM8eEXFtjTetWQ9oTn nslM9GHw4jFUohGehsd81pZxzWoYh1X7fb+yTzvXJ5dUZzHh4cB6bcRJhShfiUSTCHM7 AiZhVMw/b8+PnGi6cko3xRN/36kgN6+vddqX+GTtvAWx2S17Tt9RFospxiODTggwFot6 +Cbw== 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=/nhX0ZzO+o91oRktwk9h5syIPq4YTHnqk4Wg7b8YHlU=; b=F+NxDzydzopCGmLwJsKbKLj6dESMbZa2UUpYgPn2+yJtG0g9MU42knLLyaK+v+5zPV SNv8l3bfm6AEMBgjkkpwzdIF03RNRkenvoWKOd7Zlpj2ONT8Pd0R1Hux3Rf74qtXF7MI oobOi8sVSjkkkKyXquQDPSSvmW0weFMRgN2hdtB9yrAfvfvFk390f4ki5WPHGOQ7Wxi8 40MQHCIiepfF10vtrPhgxdjqOTBc/MnCxDn4M7Fde1IXzGmsLftZ3CM1tLd3zvxFIr1e 4htP1lxf7Pld9kY32WIvpkUajsZ1agbD28CpyGkA1Hsqcps80G9NScIF8iDRABaIKXC6 pyvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=L9wUUrvx; 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 u18-20020a170906109200b007c1727f7c57si13932675eju.243.2023.02.06.07.36.37; Mon, 06 Feb 2023 07:37:00 -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=L9wUUrvx; 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 S231659AbjBFPem (ORCPT + 99 others); Mon, 6 Feb 2023 10:34:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230161AbjBFPeD (ORCPT ); Mon, 6 Feb 2023 10:34:03 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B52342B291; Mon, 6 Feb 2023 07:31:42 -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 42E686602FA2; Mon, 6 Feb 2023 15:30:42 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1675697443; bh=AXqX968TBKOM3eXq4Eobvq/6nMoQsQ7ZOJPn9J7khw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L9wUUrvx8s/XmtJTwAc0HWq/fyHUYL/uV40Se9R+PXLv0oa1LY1YWI6rLCoAvOVhQ Xd/W2kIOE7Fey8+jJwsIbH+AT5v0DVAEuYRxehnSuoaRUpD8FfeU3sTZNnxyiTqWD/ A2K4V33uQfcs30JNF9Q1nYhQ9RrWAeFRTW5+NSz2RBbt9MPogCoe5AMyQylpH9JoY9 KkwO8EpThPE3nJXji56ipzBrLU4cteIn9h7oPrAwfSU/ggMrFZM7mQjuMgUmkXT2mI ZdUL/R/HMfbIXn2Lx1pwJCbsA9G0jfWgzA9PZuz/kAvxCjSzvRaCK85gxaRAwSuMFj G40D4rT5jN2hQ== 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 41/45] clk: mediatek: Allow building most MT6797 clock drivers as modules Date: Mon, 6 Feb 2023 16:29:24 +0100 Message-Id: <20230206152928.918562-42-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?1757096518257987291?= X-GMAIL-MSGID: =?utf-8?q?1757096518257987291?= Most of the MT6797 clock drivers can be built as modules: change them to tristate to allow that. Signed-off-by: AngeloGioacchino Del Regno --- 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 5444af1570ae..1497171a65ef 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.