All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Smith <kevin.smith@elecsyscorp.com>
To: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "linux-clk@vger.kernel.org" <linux-clk@vger.kernel.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@codeaurora.org>,
	"Gregory CLEMENT" <gregory.clement@free-electrons.com>
Subject: Re: [PATCH v2 2/2] clk: mvebu: Move corediv config to mvebu config
Date: Thu, 11 Feb 2016 16:10:44 +0000	[thread overview]
Message-ID: <56BCB28A.6000808@elecsyscorp.com> (raw)
In-Reply-To: <20160211170448.7dbc872a@free-electrons.com>

On 02/11/2016 10:04 AM, Thomas Petazzoni wrote:
> Kevin,
>
> On Thu, 11 Feb 2016 16:01:03 +0000, Kevin Smith wrote:
>
>>>> diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
>>>> index 64e3d2c..794e7c5 100644
>>>> --- a/arch/arm/mach-mvebu/Kconfig
>>>> +++ b/arch/arm/mach-mvebu/Kconfig
>>>> @@ -32,6 +32,7 @@ config MACH_ARMADA_370
>>>>    	select CPU_PJ4B
>>>>    	select MACH_MVEBU_V7
>>>>    	select PINCTRL_ARMADA_370
>>>> +	select MVEBU_CLK_COREDIV if MTD_NAND_PXA3xx
>>> Thanks for the new iteration. I know the corediv clock is only used for
>>> the NAND, but I'm wondering if it's really worth doing this "if
>>> MTD_NAND_PXA3xx.
>>>
>>> Thomas
>> Maybe I misunderstood.  In your previous e-mail you said "building
>> ARMADA_38X_CLK or ARMADA_375_CLK does not require building
>> clk-corediv.c, it only needs common.c.  So maybe instead we should
>> change arch/arm/mach-mvebu/Kconfig to have MACH_ARMADA_xxx select
>> MVEBU_CLK_COREDIV when needed."  I thought you meant only when a
>> peripheral depended on the coreclk.
>>
>> Should I remove the conditional and just have MACH_ARMADA_XXX always
>> enable MVEBU_CLK_COREDIV for platforms that have it?
> Yes, at least, this is what my comment was suggesting to do. Sorry if
> it was unclear, but my point is that the clock is there regardless of
> whether the NAND driver is available/used.
>
> Anyway, it's not a big deal because the defconfig has the pxa3xx_nand
> driver enabled, so most people are very likely going to have this
> driver enabled on Marvell platforms.
>
> Best regards,
>
> Thomas
Ah, thanks for the clarification.  This sounds good to me.  v3 on the=20
way.  :)

Thank you,
Kevin=

  reply	other threads:[~2016-02-11 16:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-10 20:41 [PATCH] clk: mvebu: Require corediv clock for Armada 38x Kevin Smith
2016-02-10 21:28 ` Thomas Petazzoni
2016-02-10 23:38   ` Kevin Smith
2016-02-10 23:40 ` [PATCH v2 1/2] clk: mvebu: Remove corediv clock from Armada XP Kevin Smith
2016-02-10 23:40   ` [PATCH v2 2/2] clk: mvebu: Move corediv config to mvebu config Kevin Smith
2016-02-11  8:16     ` Thomas Petazzoni
2016-02-11 16:01       ` Kevin Smith
2016-02-11 16:04         ` Thomas Petazzoni
2016-02-11 16:10           ` Kevin Smith [this message]
2016-02-11 16:53 ` [PATCH v3 1/2] clk: mvebu: Remove corediv clock from Armada XP Kevin Smith
2016-02-11 16:54   ` [PATCH v3 2/2] clk: mvebu: Move corediv config to mvebu config Kevin Smith
2016-02-12 16:28     ` Gregory CLEMENT
2016-02-18  1:16     ` Michael Turquette
2016-02-25 23:06     ` Stephen Boyd
2016-02-12 16:28   ` [PATCH v3 1/2] clk: mvebu: Remove corediv clock from Armada XP Gregory CLEMENT
2016-02-18  1:16   ` Michael Turquette
2016-02-18  8:11     ` Thomas Petazzoni
2016-02-18 17:54       ` Gregory CLEMENT
2016-02-25 23:06   ` Stephen Boyd

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=56BCB28A.6000808@elecsyscorp.com \
    --to=kevin.smith@elecsyscorp.com \
    --cc=gregory.clement@free-electrons.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@codeaurora.org \
    --cc=thomas.petazzoni@free-electrons.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.