From: Mike Turquette <mturquette@linaro.org>
To: Pawel Moll <pawel.moll@arm.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Cc: "Samuel Ortiz" <sameo@linux.intel.com>,
"Arnd Bergmann" <arnd@arndb.de>, "Jon Medhurst" <tixy@linaro.org>,
arm@kernel.org, "Olof Johansson" <olof@lixom.net>,
"Pawel Moll" <pawel.moll@arm.com>
Subject: Re: [RFC 12/18] clk: versatile: Split config options for sp810 and vexpress_osc
Date: Mon, 23 Dec 2013 12:05:38 -0800 [thread overview]
Message-ID: <20131223200538.25490.67340@quantum> (raw)
In-Reply-To: <1387815830-8794-13-git-send-email-pawel.moll@arm.com>
Quoting Pawel Moll (2013-12-23 08:23:44)
> Move the Kconfig entry for Versatile (& Express) clock drivers
> into a separate file and add individual options for sp810
> and vexpress_osc drivers, as they are optional in some
> configurations and may have separate dependencies.
>
> Signed-off-by: Pawel Moll <pawel.moll@arm.com>
> Cc: Mike Turquette <mturquette@linaro.org>
Is there a reason to continue to expose these as user-visible config
options? I guess that with Device Tree we can just include clock nodes
(or not) for boards that use these clocks (or do not use them).
And it seems for many configurations COMMON_CLK_VERSATILE is always
selected, so what is the point of the other two sub-options?
Thanks,
Mike
> ---
> drivers/clk/Kconfig | 9 +--------
> drivers/clk/versatile/Kconfig | 26 ++++++++++++++++++++++++++
> drivers/clk/versatile/Makefile | 5 +++--
> 3 files changed, 30 insertions(+), 10 deletions(-)
> create mode 100644 drivers/clk/versatile/Kconfig
>
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index 5c51115..f5486a4 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -40,14 +40,7 @@ config COMMON_CLK_WM831X
> Supports the clocking subsystem of the WM831x/2x series of
> PMICs from Wolfson Microlectronics.
>
> -config COMMON_CLK_VERSATILE
> - bool "Clock driver for ARM Reference designs"
> - depends on ARCH_INTEGRATOR || ARCH_REALVIEW || ARCH_VEXPRESS || ARM64
> - ---help---
> - Supports clocking on ARM Reference designs:
> - - Integrator/AP and Integrator/CP
> - - RealView PB1176, EB, PB11MP and PBX
> - - Versatile Express
> +source "drivers/clk/versatile/Kconfig"
>
> config COMMON_CLK_MAX77686
> tristate "Clock driver for Maxim 77686 MFD"
> diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig
> new file mode 100644
> index 0000000..1530c93
> --- /dev/null
> +++ b/drivers/clk/versatile/Kconfig
> @@ -0,0 +1,26 @@
> +config COMMON_CLK_VERSATILE
> + bool "Clock driver for ARM Reference designs"
> + depends on ARCH_INTEGRATOR || ARCH_REALVIEW || ARCH_VEXPRESS || ARM64
> + ---help---
> + Supports clocking on ARM Reference designs:
> + - Integrator/AP and Integrator/CP
> + - RealView PB1176, EB, PB11MP and PBX
> + - Versatile Express
> +
> +config CLK_SP810
> + bool "Clock driver for ARM SP810 System Controller"
> + depends on COMMON_CLK_VERSATILE
> + default y if ARCH_VEXPRESS
> + ---help---
> + Supports clock muxing (REFCLK/TIMCLK to TIMERCLKEN0-3) capabilities
> + of the ARM SP810 System Controller cell.
> +
> +config CLK_VEXPRESS_OSC
> + bool "Clock driver for Versatile Express OSC clock generators"
> + depends on COMMON_CLK_VERSATILE
> + depends on VEXPRESS_CONFIG
> + default y if ARCH_VEXPRESS
> + ---help---
> + Simple regmap-based driver driving clock generators on Versatile
> + Express platforms hidden behind its configuration infrastructure,
> + commonly known as OSCs.
> diff --git a/drivers/clk/versatile/Makefile b/drivers/clk/versatile/Makefile
> index c16ca78..fd449f9 100644
> --- a/drivers/clk/versatile/Makefile
> +++ b/drivers/clk/versatile/Makefile
> @@ -3,5 +3,6 @@ obj-$(CONFIG_ICST) += clk-icst.o
> obj-$(CONFIG_ARCH_INTEGRATOR) += clk-integrator.o
> obj-$(CONFIG_INTEGRATOR_IMPD1) += clk-impd1.o
> obj-$(CONFIG_ARCH_REALVIEW) += clk-realview.o
> -obj-$(CONFIG_ARCH_VEXPRESS) += clk-vexpress.o clk-sp810.o
> -obj-$(CONFIG_VEXPRESS_CONFIG) += clk-vexpress-osc.o
> +obj-$(CONFIG_ARCH_VEXPRESS) += clk-vexpress.o
> +obj-$(CONFIG_CLK_SP810) += clk-sp810.o
> +obj-$(CONFIG_CLK_VEXPRESS_OSC) += clk-vexpress-osc.o
> --
> 1.8.3.2
>
>
next prev parent reply other threads:[~2013-12-23 20:05 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-23 16:23 [RFC 00/18] Versatile Express config rework Pawel Moll
[not found] ` < 1387815830-8794-5-git-send-email-pawel.moll@arm.com>
[not found] ` < 1387815830-8794-7-git-send-email-pawel.moll@arm.com>
2013-12-23 16:23 ` [RFC 01/18] mfd: syscon: Consider platform data a regmap config name Pawel Moll
2014-01-06 9:48 ` Lee Jones
2014-01-06 10:20 ` Lee Jones
2013-12-23 16:23 ` [RFC 02/18] power/reset: vexpress: Use sched_clock as the time source Pawel Moll
2013-12-23 19:28 ` John Stultz
2014-01-08 16:01 ` Pawel Moll
2013-12-23 16:23 ` [RFC 03/18] GPIO: gpio-generic: Add label to platform data Pawel Moll
2013-12-23 17:26 ` Linus Walleij
2014-01-08 15:57 ` Pawel Moll
2014-01-14 10:30 ` Linus Walleij
2014-01-14 10:44 ` Pawel Moll
2013-12-23 16:23 ` [RFC 04/18] driver core & of: Mark of_nodes of added device as populated Pawel Moll
2014-01-08 17:28 ` Rob Herring
2014-01-16 17:03 ` Grant Likely
2013-12-23 16:23 ` [RFC 05/18] driver core: Do not WARN when devres list is not empty at probe time Pawel Moll
2013-12-23 16:23 ` [RFC 06/18] regmap: Formalise use of non-bus context Pawel Moll
2013-12-24 12:45 ` Mark Brown
2014-01-09 13:08 ` Pawel Moll
2014-01-09 13:34 ` Mark Brown
2014-01-09 15:47 ` Pawel Moll
2014-01-16 17:09 ` Grant Likely
2014-01-16 17:20 ` Pawel Moll
2013-12-23 16:23 ` [RFC 07/18] regmap: debugfs: Always create "registers" & "access" files Pawel Moll
2013-12-24 12:19 ` Mark Brown
2014-01-08 17:31 ` Pawel Moll
2014-01-08 18:00 ` Mark Brown
2013-12-23 16:23 ` [RFC 08/18] hwmon: vexpress: Use regmap instead of custom interface Pawel Moll
2013-12-23 17:31 ` Guenter Roeck
2014-01-08 15:57 ` Pawel Moll
2013-12-23 16:23 ` [RFC 09/18] power/reset: " Pawel Moll
2013-12-23 16:23 ` [RFC 10/18] regulator: " Pawel Moll
2013-12-24 12:24 ` Mark Brown
2014-01-08 18:25 ` Pawel Moll
2014-01-09 13:35 ` Mark Brown
2013-12-23 16:23 ` [RFC 11/18] clocksource: Sched clock source for Versatile Express Pawel Moll
2013-12-23 16:23 ` [RFC 12/18] clk: versatile: Split config options for sp810 and vexpress_osc Pawel Moll
2013-12-23 20:05 ` Mike Turquette [this message]
2014-01-08 16:06 ` Pawel Moll
2013-12-23 16:23 ` [RFC 13/18] clk: versatile: Use regmap instead of custom interface Pawel Moll
2013-12-23 16:23 ` [RFC 14/18] ARM: vexpress: remove redundant vexpress_dt_cpus_num to get cpu count Pawel Moll
2013-12-23 16:23 ` [RFC 15/18] ARM: vexpress: Simplify SMP operations for DT-powered system Pawel Moll
2013-12-23 16:23 ` [RFC 16/18] bus: Versatile Express configuration bus Pawel Moll
2013-12-23 16:23 ` [RFC 17/18] misc: Versatile Express System Config interface driver Pawel Moll
2013-12-23 16:23 ` [RFC 18/18] mfd: vexpress: Split sysreg functions into MFD cells Pawel Moll
2014-01-06 10:40 ` Lee Jones
2014-01-08 16:17 ` Pawel Moll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131223200538.25490.67340@quantum \
--to=mturquette@linaro.org \
--cc=arm@kernel.org \
--cc=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olof@lixom.net \
--cc=pawel.moll@arm.com \
--cc=sameo@linux.intel.com \
--cc=tixy@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox