devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Mark Brown <broonie@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
	William Breathitt Gray <william.gray@linaro.org>,
	"Sahin, Okan" <Okan.Sahin@analog.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Jonathan Cameron <jic23@kernel.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Cosmin Tanislav <demonsingur@gmail.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Ulf Hansson <ulf.hansson@linaro.org>,
	Caleb Connolly <caleb.connolly@linaro.org>,
	Marcus Folkesson <marcus.folkesson@gmail.com>,
	"Bolboaca, Ramona" <Ramona.Bolboaca@analog.com>,
	ChiYuan Huang <cy_huang@richtek.com>,
	"Tilki, Ibrahim" <Ibrahim.Tilki@analog.com>,
	Arnd Bergmann <arnd@arndb.de>,
	Hugo Villeneuve <hvilleneuve@dimonoff.com>,
	ChiaEn Wu <chiaen_wu@richtek.com>,
	Haibo Chen <haibo.chen@nxp.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Subject: Re: [PATCH v7 5/5] mfd: max77541: Add ADI MAX77541/MAX77540 PMIC Support
Date: Fri, 30 Jun 2023 08:17:51 +0100	[thread overview]
Message-ID: <20230630071751.GC2110266@google.com> (raw)
In-Reply-To: <920531c8-b5c1-409a-9cda-3ec77ba944e7@sirena.org.uk>

On Thu, 29 Jun 2023, Mark Brown wrote:

> On Thu, Jun 29, 2023 at 12:14:00PM -0600, Rob Herring wrote:
> > On Thu, Jun 29, 2023 at 11:59 AM Mark Brown <broonie@kernel.org> wrote:
> 
> > > Right, I'm suggesting applying the core part without waiting for every
> > > single leaf driver to be lined up rather than the other way around -
> > > that way the core part is stable and the leaf drivers only have issues
> > > with changes in their subsystems that they'll have anyway even with
> > > waiting.  Leaf drivers can be added on top as they're ready and if
> > > something misses a release then it can go through the subsystem, and if
> > > people do end up wandering off then you've still got whatever did get
> > > merged in case someone else wants to pick things up.
> 
> > I misunderstood. I thought you wanted to apply things to get them out
> > of your queue.
> 
> Well, I *do* but that's got issues especially when things get stuck so
> I'm not going to.
> 
> >                That doesn't work when the leaf drivers depend on the
> > core, so what do we do there? A branch or Lee takes everything? That's
> > almost always the case with the bindings as the core binding
> > references the child node bindings. My preference there would be that
> > Lee picks up all the bindings with the core driver.
> 
> My suggestion is that once the core is ready to apply that and also
> start applying everything else to Lee's tree as it's ready.  A branch
> also works and might come in handy anyway in the case where there's some
> subsystem wide updates in some other subsystem (since it avoids having
> to pull the whole MFD tree in or anything like that) but it's not
> essential to the idea.

The issue we currently have is that the core usually comes with a header
file which is included by some or all of the leaf drivers.  If leaf
drivers are pulled in without that header, the drivers will fail to
build which will make people grumpy.

The suggestion of a separate branch that's added to over time as leaf
drivers become ready is even more work that a one-hit strategy.  It will
also mean littering the working branch which a bunch more merges and/or
more frequent rebases than I'm happy with.

-- 
Lee Jones [李琼斯]

  reply	other threads:[~2023-06-30  7:18 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-12 11:12 [PATCH v7 0/5] Add MAX77541/MAX77540 PMIC Support Okan Sahin
2023-04-12 11:12 ` [PATCH v7 1/5] dt-bindings: regulator: max77541: Add ADI MAX77541/MAX77540 Regulator Okan Sahin
2023-06-28 14:17   ` Lee Jones
2023-04-12 11:12 ` [PATCH v7 2/5] regulator: max77541: Add ADI MAX77541/MAX77540 Regulator Support Okan Sahin
2023-04-21 12:41   ` Mark Brown
2023-06-28 14:17   ` Lee Jones
2023-04-12 11:12 ` [PATCH v7 3/5] iio: adc: max77541: Add ADI MAX77541 ADC Support Okan Sahin
2023-04-12 13:41   ` Andy Shevchenko
2023-06-28 14:18   ` Lee Jones
2023-04-12 11:12 ` [PATCH v7 4/5] dt-bindings: mfd: max77541: Add ADI MAX77541/MAX77540 Okan Sahin
2023-06-28 14:18   ` Lee Jones
2023-04-12 11:12 ` [PATCH v7 5/5] mfd: max77541: Add ADI MAX77541/MAX77540 PMIC Support Okan Sahin
2023-04-12 13:41   ` Andy Shevchenko
2023-04-20 10:34   ` Lee Jones
2023-04-20 16:52     ` Mark Brown
2023-04-21  7:39       ` Lee Jones
2023-04-21 13:33         ` Mark Brown
2023-06-13  7:34           ` Sahin, Okan
2023-06-21 17:13             ` Lee Jones
2023-06-26 17:54               ` Rob Herring
2023-06-27 13:56                 ` Lee Jones
2023-06-27 14:10                   ` Rob Herring
2023-06-27 14:32                     ` William Breathitt Gray
2023-06-27 16:33                       ` Lee Jones
2023-06-27 18:21                         ` Rob Herring
2023-06-28 13:40                           ` Lee Jones
2023-06-28 19:20                             ` Mark Brown
2023-06-29  7:25                               ` Lee Jones
2023-06-29 10:38                                 ` Mark Brown
2023-06-29 15:51                                   ` Lee Jones
2023-06-29 16:00                                     ` Mark Brown
2023-06-29 17:48                                       ` Rob Herring
2023-06-29 17:58                                         ` Mark Brown
2023-06-29 18:14                                           ` Rob Herring
2023-06-29 18:22                                             ` Mark Brown
2023-06-30  7:17                                               ` Lee Jones [this message]
2023-06-30 11:58                                                 ` Mark Brown
2023-06-27 14:39                     ` Mark Brown
2023-06-27 14:25                   ` Mark Brown
2023-06-21 17:14   ` Lee Jones

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=20230630071751.GC2110266@google.com \
    --to=lee@kernel.org \
    --cc=Ibrahim.Tilki@analog.com \
    --cc=Okan.Sahin@analog.com \
    --cc=Ramona.Bolboaca@analog.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=arnd@arndb.de \
    --cc=broonie@kernel.org \
    --cc=caleb.connolly@linaro.org \
    --cc=chiaen_wu@richtek.com \
    --cc=cy_huang@richtek.com \
    --cc=demonsingur@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=haibo.chen@nxp.com \
    --cc=hvilleneuve@dimonoff.com \
    --cc=jic23@kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcus.folkesson@gmail.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=william.gray@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).