From patchwork Mon Feb 6 15:29:10 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: 53368 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2299559wrn; Mon, 6 Feb 2023 07:33:06 -0800 (PST) X-Google-Smtp-Source: AK7set+db7mdSKa2rwRA3LgFJVY4gjNYJ1Joj6rSh0dCBD8fKL0hbKy1CpT2A5RmdZ3xkLYhUKx3 X-Received: by 2002:a17:90b:3b92:b0:22c:36a6:71a6 with SMTP id pc18-20020a17090b3b9200b0022c36a671a6mr22114863pjb.41.1675697586330; Mon, 06 Feb 2023 07:33:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675697586; cv=none; d=google.com; s=arc-20160816; b=IJwKo2QbNyDIkSJwOPE5zbSSx3lkHWKt0CG/Gq9sikoqZ4bSnqEleT/Bta5jvPV5Tt xK1UWwXFYKxhGrDFEJu4teTYSoEkbbRw9oQ/m+mp+UN39O3P9mV7MsMu7MTa7cyG42HU vOZ+ves5Tn0Bez7QTL2rPAFna56a28x2ux66pmhpelef6dMe9ue3ZT8yZXYaz5dJ32co OylbHDkOX0re9IRIpMTQwzyXL6CAsylqxHTw9pmQ4EF4Qq6d/YkJMhtLa/yQHGhSnoB1 8vf9uNRri0r8AjFKy5Epozzq+Wltn+vGdG0z8PII8MtGXBmJ3tVEFa1Dyk6KvPCW645A jjqg== 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=yi8Gem8KFTDXyQe5zwnArPoVelHEgUtCowW5N3S2JBQ=; b=Awa2J4++yO7C6Ch+Q8uHmWvzqICjnY9zOTjz7YP7Fj2ToF9EmOydGu5e2eaGZYZ+3K gZVz6eoR7P4an0sFlCzKDpPOfXdGo0oqiS3mWB9rL18ydyE/kMvnmymX6JHxtRMqui+S AcASpPSmqnCd1XxXKz+IK5wcGz8ng5/udCn+CUth8zHJHg8FR8xllBIua70e2mDYqG4q ++yH/sx2iBH0tPWdRfgSz6WLRmnDOhJLmwy274B+9NAuVzGdqwhwlf3Ib9Pw0EU/x1oD s3s7JOkwBuh0iqlR38jacUDIKPknuZRQEVEdqEG4DDkaH5MApBeNnsO1qOCVlsHPAGZw O4cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=HnBNHI0Y; 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 p30-20020a634f5e000000b004e0d688fb84si10309402pgl.847.2023.02.06.07.32.53; Mon, 06 Feb 2023 07:33:06 -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=HnBNHI0Y; 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 S231564AbjBFPcL (ORCPT + 99 others); Mon, 6 Feb 2023 10:32:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231244AbjBFPbZ (ORCPT ); Mon, 6 Feb 2023 10:31:25 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 630592B61B; Mon, 6 Feb 2023 07:30:26 -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 CA1376602F9C; Mon, 6 Feb 2023 15:30:22 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1675697424; bh=5LnBocYaUnWmYtiYaTuAVfdZl416kibnaXZXNlSPZEY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HnBNHI0YNAEvSGm+KYKvbmKFGGvfOhqbJVy4LXFqhmvYOeoErU25vH0zPPrzC1v4l gLbYVSXeYWi9IZUyK0fkbcfvW9eNQTGhqfr3Oozv70gVsIc5RElFKFqbdWnyVQQWuN KDxhWOpyzggiEUhk4G2OmG5WJO1BCsPdp5D08caU72+Pz1F2QgrPyZyTJre1OATX0D xuKFp7xdLX1qBuuCgyehTPZS7itVfDC7EIPwVLFGlyzTYqjih2bFcvfQo0Qr600Cm9 t0nnzDOdG2lzReFWAh5kZZckxVz3k7hiliJedf2cG63vOPGoPVPcx5/97j8RtE9Cku yVoSaSZGlxsuQ== 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 27/45] clk: mediatek: mt8516: Allow building clock drivers as modules Date: Mon, 6 Feb 2023 16:29:10 +0100 Message-Id: <20230206152928.918562-28-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?1757096272364312962?= X-GMAIL-MSGID: =?utf-8?q?1757096272364312962?= Now that all MT8516 drivers have been converted to platform driver, change the configuration options to tristate. Signed-off-by: AngeloGioacchino Del Regno --- 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 adc6a9f87e7e..45b7aea7648d 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.