From patchwork Mon Mar 6 14:05: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: 64718 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1869962wrd; Mon, 6 Mar 2023 06:25:08 -0800 (PST) X-Google-Smtp-Source: AK7set9JVxjhKnfExmJ5jq9LlyzifIb5qAJjiNSgf0mRPD7e1AraHrUpVUEo4mmgupD7LSmER1EM X-Received: by 2002:a17:907:a808:b0:8aa:c35b:a34b with SMTP id vo8-20020a170907a80800b008aac35ba34bmr11252685ejc.20.1678112708450; Mon, 06 Mar 2023 06:25:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678112708; cv=none; d=google.com; s=arc-20160816; b=NBEByL5OvNSyJX6VMe1PbaIyUzpjhcHJbTcviUflYvbA8oDRpyFyxJh0sp7Q0lm90N LE5c+QuVtGM9fLi/MLrUyppQ07SpfR7q+nf6LL075QUqsJhh//PutSEZL4e64UifYA2y ctyDMw1fwnu0veSb7iqEm7tjC/1vRdD24sBrmKXZ9yEf/NrrdB1v46YbXtRFgJh1oOtj eqYEiYc3A0UezFsi0gOxwoilDkT0ss4sV+oSEHS2zqG4ERPPK0ELBlJKWYZ3mh/R6XJ8 kPPEQs7ZMrBxKMvmZmQogH75BTwdgIso0EK/aDfoCi63VHup4UPIdyX7WUMUHcmnNzcm ppmw== 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=7zl8fB3deu8sxpzdqE8aUY2qJbTN4pkRaMEDBJHSCC4=; b=Td26v8n7+oq6kghn5wOSTPUY+XH5gNO/2IXBMI9joHzUdatE5+nvoaBD1eu+AOppyQ uB5Bz50ggTIMa++RbMbDA3jshgAd3if/6+Z3eb7dCZt/PpBAyH+j7aEY4415qNxgNOnh 2J+F4WCEIfHeZCP3wKLPNmhHyqFtaoKqYK7XmZ99BzOcuB2avjkelg8cQ85rF7zKhGkW Gz2Xbb3MPdQMUmNaHfflTZBXDZvGp4FhZJ61UilfPUJsBnwWJX6rxEV3o3JvgQOWhT0P gatJtdjOdP4Zq6BArt6MuB4SOQZ557HoD6KRARgcilfxcdMgqiMRqcz51iw3HwfM+q9w A54Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=A3Hqylcn; 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 sb24-20020a170906edd800b008cf79b051cesi6762967ejb.895.2023.03.06.06.24.44; Mon, 06 Mar 2023 06:25:08 -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=A3Hqylcn; 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 S230015AbjCFOIz (ORCPT + 99 others); Mon, 6 Mar 2023 09:08:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231197AbjCFOIV (ORCPT ); Mon, 6 Mar 2023 09:08:21 -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 9784F31E09; Mon, 6 Mar 2023 06:07:19 -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 63F326602FE8; Mon, 6 Mar 2023 14:06:34 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1678111595; bh=muHw1yprwtYJhg/h75az61RAcCx+SCl2wO0H4BgLLUw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A3HqylcnRwkor1Jwchlx6MxOzvtG6OIWWAxY49JtUwP0fNXlmipRIeeN0zhLx4Jxn GIwHBA5jTPb/DsFkV85e+LmMqPmcXD/2VkrN1r2N2lmoBP2Mwzcbh9EOvIyIB/3Ry3 dJ01xoCSdf4yDB+GVW2ZJn1Er9xg/50obed80SEP93K52VTH12y60w3dSRey5a/oWT DhdVWo9Rqn4PZVjm0d8f8B3oTYwLlbN2SJWpm5ibNu6h50CcIQ9QMopInjL9iOBda2 5gEqbjbTJJL9w5VYkTrHMSys0/ioALotJm1LVlTyaRwuW5UQCZzgwnFgEKiEVugk/Q Vi5VCq3a9NFuA== 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 30/54] clk: mediatek: mt8516: Allow building clock drivers as modules Date: Mon, 6 Mar 2023 15:05:19 +0100 Message-Id: <20230306140543.1813621-31-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?1759628711351761447?= X-GMAIL-MSGID: =?utf-8?q?1759628711351761447?= 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.