From patchwork Tue Feb 14 13:41:23 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: 56948 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2979638wrn; Tue, 14 Feb 2023 05:45:36 -0800 (PST) X-Google-Smtp-Source: AK7set9TdWf/8CFwnpOK0owpkU+obvTiNk2PpmnhzQ4TV0T25udQfd03xomPlgjH45+YPS3U4E1v X-Received: by 2002:a50:9355:0:b0:4ab:4b69:71bf with SMTP id n21-20020a509355000000b004ab4b6971bfmr2432755eda.5.1676382336041; Tue, 14 Feb 2023 05:45:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676382336; cv=none; d=google.com; s=arc-20160816; b=xcH32LTEccpjR75ZKW1mIJx3CSFKlyaxCFtu70105/E13WiVSbYw0Aj13dhwwppBpG QkufwUYTXzBgpcqrkLCZKwd6/eKLGU+zEH2zKy1hNaSP5MBduvmq9OMf7yyoSKpJHUy7 5O4RCgqauj5ajiLtrERc/i9E2KKhQ8SVVEnLvc7Erz7b8NG4jtfDWzqy/0SwQ5vDo/8z ga0a5FbP1OqjxjKqpr0TtwwLCygtN5QvW1rjCed5VnVh1//+OgB7VJYgLCtB07qo9jgd juHmV4kKzeEwjDyjWvqMqQULib2RA7RSbmyQn3xH9VpifXhbR5/+E0ie12R5MGBtLi0F sXLg== 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=/nhX0ZzO+o91oRktwk9h5syIPq4YTHnqk4Wg7b8YHlU=; b=YCUtpDO9E9XwekxwDBYcfowR1DLHwjDDU03Wxpw4Kr6+duuP9dX9qLFO/20PYszW+u Kvq9fKO9s61S6hH9zupz8M1Ye/aIkPdreWYMv8FrjZXvN/iey8lfVTYHgOGTignJJp/s F7Yb5W19OKukTtgQUPLmdxkp7h4FVlkFz66HpeivJ9LmRlniJvIyeElNc/vjXmQaLJ8y DbQLWOpRF8e/8RhzmhSsOAO/sqlXf7mBTqwDHPN99OPy0xjYYeqaIlYg9+cGSJ93ZCAH FpmqT8ZwP7221rI9L7cjpH9d987KCm7pfdUeO5p9L5QT4OwOTnPkN9Ye1hD2LsbnHoNe tqHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=d9K4g8ht; 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 s18-20020aa7c552000000b004aaa832ef40si8380119edr.547.2023.02.14.05.45.11; Tue, 14 Feb 2023 05:45:36 -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=d9K4g8ht; 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 S232795AbjBNNob (ORCPT + 99 others); Tue, 14 Feb 2023 08:44:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231919AbjBNNnf (ORCPT ); Tue, 14 Feb 2023 08:43:35 -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 3DF385247; Tue, 14 Feb 2023 05:42:54 -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 9CB1266021A0; Tue, 14 Feb 2023 13:42:37 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676382158; bh=AXqX968TBKOM3eXq4Eobvq/6nMoQsQ7ZOJPn9J7khw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d9K4g8htBOGB+7NFti9EC6Krjql+TR4K44mh14xNIdBrPY0dRxsiNsHF9HJzjyuj/ U6nh7sECKKj0Sgbme3RQZSCVcEZVRaClmYf2DSKpYJ3id4zvfpHVayQyPfxVLxzatK /B2kngr6K0YciQNm6scejic/vYctH/in6G0xkCGrzL61jlJee0CsjQzlpAJxkKKy2K TZFkgXy8kaPJPTKx7Eb8+bd9uHlnGfuNoeqLuFgNauVuJPKpaYqHxpNbEmZLNPSDp9 jinkFd5RgOvHomt917ysKE2x77sh81+2Eg/TvgK/NGG03ipPDZZjq0nPveotgVNunp ActWFM8A7AC7Q== 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 v2 43/47] clk: mediatek: Allow building most MT6797 clock drivers as modules Date: Tue, 14 Feb 2023 14:41:23 +0100 Message-Id: <20230214134127.59273-44-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230214134127.59273-1-angelogioacchino.delregno@collabora.com> References: <20230214134127.59273-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?1757814284867354996?= X-GMAIL-MSGID: =?utf-8?q?1757814284867354996?= Most of the MT6797 clock drivers can be built as modules: change them to tristate to allow that. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Chen-Yu Tsai --- drivers/clk/mediatek/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig index 5444af1570ae..1497171a65ef 100644 --- a/drivers/clk/mediatek/Kconfig +++ b/drivers/clk/mediatek/Kconfig @@ -312,25 +312,25 @@ config COMMON_CLK_MT6797 This driver supports MediaTek MT6797 basic clocks. config COMMON_CLK_MT6797_MMSYS - bool "Clock driver for MediaTek MT6797 mmsys" + tristate "Clock driver for MediaTek MT6797 mmsys" depends on COMMON_CLK_MT6797 help This driver supports MediaTek MT6797 mmsys clocks. config COMMON_CLK_MT6797_IMGSYS - bool "Clock driver for MediaTek MT6797 imgsys" + tristate "Clock driver for MediaTek MT6797 imgsys" depends on COMMON_CLK_MT6797 help This driver supports MediaTek MT6797 imgsys clocks. config COMMON_CLK_MT6797_VDECSYS - bool "Clock driver for MediaTek MT6797 vdecsys" + tristate "Clock driver for MediaTek MT6797 vdecsys" depends on COMMON_CLK_MT6797 help This driver supports MediaTek MT6797 vdecsys clocks. config COMMON_CLK_MT6797_VENCSYS - bool "Clock driver for MediaTek MT6797 vencsys" + tristate "Clock driver for MediaTek MT6797 vencsys" depends on COMMON_CLK_MT6797 help This driver supports MediaTek MT6797 vencsys clocks.