All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: "Vaittinen, Matti" <Matti.Vaittinen@fi.rohmeurope.com>
Cc: "alexandre.belloni@bootlin.com" <alexandre.belloni@bootlin.com>,
	"linux@roeck-us.net" <linux@roeck-us.net>,
	"wim@linux-watchdog.org" <wim@linux-watchdog.org>,
	"mazziesaccount@gmail.com" <mazziesaccount@gmail.com>,
	"broonie@kernel.org" <broonie@kernel.org>,
	"sboyd@kernel.org" <sboyd@kernel.org>,
	"linus.walleij@linaro.org" <linus.walleij@linaro.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"sre@kernel.org" <sre@kernel.org>,
	"bgolaszewski@baylibre.com" <bgolaszewski@baylibre.com>,
	"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
	"mturquette@baylibre.com" <mturquette@baylibre.com>,
	"a.zummo@towertech.it" <a.zummo@towertech.it>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>
Subject: Re: [PATCH 1/2] MAINTAINERS: Add entry for ROHM power management ICs
Date: Wed, 20 May 2020 09:25:54 +0100	[thread overview]
Message-ID: <20200520082554.GA271301@dell> (raw)
In-Reply-To: <e50cbe739c3394bfc0bba77b3ea4b522b6011dd0.camel@fi.rohmeurope.com>

On Wed, 20 May 2020, Vaittinen, Matti wrote:

