Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp417636pxb; Thu, 12 Aug 2021 20:36:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDUqyafIEAeDrw8V7gSVA84P9lCBtVdNwNjltgIZddJ8aZujvvAwU6FEUagv4peyGSesqD X-Received: by 2002:a05:6638:618:: with SMTP id g24mr242483jar.94.1628825819774; Thu, 12 Aug 2021 20:36:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628825819; cv=none; d=google.com; s=arc-20160816; b=kiyMYcwqCHUbetU1TvoAsZpfKhGYhzfrnA54Nh9S09x2NzlQW64b8OrkFowdiu/4s8 v3qe8utEU/BcxDMqyUT0o1yEQiTWLtuI552fsQTLHTF6XbBudE/ydgRCH9ojFHZkeKPz sChbJBn9LxblAwFBNzYUsCIssrkdpEoTYNdsOsX+GTIqdorFTnepvqylg72Y599bmyMW wn9TQfsMDWwnmruQ0WT6oImcG0YEfGMLwQFjcOH/duAgPrxjZcbH4QDOP54lKoheo5u0 5pv5XH+UaaLMjiRxDfGV7O7YBrGNa7rs8d9asm6fHiTQjuzl4d5yJ/PZNegHzY1/Orkx Ulsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=QBguWehr/o3Uqt334BycTA9gi0QtMxG/x08JLccHF04=; b=PsK+ETFbxhjbSk90KVk41pjsJOWWqfWWnPRSNCo+UEIKMTjSyLLoox9NIDzSmopge5 b2X37/c8EcEsYWWh/DFWh6mxYFf2SImjWkycNMXNxA1LK2T9HEhwbKrJCUc8YH7fHLBe 9Uo4jJRdBMlr5ZkNAea7B89rd14VCh/IikPP4Fu4/C+P2jcVPTToJWtiCyM7//pX9k1t IXuVy6vHxXfyyQ3fMRGlqz/oZLFnAY5eB2JwN0Nz3i/5mKqhe6C2VAkSNGi1OdaR0Unq gg+4vt2bK2PJ2/hRZ3wTshX8hdM1B7eT0fmUpp08b0CZ0FMJ7v06ViOyoOYmZroA7OLR P2Eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b2si90303jat.76.2021.08.12.20.36.49; Thu, 12 Aug 2021 20:36:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238053AbhHMDZE (ORCPT + 99 others); Thu, 12 Aug 2021 23:25:04 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:34754 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S236982AbhHMDZB (ORCPT ); Thu, 12 Aug 2021 23:25:01 -0400 X-UUID: f1f799baad854bc48ed2b82cead75f76-20210813 X-UUID: f1f799baad854bc48ed2b82cead75f76-20210813 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1659889750; Fri, 13 Aug 2021 11:24:32 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 13 Aug 2021 11:24:31 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 13 Aug 2021 11:24:31 +0800 From: Miles Chen To: Michael Turquette , Stephen Boyd , Matthias Brugger CC: Wendell Lin , Hanks Chen , , , , , , Miles Chen , Lee Jones Subject: [RESEND PATCH 4/4] clk: mediatek: use tristate for COMMON_CLK_MEDAITEK and COMMON_CLK_MT6779 Date: Fri, 13 Aug 2021 11:24:29 +0800 Message-ID: <20210813032429.14715-5-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210813032429.14715-1-miles.chen@mediatek.com> References: <20210813032429.14715-1-miles.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now we have all necessary exported symbols, change COMMON_CLK_MEDAITEK and COMMON_CLK_MT6779* to tristate. Cc: Stephen Boyd Cc: Hanks Chen Cc: Wendell Lin Cc: Lee Jones Signed-off-by: Miles Chen --- drivers/clk/mediatek/Kconfig | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig index 886e2d9fced5..62ed2054a849 100644 --- a/drivers/clk/mediatek/Kconfig +++ b/drivers/clk/mediatek/Kconfig @@ -6,7 +6,7 @@ menu "Clock driver for MediaTek SoC" depends on ARCH_MEDIATEK || COMPILE_TEST config COMMON_CLK_MEDIATEK - bool + tristate select RESET_CONTROLLER help MediaTek SoCs' clock support. @@ -204,7 +204,7 @@ config COMMON_CLK_MT6765_MIPI2BSYS This driver supports MediaTek MT6765 mipi2bsys clocks. config COMMON_CLK_MT6779 - bool "Clock driver for MediaTek MT6779" + tristate "Clock driver for MediaTek MT6779" depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST select COMMON_CLK_MEDIATEK default ARCH_MEDIATEK && ARM64 @@ -212,49 +212,49 @@ config COMMON_CLK_MT6779 This driver supports MediaTek MT6779 basic clocks. config COMMON_CLK_MT6779_MMSYS - bool "Clock driver for MediaTek MT6779 mmsys" + tristate "Clock driver for MediaTek MT6779 mmsys" depends on COMMON_CLK_MT6779 help This driver supports MediaTek MT6779 mmsys clocks. config COMMON_CLK_MT6779_IMGSYS - bool "Clock driver for MediaTek MT6779 imgsys" + tristate "Clock driver for MediaTek MT6779 imgsys" depends on COMMON_CLK_MT6779 help This driver supports MediaTek MT6779 imgsys clocks. config COMMON_CLK_MT6779_IPESYS - bool "Clock driver for MediaTek MT6779 ipesys" + tristate "Clock driver for MediaTek MT6779 ipesys" depends on COMMON_CLK_MT6779 help This driver supports MediaTek MT6779 ipesys clocks. config COMMON_CLK_MT6779_CAMSYS - bool "Clock driver for MediaTek MT6779 camsys" + tristate "Clock driver for MediaTek MT6779 camsys" depends on COMMON_CLK_MT6779 help This driver supports MediaTek MT6779 camsys clocks. config COMMON_CLK_MT6779_VDECSYS - bool "Clock driver for MediaTek MT6779 vdecsys" + tristate "Clock driver for MediaTek MT6779 vdecsys" depends on COMMON_CLK_MT6779 help This driver supports MediaTek MT6779 vdecsys clocks. config COMMON_CLK_MT6779_VENCSYS - bool "Clock driver for MediaTek MT6779 vencsys" + tristate "Clock driver for MediaTek MT6779 vencsys" depends on COMMON_CLK_MT6779 help This driver supports MediaTek MT6779 vencsys clocks. config COMMON_CLK_MT6779_MFGCFG - bool "Clock driver for MediaTek MT6779 mfgcfg" + tristate "Clock driver for MediaTek MT6779 mfgcfg" depends on COMMON_CLK_MT6779 help This driver supports MediaTek MT6779 mfgcfg clocks. config COMMON_CLK_MT6779_AUDSYS - bool "Clock driver for Mediatek MT6779 audsys" + tristate "Clock driver for Mediatek MT6779 audsys" depends on COMMON_CLK_MT6779 help This driver supports Mediatek MT6779 audsys clocks. -- 2.18.0