From patchwork Wed Feb 22 09:25:19 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: 13148940 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34EF2C6379F for ; Wed, 22 Feb 2023 09:51:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7zl8fB3deu8sxpzdqE8aUY2qJbTN4pkRaMEDBJHSCC4=; b=ADtxdQPsRbdPre3EMxMn5ZzZ/q L2l8+qZGrszLRES/9P6ZqfslMkRXhqCoQSzLHgJFdqaawkpsovv+a/ZddHaJZ6nXl8268WrVQNsev a81e2XgwitanBxPVp/4kh2spgCxOi0qc322c4UcyRZ6uSHnbZ/DXymwnUcfYikTcv2VuYmyyg5MCv d21osa7JRf0+hgIPq1eljG+GdIxdTBDnZ7Bg6Op7V8irDbkIn3zHW5MrYTMv1oZk/s+i3Zb9Rclas lGvZ1TNx3YcVoHQy/c3FVwdR4WMEMXzOADym16prs93f+zSuFxGHJCB3l/tSmvD7Nmwzd/hRB9xOB ammSLKVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pUlmO-00BclI-CS; Wed, 22 Feb 2023 09:51:16 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pUlOW-00BQ5P-I8; Wed, 22 Feb 2023 09:26:38 +0000 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 3829D66021D4; Wed, 22 Feb 2023 09:26:34 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1677057995; bh=muHw1yprwtYJhg/h75az61RAcCx+SCl2wO0H4BgLLUw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B2eETui2aupzpnC+M07LXltAjAulrkjxs3uJkaZ+Uz2FLkJDX72dREBUs9LZjOpw3 QPAHAB53Yzpzbr9HsTgU2srkesj2rP9Zx2lwNZOjtOMonuL268Kg1zU7L2dXt4Hnuj 0NIPBtmf2Glw+3UmRMUhwPhdIkT12tYLqHBVQkFBypZtUNHQ1VJUP6rCG+rb6Wb0NC 5MkSdpne7ge/fQOnVhxQfAZOa65C7NJtYuXP8RYqrAM/zagDTlUvzOj6Xs5BvlT4+S TY3qEgFd1oHUw9EXnsmM0buN3UwfXR1mugx+M2g54RMoQQUkbs0n4QY03oqsQZrPLZ IuoHZI5RWdT3g== 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 v5 30/54] clk: mediatek: mt8516: Allow building clock drivers as modules Date: Wed, 22 Feb 2023 10:25:19 +0100 Message-Id: <20230222092543.19187-31-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230222092543.19187-1-angelogioacchino.delregno@collabora.com> References: <20230222092543.19187-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230222_012636_804856_AA34A6C2 X-CRM114-Status: GOOD ( 10.57 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Now that all MT8516 drivers have been converted to platform driver, change the configuration options to tristate. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Chen-Yu Tsai --- drivers/clk/mediatek/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig index 2d14855dd37e..b9c0a9e21cf1 100644 --- a/drivers/clk/mediatek/Kconfig +++ b/drivers/clk/mediatek/Kconfig @@ -743,7 +743,7 @@ config COMMON_CLK_MT8365_VENC This driver supports MediaTek MT8365 venc clocks. config COMMON_CLK_MT8516 - bool "Clock driver for MediaTek MT8516" + tristate "Clock driver for MediaTek MT8516" depends on ARCH_MEDIATEK || COMPILE_TEST select COMMON_CLK_MEDIATEK default ARCH_MEDIATEK @@ -751,7 +751,7 @@ config COMMON_CLK_MT8516 This driver supports MediaTek MT8516 clocks. config COMMON_CLK_MT8516_AUDSYS - bool "Clock driver for MediaTek MT8516 audsys" + tristate "Clock driver for MediaTek MT8516 audsys" depends on COMMON_CLK_MT8516 help This driver supports MediaTek MT8516 audsys clocks.