> Morning Lee,
> 
> On Wed, 2020-05-20 at 07:35 +0100, Lee Jones wrote:
> > On Wed, 20 May 2020, Matti Vaittinen wrote:
> > 
> > > Add entry for maintaining power management IC drivers for ROHM
> > > BD71837, BD71847, BD71850, BD71828, BD71878, BD70528 and BD99954.
> > > 
> > > Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
> > > ---
> > >  MAINTAINERS | 30 ++++++++++++++++++++++++++++++
> > >  1 file changed, 30 insertions(+)
> > > 
> > > diff --git a/MAINTAINERS b/MAINTAINERS
> > > index ecc0749810b0..63a2ca70540e 100644
> > > --- a/MAINTAINERS
> > > +++ b/MAINTAINERS
> > > @@ -14490,6 +14490,12 @@ L:	linux-serial@vger.kernel.org
> > >  S:	Odd Fixes
> > >  F:	drivers/tty/serial/rp2.*
> > >  
> > > +ROHM BD99954 CHARGER IC
> > > +R:	Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
> > > +S:	Supported
> > > +F:	drivers/power/supply/bd99954-charger.c
> > > +F:	drivers/power/supply/bd99954-charger.h
> > > +
> > >  ROHM BH1750 AMBIENT LIGHT SENSOR DRIVER
> > >  M:	Tomasz Duszynski <tduszyns@gmail.com>
> > >  S:	Maintained
> > > @@ -14507,6 +14513,30 @@ F:	drivers/mfd/bd9571mwv.c
> > >  F:	drivers/regulator/bd9571mwv-regulator.c
> > >  F:	include/linux/mfd/bd9571mwv.h
> > >  
> > > +ROHM POWER MANAGEMENT IC DEVICE DRIVERS
> > > +R:	Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
> > > +S:	Supported
> > > +F:	Documentation/devicetree/bindings/mfd/rohm,bd70528-pmic.txt
> > > +F:	Documentation/devicetree/bindings/regulator/rohm,bd70528-
> > > regulator.txt
> > > +F:	drivers/clk/clk-bd718x7.c
> > > +F:	drivers/gpio/gpio-bd70528.c
> > > +F:	drivers/gpio/gpio-bd71828.c
> > > +F:	drivers/mfd/rohm-bd70528.c
> > > +F:	drivers/mfd/rohm-bd71828.c
> > > +F:	drivers/mfd/rohm-bd718x7.c
> > > +F:	drivers/power/supply/bd70528-charger.c
> > > +F:	drivers/regulator/bd70528-regulator.c
> > > +F:	drivers/regulator/bd71828-regulator.c
> > > +F:	drivers/regulator/bd718x7-regulator.c
> > > +F:	drivers/regulator/rohm-regulator.c
> > > +F:	drivers/rtc/rtc-bd70528.c
> > > +F:	drivers/watchdog/bd70528_wdt.c
> > > +F:	include/linux/mfd/rohm-shared.h
> > > +F:	include/linux/mfd/rohm-bd71828.h
> > > +F:	include/linux/mfd/rohm-bd70528.h
> > > +F:	include/linux/mfd/rohm-generic.h
> > > +F:	include/linux/mfd/rohm-bd718x7.h
> > 
> > How small can you get this list using wildcards?
> I was considering this but wildcards are somewhat error prone. I can't
> guarantee they don't match to drivers which I am not working with :(
> The BDxxxxx is common for pretty much all ROHM ICs (well, theres few
> other like BUxxxxx and BHxxxxx) - and there is huge amount of ICs.
> Hence I think it is likely the wildcards (will) match to drivers
> maintained by others.
> 
> One already existing example is:
> ROHM MULTIFUNCTION BD9571MWV-M PMIC DEVICE DRIVERS
> M:      Marek Vasut <marek.vasut+renesas@gmail.com>
> L:      linux-kernel@vger.kernel.org
> L:      linux-renesas-soc@vger.kernel.org
> S:      Supported          
> F:      Documentation/devicetree/bindings/mfd/bd9571mwv.txt          
> F:      drivers/gpio/gpio-bd9571mwv.c
> F:      drivers/mfd/bd9571mwv.c          
> F:      drivers/regulator/bd9571mwv-regulator.c
> F:      include/linux/mfd/bd9571mwv.h
> 
> also LEDs have some ROHM IC drivers which I am not familiar with.
> 
> > +F:	drivers/clk/clk-bd718x7.c
> > +F:	drivers/gpio/gpio-bd7*
> > +F:	drivers/mfd/rohm-bd7*
> > +F:	drivers/power/supply/bd7*
> > +F:	drivers/regulator/bd7*
> > +F:	drivers/regulator/rohm-regulator.c
> > +F:	drivers/rtc/rtc-bd7*
> > +F:	drivers/watchdog/bd7*
> > +F:	include/linux/mfd/rohm-*
> > 
> > Or
> > 
> > +F:	drivers/*/bd7*
> > +F:	drivers/*/*-bd7*
> > +F:	drivers/*/rohm-*
> > +F:	drivers/*/*rohm-*
> > +F:	include/linux/*/rohm-*
> > +F:	include/linux/*/*rohm-*
> > 
> > Not checked either of these.  They are just an example.
> 
> So, I am sure I can find a working match pattern for a few of the files
> - but if using wildcards is not compulsory I'd rather not do that as I
> have a feeling this will cause wrong matches...

That's fine.  So long as you've thought about it.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2020-05-20  8:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20  6:10 [PATCH 0/2] MAINTAINER entries for few ROHM power devices Matti Vaittinen
2020-05-20  6:11 ` [PATCH 1/2] MAINTAINERS: Add entry for ROHM power management ICs Matti Vaittinen
2020-05-20  6:35   ` Lee Jones
2020-05-20  7:07     ` Vaittinen, Matti
2020-05-20  8:25       ` Lee Jones [this message]
2020-05-20 10:52   ` Sebastian Reichel
2020-05-20  6:12 ` [PATCH 2/2] MAINTAINERS: Add maintainer entry for linear ranges helper Matti Vaittinen
2020-05-20 17:17 ` [PATCH 0/2] MAINTAINER entries for few ROHM power devices Mark Brown

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=20200520082554.GA271301@dell \
    --to=lee.jones@linaro.org \
    --cc=Matti.Vaittinen@fi.rohmeurope.com \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@bootlin.com \
    --cc=bgolaszewski@baylibre.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mazziesaccount@gmail.com \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=sre@kernel.org \
    --cc=wim@linux-watchdog.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 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.