linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guodong Xu <guodong.xu@linaro.org>
To: John Stultz <john.stultz@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>, Olof Johansson <olof@lixom.net>,
	lkml <linux-kernel@vger.kernel.org>,
	"arm@kernel.org" <arm@kernel.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@codeaurora.org>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Wei Xu <xuwei5@hisilicon.com>,
	Zhangfei Gao <zhangfei.gao@linaro.org>
Subject: Re: [PATCH 0/2 v3] Add pl031 RTC support for Hi6220
Date: Mon, 11 Jul 2016 09:30:16 +0800	[thread overview]
Message-ID: <CAFGCpxydQQXQR26OeetFjys6XqXFrnTtFsHWCn6QUEvVr6WZ8g@mail.gmail.com> (raw)
In-Reply-To: <CALAqxLW6sCXekuJZGGaEAwu5LE0Gu6msvmy0tFmsbhkW8=9zrg@mail.gmail.com>

On 7 July 2016 at 08:58, John Stultz <john.stultz@linaro.org> wrote:
> On Wed, Jul 6, 2016 at 12:38 AM, Arnd Bergmann <arnd@arndb.de> wrote:
>> On Wednesday, July 6, 2016 12:20:15 AM CEST John Stultz wrote:
>>> On Wed, Jul 6, 2016 at 12:04 AM, Olof Johansson <olof@lixom.net> wrote:
>>> > On Tue, Jul 5, 2016 at 11:55 PM, John Stultz <john.stultz@linaro.org> wrote:
>>> >> On Tue, Jul 5, 2016 at 10:22 PM, Olof Johansson <olof@lixom.net> wrote:
>>> >>> On Wed, Jun 29, 2016 at 05:48:43PM -0700, John Stultz wrote:
>>> >>>> This patchset enables the pl031 RTC on the Hi6220 SoC.
>>> >>>>
>>> >>>> I'd like to submit it to be merged.
>>> >>>>
>>> >>>> Wei has acked the second patch (modulo a whitespace fix which
>>> >>>> I've included in this v3), so it seems like both could go
>>> >>>> through the clk tree.
>>> >>>>
>>> >>>> But Wei also seemed open to pulling in a clk tree branch
>>> >>>> as it goes through arm-soc.
>>> >>>>
>>> >>>> Michael/Stephen: If there's no other objections, could you
>>> >>>> queue the first patch and make it avilable via the branch for
>>> >>>> Wei, or just take both patches?
>>> >>>
>>> >>> I happen to dread these kind of patchsets these days. There's added
>>> >>> dependencies across trees just because a defined name for the clock
>>> >>> number is added to a header file.
>>> >>>
>>> >>> I much prefer to use numerical clocks for one release, and then once
>>> >>> everything is in, switch over to the defines in the DTS.
>>> >>>
>>> >>> That way there are no dependencies, no need to setup a shared branch
>>> >>> for a simple 3-line patch, etc.
>>> >>>
>>> >>> So, mind respinning the DTS piece?
>>> >>
>>> >> Huh..
>>> >
>>> > Sorry if it appeared random, I've complained about it for a while to
>>> > submaintainers.
>>>
>>> No.. I get it, the cross-maintainer shared branch is complex enough to
>>> want to avoid. I figured it would be easier to just take a maintainer
>>> acked patch in via the clk tree, but its not my tree, so I'll leave it
>>> to you maintainers to resolve.
>>
>> The question this raises is why that clock was missed the first time
>> around. I'd suggest whoever owns the clock driver can go through the
>> documentation again and look for others that may have been missed,
>> then send a patch to the driver to add *all* the missing ones for the
>> merge window, and one release later we add the driver depending on
>> previously unknown clocks.
>
> Though this seemingly goes against the otherwise widely recommended
> approach of breaking up patches into small obvious chunks.
>
> And personally, and I don't mean to criticize, but the suggestions
> here (use numerical values, then later rename to macros; add
> everything in one go, then make dts changes a release later) all seem
> like non-optimal workarounds for the fact that adding almost any
> functionality requires cross subsystem-maintainer negotiations (or two
> release steps to get one bit of functionality merged).
>
> It seems like it might even just be clearer to make the
> two-release-steps method the widely broadcast rule (ie: no
> dependencies on in-flight patches for dts changes), so this doesn't
> confuse/dismay new developers.
>
> Anyway... In this case, I don't have the clk documentation, so I'll
> ping Zhangfei to check if there is any other clock values that should

Arnd, John

After checking documentation, I didn't see other clock values that
need to be added.

-Guodong

> be added in the future, but at least for HiKey, while there are still
> a few clk patches remaining in the tree, I don't have any more
> additions to the clk list.
>
> thanks
> -john

      parent reply	other threads:[~2016-07-11  1:30 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-30  0:48 [PATCH 0/2 v3] Add pl031 RTC support for Hi6220 John Stultz
2016-06-30  0:48 ` [PATCH 1/2 v3] clk: hi6220: Add RTC clock for pl031 John Stultz
2016-06-30 19:15   ` Stephen Boyd
2016-06-30 19:23     ` John Stultz
2016-06-30  0:48 ` [PATCH 2/2 v3] arm64: dts: hi6220: Add pl031 RTC support John Stultz
2016-06-30 15:12 ` [PATCH 0/2 v3] Add pl031 RTC support for Hi6220 Wei Xu
2016-07-06  5:22 ` Olof Johansson
2016-07-06  6:55   ` John Stultz
2016-07-06  7:04     ` Olof Johansson
2016-07-06  7:20       ` John Stultz
2016-07-06  7:38         ` Arnd Bergmann
2016-07-06  8:13           ` Wei Xu
2016-07-12  1:03             ` John Stultz
2016-07-07  0:19           ` Michael Turquette
2016-07-07  8:13             ` Arnd Bergmann
     [not found]               ` <146794382979.73491.3322475351079454720@resonance>
2016-07-11 20:21                 ` Arnd Bergmann
     [not found]                   ` <146827441381.73491.4865692343236492728@resonance>
2016-07-12  8:51                     ` Arnd Bergmann
     [not found]                       ` <146834751937.73491.12265160509757545340@resonance>
2016-07-14 14:30                         ` Arnd Bergmann
2016-07-07  0:58           ` John Stultz
2016-07-07  8:22             ` Arnd Bergmann
2016-07-08  2:21               ` Michael Turquette
2016-07-15  8:06                 ` Arnd Bergmann
2016-07-11  1:30             ` Guodong Xu [this message]

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=CAFGCpxydQQXQR26OeetFjys6XqXFrnTtFsHWCn6QUEvVr6WZ8g@mail.gmail.com \
    --to=guodong.xu@linaro.org \
    --cc=arm@kernel.org \
    --cc=arnd@arndb.de \
    --cc=john.stultz@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=olof@lixom.net \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=xuwei5@hisilicon.com \
    --cc=zhangfei.gao@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;
as well as URLs for NNTP newsgroup(s).