From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Lee Jones <lee.jones@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Bjorn Andersson <bjorn.andersson@sonymobile.com>
Subject: Re: [RESEND PATCH v3 2/2] mfd: lm3533: Support initialization from Device Tree
Date: Mon, 11 Apr 2016 06:40:19 -0700 [thread overview]
Message-ID: <20160411134019.GM391@tuxbot> (raw)
In-Reply-To: <20160411123009.GV8094@x1>
On Mon 11 Apr 05:30 PDT 2016, Lee Jones wrote:
> On Wed, 30 Mar 2016, Bjorn Andersson wrote:
>
> > From: Bjorn Andersson <bjorn.andersson@sonymobile.com>
> >
> > Implement Device Tree parsing functions to support initialization of the
> > lm3533 drivers.
> >
> > Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > ---
> > Changes since v2:
> > - Drop vendor prefix of vendor properties
> > - Specify unit of various properties
> > - Fix reference paths
> >
> > Changes since v1:
> > - Added unit to boost-freq and als-resistance (as the frequency now comes with
> > a unit specifier I changed it to be expressed in kHz)
> >
> > drivers/mfd/lm3533-core.c | 264 ++++++++++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 264 insertions(+)
> >
> > diff --git a/drivers/mfd/lm3533-core.c b/drivers/mfd/lm3533-core.c
> > index 5abcbb2e8849..dbf26d86fe85 100644
> > --- a/drivers/mfd/lm3533-core.c
> > +++ b/drivers/mfd/lm3533-core.c
> > @@ -18,6 +18,7 @@
> > #include <linux/gpio.h>
> > #include <linux/i2c.h>
> > #include <linux/mfd/core.h>
> > +#include <linux/of_gpio.h>
> > #include <linux/regmap.h>
> > #include <linux/seq_file.h>
> > #include <linux/slab.h>
> > @@ -25,6 +26,7 @@
> >
> > #include <linux/mfd/lm3533.h>
> >
> > +#define LM3533_DEFAULT_BRIGHTNESS 200
>
> The MFD doesn't care about child specifics. These needs to go into
> the child driver.
>
OK, sounds reasonable. Thanks for your feedback!
Regards,
Bjorn
prev parent reply other threads:[~2016-04-11 13:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-31 6:27 [RESEND PATCH v3 1/2] devicetree: mfd: Add binding for the TI LM3533 Bjorn Andersson
[not found] ` <1459405677-15696-1-git-send-email-bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-03-31 6:27 ` [RESEND PATCH v3 2/2] mfd: lm3533: Support initialization from Device Tree Bjorn Andersson
2016-03-31 6:27 ` Bjorn Andersson
[not found] ` <1459405677-15696-2-git-send-email-bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-04-11 12:30 ` Lee Jones
2016-04-11 12:30 ` Lee Jones
2016-04-11 13:40 ` Bjorn Andersson [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=20160411134019.GM391@tuxbot \
--to=bjorn.andersson@linaro.org \
--cc=bjorn.andersson@sonymobile.com \
--cc=devicetree@vger.kernel.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.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.