From patchwork Mon Feb 6 15:28:53 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: 53355 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2298878wrn; Mon, 6 Feb 2023 07:31:58 -0800 (PST) X-Google-Smtp-Source: AK7set8v9r3XDrh7+PBhQGgUGUKhsKG+OCs6XdKUbx+P46VHqEm+axRq1A5PEpGZkbjp9r4qRAfG X-Received: by 2002:a05:6a21:3606:b0:c0:c427:27a8 with SMTP id yg6-20020a056a21360600b000c0c42727a8mr3355577pzb.35.1675697518358; Mon, 06 Feb 2023 07:31:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675697518; cv=none; d=google.com; s=arc-20160816; b=xoNaM8ZZms/HMLFrIpW3xSe/XKT01MQGzpxp9I7p13wmWGdvByoXctZ6rfJNmUZI+W 23gwuOTcLX/J7f8nt1ytVTQZXomeYu0A0su++4z3btY0WMutAAhKpnf9H3LMU7XismvP ohwzAURrP/YRqyu6qS5XvEI4SZH5PPGl14cJ6DodlFvKZkqYX1aozbjB8EAzFFO7RJcj x5VDwwCGSVuuMejxMGnK0SbF5pPGVPyq1LAeuqoDQ5go0Z8zkCGLQUh0mC4ETNZyOtUz 8yDTdlh0se5hS9oKVJ9JSFQdjzSWoGekJpkEXTuE1JAyv4M3fo7cI2jFVGKJnP6ITw/P JYcA== 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=i135oHRrc9TgW1U3pBi+s/3JsnSt/DOiQHvZlCxzPlY=; b=whka98f1WLJiRNIS/HiSKuMZcyWOgbdrrZ6RITbLkj4npsLAsKRa3HujCI851UUsE6 oqOrOsSpvYFlIlUrul5MgGVEdP6Bmxb/6jYQ1kcEV0CIRw+mwUTZnDAcChklmiRTfz81 2H9iLA+YcIvy41Zf/8gIhy4Gfq4/r49KFSPz0Oe6sRdPeMEarSFOSw1FgfQ50MFz5GVu 1ODeThf4flo1a7QrIyC8C/hou4DERm6MeaV8czZVi0K8Cv55EYin9fbzz2dLmrYfEbZh 7G83AZ8sfocxCtg5BPcK0vucEyUZ9uDDdIEGA/Rp2lsa5vDFm+sbwJ5pypENwcmFUJzb SgUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JI0d8ukM; 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 s135-20020a63778d000000b004fab8543f06si7498177pgc.687.2023.02.06.07.31.45; Mon, 06 Feb 2023 07:31:58 -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=JI0d8ukM; 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 S231217AbjBFPae (ORCPT + 99 others); Mon, 6 Feb 2023 10:30:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231209AbjBFPaM (ORCPT ); Mon, 6 Feb 2023 10:30:12 -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 ACF382A15F; Mon, 6 Feb 2023 07:30:01 -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 2C3486600363; Mon, 6 Feb 2023 15:29:59 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1675697400; bh=es/VjCs5Sirf2QvvbSsWTiU0DMcPinoHv17qMyqfuMU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JI0d8ukMvoXDuuUyYWtj2q+tM3bve2x6yaAACLcfts47zu6DfSnL+Fn59+HYEOh9t Nbcal/974Mo/P7zIEInoUCXXnN/UHA4figfgooRWg6VJXgrpyqdGAGnilCoB2vekGG oxPZnEXRYWeY0b8OaSc34IpJwD8XlP89P7XQAAIxqkvLr5548oq9mjEVguJD89L7NF kUjdzhgNfHzlRcglC3doPRqSIaf8biNysFvM/wt8ftc53pexoX0edjyemMKY8zYBk6 7urC442IUFOgSFSInLZOoaO5ULzO/2C1QZBTbyFxpDHWbCMtv+QNcB9UN0fJq5CTFl t+K2BXKA9T7AQ== 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 10/45] clk: mediatek: mt2712: Change Kconfig options to allow module build Date: Mon, 6 Feb 2023 16:28:53 +0100 Message-Id: <20230206152928.918562-11-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?1757096200905427847?= X-GMAIL-MSGID: =?utf-8?q?1757096200905427847?= All of the mt2712 drivers have been converted to platform drivers! Change the Kconfig options for all MT2712 clocks to tristate to allow building all clock drivers as modules. Signed-off-by: AngeloGioacchino Del Regno --- drivers/clk/mediatek/Kconfig | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig index 2d14855dd37e..adc6a9f87e7e 100644 --- a/drivers/clk/mediatek/Kconfig +++ b/drivers/clk/mediatek/Kconfig @@ -75,7 +75,7 @@ config COMMON_CLK_MT2701_G3DSYS This driver supports MediaTek MT2701 g3dsys clocks. config COMMON_CLK_MT2712 - bool "Clock driver for MediaTek MT2712" + tristate "Clock driver for MediaTek MT2712" depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST select COMMON_CLK_MEDIATEK default ARCH_MEDIATEK && ARM64 @@ -83,43 +83,43 @@ config COMMON_CLK_MT2712 This driver supports MediaTek MT2712 basic clocks. config COMMON_CLK_MT2712_BDPSYS - bool "Clock driver for MediaTek MT2712 bdpsys" + tristate "Clock driver for MediaTek MT2712 bdpsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 bdpsys clocks. config COMMON_CLK_MT2712_IMGSYS - bool "Clock driver for MediaTek MT2712 imgsys" + tristate "Clock driver for MediaTek MT2712 imgsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 imgsys clocks. config COMMON_CLK_MT2712_JPGDECSYS - bool "Clock driver for MediaTek MT2712 jpgdecsys" + tristate "Clock driver for MediaTek MT2712 jpgdecsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 jpgdecsys clocks. config COMMON_CLK_MT2712_MFGCFG - bool "Clock driver for MediaTek MT2712 mfgcfg" + tristate "Clock driver for MediaTek MT2712 mfgcfg" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 mfgcfg clocks. config COMMON_CLK_MT2712_MMSYS - bool "Clock driver for MediaTek MT2712 mmsys" + tristate "Clock driver for MediaTek MT2712 mmsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 mmsys clocks. config COMMON_CLK_MT2712_VDECSYS - bool "Clock driver for MediaTek MT2712 vdecsys" + tristate "Clock driver for MediaTek MT2712 vdecsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 vdecsys clocks. config COMMON_CLK_MT2712_VENCSYS - bool "Clock driver for MediaTek MT2712 vencsys" + tristate "Clock driver for MediaTek MT2712 vencsys" depends on COMMON_CLK_MT2712 help This driver supports MediaTek MT2712 vencsys clocks.