Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4699479pxb; Tue, 31 Aug 2021 11:06:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMNMZncdQuzGeli6BeczS7Zwc2pc6DTxFno0/UZDAvrWIovrv5N1TQfnWSBG0aSk01DqXv X-Received: by 2002:a17:906:1454:: with SMTP id q20mr32865987ejc.446.1630433179507; Tue, 31 Aug 2021 11:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630433179; cv=none; d=google.com; s=arc-20160816; b=ZVCAVS2yotr/ShZrQYF0Y+JSBfmAeMmuk+F9w94oZWc8MQ5c1ezdhEL6gF1wI5D3xH svFhn+W7qRUMTl03a67KWk9cZxt8/RlNFiI973yoa/a5yqtTSSwiUnVeLnxnOgZ0rjDz 0HRvSdyKt0MNO/KVXepm3BsW9KygPH982qtRnxIPB2OZCDmBtPTQfp0X3zts8LgEeE0w xpBG2pY0G1PPzM+NVlDHSBvRo2jHwjRdOd4bCUShSldWgXC5ayw8vy+YGmAA85n+MYfE BzYxtfXb5yJQkIVDqE4+T0Qn8S3nXAdw/zqVXft1+TKghDQqqwn7fmtUvsLJ3i/iNNe+ TqfQ== 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=EkTI/hcPBKthS0SRndZ2KdEzdymvfAfR6ELGAwGAw3guBM7wVNTbf9KP9bSwTLIjq3 3r/yB4PnzdRuQBAB0v9VwIb9OSiVjIVLPnrIBhanfiel4OT/h4Y1X83FGbypx6271MSU GyQnj9WE1Pl+q/2jO1oZfU1o2whMM/R2hHimcdL1poqBJz2cPhzD9iPiwXovyrbUuBt2 zObgEMUedYL3NGPIfA0sw3PVp7FK3cWC1HmWAFwPsqqKdDEO0bNVpuoboYdHFHWzaoMx Z+P4pm0RoYdO9sh0yyVUhPxnk9tElaWtK1dTmWL0mqr3mhp0gEhGz20EVTZntsrIgDP+ rGSA== 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 dn15si11785322ejc.252.2021.08.31.11.05.55; Tue, 31 Aug 2021 11:06:19 -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 S240571AbhHaQnZ (ORCPT + 99 others); Tue, 31 Aug 2021 12:43:25 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:58416 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S240334AbhHaQnM (ORCPT ); Tue, 31 Aug 2021 12:43:12 -0400 X-UUID: a865064f0d914a93a1e7e60d817add79-20210901 X-UUID: a865064f0d914a93a1e7e60d817add79-20210901 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 993845599; Wed, 01 Sep 2021 00:42:13 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n1.mediatek.inc (172.21.101.129) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Sep 2021 00:42:12 +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; Wed, 1 Sep 2021 00:42:12 +0800 From: Miles Chen To: Michael Turquette , Stephen Boyd , Matthias Brugger CC: Wendell Lin , Hanks Chen , , , , , , Miles Chen , Lee Jones Subject: [PATCH v2 4/4] clk: mediatek: use tristate for COMMON_CLK_MEDAITEK and COMMON_CLK_MT6779 Date: Wed, 1 Sep 2021 00:42:10 +0800 Message-ID: <20210831164210.15455-5-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210831164210.15455-1-miles.chen@mediatek.com> References: <20210831164210.15455-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