From: Gregory CLEMENT <gregory.clement@free-electrons.com>
To: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Mike Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@codeaurora.org>,
linux-clk@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org, Jason Cooper <jason@lakedaemon.net>,
Andrew Lunn <andrew@lunn.ch>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
"linux-arm-kernel\@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Nadav Haklai <nadavh@marvell.com>, Victor Gu <xigu@marvell.com>,
Romain Perier <romain.perier@free-electrons.com>,
Omri Itach <omrii@marvell.com>, Marcin Wojtas <mw@semihalf.com>,
Wilson Ding <dingwei@marvell.com>,
Hua Jing <jinghua@marvell.com>, Terry Zhou <bjzhou@marvell.com>
Subject: Re: [PATCH v2 2/6] clk: mvebu: Add the xtal clock for Armada 3700 SoC
Date: Tue, 12 Jul 2016 12:43:38 +0200 [thread overview]
Message-ID: <87vb0brvad.fsf@free-electrons.com> (raw)
In-Reply-To: <CAP=VYLoZdyqP7vLa_pCx3mNpFuYCRaNgkT-STtk571U0KAgdLw@mail.gmail.com> (Paul Gortmaker's message of "Sat, 9 Jul 2016 19:34:59 -0400")
Hi Paul,
On dim., juil. 10 2016, Paul Gortmaker <paul.gortmaker@windriver.com> wrote:
> On Thu, Jul 7, 2016 at 6:37 PM, Gregory CLEMENT
> <gregory.clement@free-electrons.com> wrote:
>> This clock is the parent of all the Armada 3700 clocks. It is a fixed
>> rate clock which depends on the gpio configuration read when resetting
>> the SoC.
>>
>> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
>> ---
>> drivers/clk/mvebu/Kconfig | 3 ++
>> drivers/clk/mvebu/Makefile | 1 +
>> drivers/clk/mvebu/armada-37xx-xtal.c | 98 ++++++++++++++++++++++++++++++++++++
>> 3 files changed, 102 insertions(+)
>> create mode 100644 drivers/clk/mvebu/armada-37xx-xtal.c
>>
>> diff --git a/drivers/clk/mvebu/Kconfig b/drivers/clk/mvebu/Kconfig
>> index 3165da77d525..fddc8ac5faff 100644
>> --- a/drivers/clk/mvebu/Kconfig
>> +++ b/drivers/clk/mvebu/Kconfig
>> @@ -24,6 +24,9 @@ config ARMADA_39X_CLK
>> bool
>> select MVEBU_CLK_COMMON
>>
>> +config ARMADA_37XX_CLK
>> + bool
>> +
>
> Since the driver is not tristate, can you please remove all modular
> references from it? With the author and license etc. at the top you
> can just delete the last three lines, the DEVICE_TABLE and register
> with builtin_platform_driver, and then no need for module.h either.
>
> Either that, or change it to a tristate, if that use case makes sense.
Indeed having these clock drivers as module is not very useful. Let's
remove the modular reference.
Thanks,
Gregory
>
> Thanks,
> Paul.
> --
>
>
>> config ARMADA_XP_CLK
>> bool
>> select MVEBU_CLK_COMMON
>> diff --git a/drivers/clk/mvebu/Makefile b/drivers/clk/mvebu/Makefile
>> index 7172ef65693d..4257a36d0219 100644
>> --- a/drivers/clk/mvebu/Makefile
>> +++ b/drivers/clk/mvebu/Makefile
>> @@ -6,6 +6,7 @@ obj-$(CONFIG_ARMADA_370_CLK) += armada-370.o
>> obj-$(CONFIG_ARMADA_375_CLK) += armada-375.o
>> obj-$(CONFIG_ARMADA_38X_CLK) += armada-38x.o
>> obj-$(CONFIG_ARMADA_39X_CLK) += armada-39x.o
>> +obj-$(CONFIG_ARMADA_37XX_CLK) += armada-37xx-xtal.o
>> obj-$(CONFIG_ARMADA_XP_
>
> [...]
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/6] clk: mvebu: Add the xtal clock for Armada 3700 SoC
Date: Tue, 12 Jul 2016 12:43:38 +0200 [thread overview]
Message-ID: <87vb0brvad.fsf@free-electrons.com> (raw)
In-Reply-To: <CAP=VYLoZdyqP7vLa_pCx3mNpFuYCRaNgkT-STtk571U0KAgdLw@mail.gmail.com> (Paul Gortmaker's message of "Sat, 9 Jul 2016 19:34:59 -0400")
Hi Paul,
On dim., juil. 10 2016, Paul Gortmaker <paul.gortmaker@windriver.com> wrote:
> On Thu, Jul 7, 2016 at 6:37 PM, Gregory CLEMENT
> <gregory.clement@free-electrons.com> wrote:
>> This clock is the parent of all the Armada 3700 clocks. It is a fixed
>> rate clock which depends on the gpio configuration read when resetting
>> the SoC.
>>
>> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
>> ---
>> drivers/clk/mvebu/Kconfig | 3 ++
>> drivers/clk/mvebu/Makefile | 1 +
>> drivers/clk/mvebu/armada-37xx-xtal.c | 98 ++++++++++++++++++++++++++++++++++++
>> 3 files changed, 102 insertions(+)
>> create mode 100644 drivers/clk/mvebu/armada-37xx-xtal.c
>>
>> diff --git a/drivers/clk/mvebu/Kconfig b/drivers/clk/mvebu/Kconfig
>> index 3165da77d525..fddc8ac5faff 100644
>> --- a/drivers/clk/mvebu/Kconfig
>> +++ b/drivers/clk/mvebu/Kconfig
>> @@ -24,6 +24,9 @@ config ARMADA_39X_CLK
>> bool
>> select MVEBU_CLK_COMMON
>>
>> +config ARMADA_37XX_CLK
>> + bool
>> +
>
> Since the driver is not tristate, can you please remove all modular
> references from it? With the author and license etc. at the top you
> can just delete the last three lines, the DEVICE_TABLE and register
> with builtin_platform_driver, and then no need for module.h either.
>
> Either that, or change it to a tristate, if that use case makes sense.
Indeed having these clock drivers as module is not very useful. Let's
remove the modular reference.
Thanks,
Gregory
>
> Thanks,
> Paul.
> --
>
>
>> config ARMADA_XP_CLK
>> bool
>> select MVEBU_CLK_COMMON
>> diff --git a/drivers/clk/mvebu/Makefile b/drivers/clk/mvebu/Makefile
>> index 7172ef65693d..4257a36d0219 100644
>> --- a/drivers/clk/mvebu/Makefile
>> +++ b/drivers/clk/mvebu/Makefile
>> @@ -6,6 +6,7 @@ obj-$(CONFIG_ARMADA_370_CLK) += armada-370.o
>> obj-$(CONFIG_ARMADA_375_CLK) += armada-375.o
>> obj-$(CONFIG_ARMADA_38X_CLK) += armada-38x.o
>> obj-$(CONFIG_ARMADA_39X_CLK) += armada-39x.o
>> +obj-$(CONFIG_ARMADA_37XX_CLK) += armada-37xx-xtal.o
>> obj-$(CONFIG_ARMADA_XP_
>
> [...]
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: Gregory CLEMENT <gregory.clement@free-electrons.com>
To: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Mike Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@codeaurora.org>,
linux-clk@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org, Jason Cooper <jason@lakedaemon.net>,
Andrew Lunn <andrew@lunn.ch>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Nadav Haklai <nadavh@marvell.com>, Victor Gu <xigu@marvell.com>,
Romain Perier <romain.perier@free-electrons.com>,
Omri Itach <omrii@marvell.com>, Marcin Wojtas <mw@semihalf.com>,
Wilson Ding <dingwei@marvell.com>, Hua Jing <jinghua@marvell.com>,
Terry Zhou <bjzhou@marvell.com>
Subject: Re: [PATCH v2 2/6] clk: mvebu: Add the xtal clock for Armada 3700 SoC
Date: Tue, 12 Jul 2016 12:43:38 +0200 [thread overview]
Message-ID: <87vb0brvad.fsf@free-electrons.com> (raw)
In-Reply-To: <CAP=VYLoZdyqP7vLa_pCx3mNpFuYCRaNgkT-STtk571U0KAgdLw@mail.gmail.com> (Paul Gortmaker's message of "Sat, 9 Jul 2016 19:34:59 -0400")
Hi Paul,
On dim., juil. 10 2016, Paul Gortmaker <paul.gortmaker@windriver.com> wrote:
> On Thu, Jul 7, 2016 at 6:37 PM, Gregory CLEMENT
> <gregory.clement@free-electrons.com> wrote:
>> This clock is the parent of all the Armada 3700 clocks. It is a fixed
>> rate clock which depends on the gpio configuration read when resetting
>> the SoC.
>>
>> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
>> ---
>> drivers/clk/mvebu/Kconfig | 3 ++
>> drivers/clk/mvebu/Makefile | 1 +
>> drivers/clk/mvebu/armada-37xx-xtal.c | 98 ++++++++++++++++++++++++++++++++++++
>> 3 files changed, 102 insertions(+)
>> create mode 100644 drivers/clk/mvebu/armada-37xx-xtal.c
>>
>> diff --git a/drivers/clk/mvebu/Kconfig b/drivers/clk/mvebu/Kconfig
>> index 3165da77d525..fddc8ac5faff 100644
>> --- a/drivers/clk/mvebu/Kconfig
>> +++ b/drivers/clk/mvebu/Kconfig
>> @@ -24,6 +24,9 @@ config ARMADA_39X_CLK
>> bool
>> select MVEBU_CLK_COMMON
>>
>> +config ARMADA_37XX_CLK
>> + bool
>> +
>
> Since the driver is not tristate, can you please remove all modular
> references from it? With the author and license etc. at the top you
> can just delete the last three lines, the DEVICE_TABLE and register
> with builtin_platform_driver, and then no need for module.h either.
>
> Either that, or change it to a tristate, if that use case makes sense.
Indeed having these clock drivers as module is not very useful. Let's
remove the modular reference.
Thanks,
Gregory
>
> Thanks,
> Paul.
> --
>
>
>> config ARMADA_XP_CLK
>> bool
>> select MVEBU_CLK_COMMON
>> diff --git a/drivers/clk/mvebu/Makefile b/drivers/clk/mvebu/Makefile
>> index 7172ef65693d..4257a36d0219 100644
>> --- a/drivers/clk/mvebu/Makefile
>> +++ b/drivers/clk/mvebu/Makefile
>> @@ -6,6 +6,7 @@ obj-$(CONFIG_ARMADA_370_CLK) += armada-370.o
>> obj-$(CONFIG_ARMADA_375_CLK) += armada-375.o
>> obj-$(CONFIG_ARMADA_38X_CLK) += armada-38x.o
>> obj-$(CONFIG_ARMADA_39X_CLK) += armada-39x.o
>> +obj-$(CONFIG_ARMADA_37XX_CLK) += armada-37xx-xtal.o
>> obj-$(CONFIG_ARMADA_XP_
>
> [...]
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2016-07-12 10:43 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-07 22:37 [PATCH v2 0/6] Add clock support for Armada 37xx SoCs Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-07 22:37 ` [PATCH v2 1/6] dt-bindings: clock: add DT binding for the Xtal clock on Armada 3700 Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-08 7:31 ` Thomas Petazzoni
2016-07-08 7:31 ` Thomas Petazzoni
2016-07-11 16:12 ` Gregory CLEMENT
2016-07-11 16:12 ` Gregory CLEMENT
2016-07-07 22:37 ` [PATCH v2 2/6] clk: mvebu: Add the xtal clock for Armada 3700 SoC Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-08 17:32 ` Michael Turquette
2016-07-08 17:32 ` Michael Turquette
2016-07-08 17:32 ` Michael Turquette
2016-07-08 17:32 ` Michael Turquette
2016-07-12 10:42 ` Gregory CLEMENT
2016-07-12 10:42 ` Gregory CLEMENT
2016-07-09 23:34 ` Paul Gortmaker
2016-07-09 23:34 ` Paul Gortmaker
2016-07-12 10:43 ` Gregory CLEMENT [this message]
2016-07-12 10:43 ` Gregory CLEMENT
2016-07-12 10:43 ` Gregory CLEMENT
2016-07-07 22:37 ` [PATCH v2 3/6] dt-bindings: clock: add DT binding for the TBG clocks on Armada 3700 Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-07 22:37 ` [PATCH v2 4/6] clk: mvebu Add the time base generator clocks for " Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-07 22:37 ` [PATCH v2 5/6] dt-bindings: clock: add DT binding for the peripheral clocks on " Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-07 22:37 ` [PATCH v2 6/6] clk: mvebu: Add the peripheral clock driver for " Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-07 22:37 ` Gregory CLEMENT
2016-07-08 18:27 ` Michael Turquette
2016-07-08 18:27 ` Michael Turquette
2016-07-08 18:27 ` Michael Turquette
2016-07-08 18:27 ` Michael Turquette
2016-07-12 16:30 ` Gregory CLEMENT
2016-07-12 16:30 ` Gregory CLEMENT
2016-07-12 17:28 ` Michael Turquette
2016-07-12 17:28 ` Michael Turquette
2016-07-12 17:28 ` Michael Turquette
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=87vb0brvad.fsf@free-electrons.com \
--to=gregory.clement@free-electrons.com \
--cc=andrew@lunn.ch \
--cc=bjzhou@marvell.com \
--cc=devicetree@vger.kernel.org \
--cc=dingwei@marvell.com \
--cc=jason@lakedaemon.net \
--cc=jinghua@marvell.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=mw@semihalf.com \
--cc=nadavh@marvell.com \
--cc=omrii@marvell.com \
--cc=paul.gortmaker@windriver.com \
--cc=robh+dt@kernel.org \
--cc=romain.perier@free-electrons.com \
--cc=sboyd@codeaurora.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=thomas.petazzoni@free-electrons.com \
--cc=xigu@marvell.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.