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: 60415 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp473477wrd; Wed, 22 Feb 2023 01:29:07 -0800 (PST) X-Google-Smtp-Source: AK7set9ldaaKLSQ/aMbObjno8Qx9hTY0Y2RVYs1gAF5a2/6KVi9/PpiKUJxHoTKwSgLxzUXp0six X-Received: by 2002:a17:90b:4b92:b0:234:bf6e:5651 with SMTP id lr18-20020a17090b4b9200b00234bf6e5651mr8342343pjb.13.1677058147093; Wed, 22 Feb 2023 01:29:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677058147; cv=none; d=google.com; s=arc-20160816; b=mAj4z61AGENIXws74AEXWo/pYBcMGWtKZ7kSAhWEdQSGbpvH5HHIhpA+c8bl1+81qV ea4tdY5Bmwzd4ACn+1E1xRtvlZIddZrk0xVHp6N1c+K8VOxVirFQOgo4TZJ8CigAuWTS +RFIJEnmS5zBWb5Qa3hVgSVGT77EgRmx1jj1uOe+MWYP1fIZtzqgQykvOcQKWM2CEgUY TVX9vGoIfFcGTeq7HItPmquOPm2sEduUGc/qvYVL4EdkenRWXh/+mPTtv1D6OV5U8AgH lIFKPOgdqSLPnSFuxWTraIXOQ8UyqnjhwyRi6Ksekv8dkFMvfYqeEXArk4enS+evfkDB gjXg== 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=eYCnvXX0/hb8R/XoP3Qeq4nWeVmaiG0ChhMnWm6CCS8vyGC/izY7TPe9EYb3zdEE2w tXwaunv37vVw55dGGWx4h0icIXtKZSkghaTJwsc7g2Fzsdp8bIFRPVRCJkShMyJb+Smo MnE83zp9B6bqtxWXQ+EfaDfbnpa9IlithNJz1HeTOxaQLdD6f6fCx4z/H3hnoqrNdVkL /shI1E28TtKKYazoQkmyVrOu+1H/zWC6i0VTA9WdXj6AXWI7LXKw+HSqu7aVFY00BTuF sJWGdRT8Hw+YPlm/qbksvSX2DZ9Fq5haPemNdHaK6kS3RoVOB4WCJSz8gayC7JNrTRTT OpCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=B2eETui2; 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 o89-20020a17090a0a6200b0023111ee967dsi15109036pjo.186.2023.02.22.01.28.54; Wed, 22 Feb 2023 01:29:07 -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=B2eETui2; 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 S232066AbjBVJ2i (ORCPT + 99 others); Wed, 22 Feb 2023 04:28:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231837AbjBVJ1v (ORCPT ); Wed, 22 Feb 2023 04:27:51 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF16A3928B; Wed, 22 Feb 2023 01:26:46 -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 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-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?1758522923656189973?= X-GMAIL-MSGID: =?utf-8?q?1758522923656189973?= 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.