Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08629C433EF for ; Wed, 15 Dec 2021 16:37:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 33409831E9; Wed, 15 Dec 2021 17:37:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aqXnvXIz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8A25B82F3E; Wed, 15 Dec 2021 17:37:06 +0100 (CET) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5C1B483146 for ; Wed, 15 Dec 2021 17:36:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qk1-x72e.google.com with SMTP id m192so20581534qke.2 for ; Wed, 15 Dec 2021 08:36:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pmXMIa6H3+zpYul8g79aKcLvSFh3cc9UaVYCAeDJaXU=; b=aqXnvXIz4yH4Df5NirbDJTHP+bYqYSsonBfeYPidVsgVFAcFG4L+Nx76oiv7q8056C m/mKE0rYSzKmThurRT/s7e7MyFwKTEIA+/+aNRFJ8luNPAXdRS9v8qq6r1dEvJS10fgv 0RycnPwjdcwKwE4umG4wXpTRGMy87SBVafoOQah8hXZsqf9VRWtDO7zeKwfgKicPaieG 7J0BYunI6lDlLK8b9m51BHbhYQzO8rjDIEkjuN+HG23YVFGCBo6q+iS5ykTIgRgvcVCi r+KYmwWYCMiF8X4kxDYF5m/mKV073QM+dL1WDrYCvgcLA56Z/j64o/ZmjuHWWaShYbqb n0mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pmXMIa6H3+zpYul8g79aKcLvSFh3cc9UaVYCAeDJaXU=; b=UsCj89dPViwJAgbXb6i/iJeL2mg+D36JZnPfc58z2/GA/V7WgdqORo3ciSNw5x+M1v mM63nkRSP23PE4kgO2BEX66CVhpn35suh/osoTo0ALWBtGQn3X2WxV4jDx4C0JevHUJb p/MYGt6Zw9JWu6ltP6+DK8NSBq+CZWIEVz1tqb1425YluBYhDUgE2Ri5tCsW3jXWtq2T zjmkeNqe56nPyrwzzoqlDy4Jqrd8YQDgObHC53WLvRzMbpMO2TLgxSIHyBag9JIfNG6z k7oatZXoAN4/8j+JVwfq5sj8jzvVS9CR6L6T8ompzXCNcrzAUD+LiHwuHAnzd9oeKqh6 Nj8g== X-Gm-Message-State: AOAM533WIcTZ3eIgr6PjT7nUukdwRpsKDHPeXMcpvNM4Hr/I9h6T7xrX aRvK7+5Msouz5+2j3IvGO5waEj+UpLI= X-Google-Smtp-Source: ABdhPJxjxBJiLYqwomqxLmPOVOJkXt3Eh+Ud29srgVtaIkE4IrWuAcd2G7+bSMN/JOoaJa8w1TYvfQ== X-Received: by 2002:a37:4cc:: with SMTP id 195mr9206056qke.349.1639586200809; Wed, 15 Dec 2021 08:36:40 -0800 (PST) Received: from godwin.fios-router.home (pool-108-18-207-184.washdc.fios.verizon.net. [108.18.207.184]) by smtp.gmail.com with ESMTPSA id c22sm1745042qtd.76.2021.12.15.08.36.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Dec 2021 08:36:40 -0800 (PST) From: Sean Anderson To: u-boot@lists.denx.de Cc: Simon Glass , Lukasz Majewski , Sean Anderson Subject: [PATCH 2/3] clk: Alphabetize Kconfig Date: Wed, 15 Dec 2021 11:36:19 -0500 Message-Id: <20211215163620.2770126-3-seanga2@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211215163620.2770126-1-seanga2@gmail.com> References: <20211215163620.2770126-1-seanga2@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean This alphabetizes the Kconfig for the clock subsystem. This will help people find their clocks, and help prevent merge conflicts. Signed-off-by: Sean Anderson --- drivers/clk/Kconfig | 182 ++++++++++++++++++++++---------------------- 1 file changed, 91 insertions(+), 91 deletions(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index baac8d281e..2cd03c2515 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -30,22 +30,6 @@ config TPL_CLK setting up clocks within TPL, and allows the same drivers to be used as U-Boot proper. -config CLK_BCM6345 - bool "Clock controller driver for BCM6345" - depends on CLK && ARCH_BMIPS - default y - help - This clock driver adds support for enabling and disabling peripheral - clocks on BCM6345 SoCs. HW has no rate changing capabilities. - -config CLK_BOSTON - def_bool y if TARGET_BOSTON - depends on CLK - select REGMAP - select SYSCON - help - Enable this to support the clocks - config SPL_CLK_CCF bool "SPL Common Clock Framework [CCF] support " depends on SPL @@ -73,6 +57,37 @@ config CLK_COMPOSITE_CCF Enable this option if you want to (re-)use the Linux kernel's Common Clock Framework [CCF] composite code in U-Boot's clock driver. +config CLK_BCM6345 + bool "Clock controller driver for BCM6345" + depends on CLK && ARCH_BMIPS + default y + help + This clock driver adds support for enabling and disabling peripheral + clocks on BCM6345 SoCs. HW has no rate changing capabilities. + +config CLK_BOSTON + def_bool y if TARGET_BOSTON + depends on CLK + select REGMAP + select SYSCON + help + Enable this to support the clocks + +config CLK_CDCE9XX + bool "Enable CDCD9XX clock driver" + depends on CLK + help + Enable the clock synthesizer driver for CDCE913/925/937/949 + series of chips. + +config ICS8N3QV01 + bool "Enable ICS8N3QV01 VCXO driver" + depends on CLK + help + Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled + Crystal Oscillator). The output frequency can be programmed via an + I2C interface. + config CLK_INTEL bool "Enable clock driver for Intel x86" depends on CLK && X86 @@ -83,6 +98,25 @@ config CLK_INTEL set up by U-Boot itself but only statically. Thus the driver does not support changing clock rates, only querying them. +config CLK_K210 + bool "Clock support for Kendryte K210" + depends on CLK + help + This enables support clock driver for Kendryte K210 platforms. + +config CLK_K210_SET_RATE + bool "Enable setting the Kendryte K210 PLL rate" + depends on CLK_K210 + help + Add functionality to calculate new rates for K210 PLLs. Enabling this + feature adds around 1K to U-Boot's final size. + +config CLK_MPC83XX + bool "Enable MPC83xx clock driver" + depends on CLK + help + Support for the clock driver of the MPC83xx series of SoCs. + config CLK_OCTEON bool "Clock controller driver for Marvell MIPS Octeon" depends on CLK && ARCH_OCTEON @@ -90,6 +124,22 @@ config CLK_OCTEON help Enable this to support the clocks on Octeon MIPS platforms. +config SANDBOX_CLK_CCF + bool "Sandbox Common Clock Framework [CCF] support " + depends on SANDBOX + select CLK_CCF + help + Enable this option if you want to test the Linux kernel's Common + Clock Framework [CCF] code in U-Boot's Sandbox clock driver. + +config CLK_SCMI + bool "Enable SCMI clock driver" + depends on SCMI_FIRMWARE + help + Enable this option if you want to support clock devices exposed + by a SCMI agent based on SCMI clock protocol communication + with a SCMI server. + config CLK_STM32F bool "Enable clock driver support for STM32F family" depends on CLK && (STM32F7 || STM32F4) @@ -98,6 +148,14 @@ config CLK_STM32F This clock driver adds support for RCC clock management for STM32F4 and STM32F7 SoCs. +config CLK_STM32MP1 + bool "Enable RCC clock driver for STM32MP1" + depends on ARCH_STM32MP && CLK + default y + help + Enable the STM32 clock (RCC) driver. Enable support for + manipulating STM32MP1's on-SoC clocks. + config CLK_HSDK bool "Enable cgu clock driver for HSDK boards" depends on CLK && TARGET_HSDK @@ -105,6 +163,15 @@ config CLK_HSDK Enable this to support the cgu clocks on Synopsys ARC HSDK and Synopsys ARC HSDK-4xD boards +config CLK_VERSACLOCK + tristate "Enable VersaClock 5/6 devices" + depends on CLK + depends on CLK_CCF + depends on OF_CONTROL + help + This driver supports the IDT VersaClock 5 and VersaClock 6 + programmable clock generators. + config CLK_VERSAL bool "Enable clock driver support for Versal" depends on ARCH_VERSAL @@ -120,14 +187,6 @@ config CLK_VEXPRESS_OSC This clock driver adds support for clock generators present on Arm Versatile Express platforms. -config CLK_ZYNQ - bool "Enable clock driver support for Zynq" - depends on CLK && ARCH_ZYNQ - default y - help - This clock driver adds support for clock related settings for - Zynq platform. - config CLK_XLNX_CLKWZRD bool "Xilinx Clocking Wizard" depends on CLK @@ -139,6 +198,14 @@ config CLK_XLNX_CLKWZRD set_duty_cycle API, this driver only supports set_rate to modify the frequency. +config CLK_ZYNQ + bool "Enable clock driver support for Zynq" + depends on CLK && ARCH_ZYNQ + default y + help + This clock driver adds support for clock related settings for + Zynq platform. + config CLK_ZYNQMP bool "Enable clock driver support for ZynqMP" depends on ARCH_ZYNQMP @@ -147,42 +214,6 @@ config CLK_ZYNQMP This clock driver adds support for clock realted settings for ZynqMP platform. -config CLK_STM32MP1 - bool "Enable RCC clock driver for STM32MP1" - depends on ARCH_STM32MP && CLK - default y - help - Enable the STM32 clock (RCC) driver. Enable support for - manipulating STM32MP1's on-SoC clocks. - -config CLK_CDCE9XX - bool "Enable CDCD9XX clock driver" - depends on CLK - help - Enable the clock synthesizer driver for CDCE913/925/937/949 - series of chips. - -config CLK_SCMI - bool "Enable SCMI clock driver" - depends on SCMI_FIRMWARE - help - Enable this option if you want to support clock devices exposed - by a SCMI agent based on SCMI clock protocol communication - with a SCMI server. - -config CLK_K210 - bool "Clock support for Kendryte K210" - depends on CLK - help - This enables support clock driver for Kendryte K210 platforms. - -config CLK_K210_SET_RATE - bool "Enable setting the Kendryte K210 PLL rate" - depends on CLK_K210 - help - Add functionality to calculate new rates for K210 PLLs. Enabling this - feature adds around 1K to U-Boot's final size. - source "drivers/clk/analogbits/Kconfig" source "drivers/clk/at91/Kconfig" source "drivers/clk/exynos/Kconfig" @@ -198,35 +229,4 @@ source "drivers/clk/tegra/Kconfig" source "drivers/clk/ti/Kconfig" source "drivers/clk/uniphier/Kconfig" -config ICS8N3QV01 - bool "Enable ICS8N3QV01 VCXO driver" - depends on CLK - help - Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled - Crystal Oscillator). The output frequency can be programmed via an - I2C interface. - -config CLK_MPC83XX - bool "Enable MPC83xx clock driver" - depends on CLK - help - Support for the clock driver of the MPC83xx series of SoCs. - -config SANDBOX_CLK_CCF - bool "Sandbox Common Clock Framework [CCF] support " - depends on SANDBOX - select CLK_CCF - help - Enable this option if you want to test the Linux kernel's Common - Clock Framework [CCF] code in U-Boot's Sandbox clock driver. - -config CLK_VERSACLOCK - tristate "Enable VersaClock 5/6 devices" - depends on CLK - depends on CLK_CCF - depends on OF_CONTROL - help - This driver supports the IDT VersaClock 5 and VersaClock 6 - programmable clock generators. - endmenu -- 2.33.0