From: Lee Jones <lee.jones@linaro.org>
To: Keerthy <a0393675@ti.com>
Cc: Keerthy <j-keerthy@ti.com>,
linus.walleij@linaro.org, gnurou@gmail.com,
linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-gpio@vger.kernel.org,
broonie@kernel.org, robh+dt@kernel.org, tony@atomide.com
Subject: Re: [PATCH v5 2/3] mfd: lp873x: Add lp873x PMIC support
Date: Tue, 9 Aug 2016 10:44:16 +0100 [thread overview]
Message-ID: <20160809094416.GX5243@dell> (raw)
In-Reply-To: <57A81849.7010707@ti.com>
On Mon, 08 Aug 2016, Keerthy wrote:
> On Friday 05 August 2016 02:31 PM, Lee Jones wrote:
> > On Fri, 05 Aug 2016, Keerthy wrote:
> > > On Friday 05 August 2016 01:33 PM, Lee Jones wrote:
> > > > On Wed, 29 Jun 2016, Keerthy wrote:
> > > >
> > > > > The LP873X chip is a power management IC for Portable Navigation Systems
> > > > > and Tablet Computing devices. It contains the following components:
> > > > >
> > > > > - Regulators.
> > > > > - Configurable General Purpose Output Signals(GPO).
> > > > >
> > > > > PMIC interacts with the main processor through i2c. PMIC has
> > > > > couple of LDOs(Linear Regulators), couple of BUCKs (Step-Down DC-DC
> > > > > Converter Cores) and GPOs(General Purpose Output Signals).
> > > > >
> > > > > Signed-off-by: Keerthy <j-keerthy@ti.com>
> > > > > ---
> > > > >
> > > > > Changes in v4:
> > > > >
> > > > > * Added Author.
> > > > > * Added the mfd_cell for gpio.
> > > > >
> > > > > Changes in v3:
> > > > >
> > > > > * Reordered the probe code.
> > > > > * Fixed Typo in Kconfig description.
> > > > > * Removed unused member from struct lp873x.
> > > > >
> > > > > drivers/mfd/Kconfig | 14 +++
> > > > > drivers/mfd/Makefile | 2 +
> > > > > drivers/mfd/lp873x.c | 99 +++++++++++++++++
> > > > > include/linux/mfd/lp873x.h | 264 +++++++++++++++++++++++++++++++++++++++++++++
> > > > > 4 files changed, 379 insertions(+)
> > > > > create mode 100644 drivers/mfd/lp873x.c
> > > > > create mode 100644 include/linux/mfd/lp873x.h
[...]
> > > > > +static const struct i2c_device_id lp873x_id_table[] = {
> > > > > + { "lp873x", LP873X },
> > > > > + { "lp8732", LP873X },
> > > > > + { "lp8733", LP873X },
> > > >
> > > > Do you use these IDs at any point?
> > >
> > > I have lp8733 and lp8732 at the moment. They are register exact but
> > > different parts none the less. Hence having separate strings. As of now no
> > > differences seen in gpio/regulator modules so not using them anywhere.
> >
> > I have a patch-set pending on the I2C list that removes all unused
> > 'struct i2c_device_id' tables. To identify which ones are in use and
> > which ones can be removed, it would help if you could remove the
> > unused .id field.
>
> I guess you are referring to this:
>
> http://www.gossamer-threads.com/lists/linux/kernel/2457552
>
> I applied the above series and i see that by using driver_new in lp873x
> MFD driver i no longer need the mandatory i2c_device_id. Thanks.
> I will send a series on top of your i2c set v5 without any unused device_id.
> I will add a dependency on your set.
I would not do that if I were you. That set has been pending for
years. I'm just saying, when that patch-set is accepted, it will be
easier to identify removable tables if they do not contain populated,
but unused .id entries.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2016-08-09 9:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-29 15:44 [PATCH v5 0/3] mfd: lp873x: Add lp873x PMIC support Keerthy
2016-06-29 15:44 ` [PATCH v5 1/3] Documentation: mfd: LP873X: Add information for the mfd driver Keerthy
2016-08-05 8:05 ` Lee Jones
2016-08-05 8:24 ` Keerthy
2016-06-29 15:44 ` [PATCH v5 2/3] mfd: lp873x: Add lp873x PMIC support Keerthy
[not found] ` <1467215067-6486-3-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2016-08-05 8:03 ` Lee Jones
2016-08-05 8:24 ` Keerthy
2016-08-05 9:01 ` Lee Jones
2016-08-08 5:27 ` Keerthy
2016-08-09 9:44 ` Lee Jones [this message]
[not found] ` <1467215067-6486-1-git-send-email-j-keerthy-l0cyMroinI0@public.gmane.org>
2016-06-29 15:44 ` [PATCH v5 3/3] gpio: lp873x: Add support for General Purpose Outputs Keerthy
2016-07-04 11:22 ` Linus Walleij
2016-07-05 4:49 ` Keerthy
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=20160809094416.GX5243@dell \
--to=lee.jones@linaro.org \
--cc=a0393675@ti.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gnurou@gmail.com \
--cc=j-keerthy@ti.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=tony@atomide.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 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).