devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David Rivshin (Allworx)" <drivshin.allworx@gmail.com>
To: Stefan Wahren <stefan.wahren@i2se.com>
Cc: Jacek Anaszewski <j.anaszewski@samsung.com>,
	Pawel Moll <pawel.moll@arm.com>, Rob Herring <robh+dt@kernel.org>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	linux-leds@vger.kernel.org, Richard Purdie <rpurdie@rpsys.net>,
	Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org
Subject: Re: [PATCH RFC 3/3] leds: Add driver for the ISSI IS31FL32xx family of LED drivers
Date: Mon, 29 Feb 2016 13:02:02 -0500	[thread overview]
Message-ID: <20160229130202.1a5bad0d.drivshin.allworx@gmail.com> (raw)
In-Reply-To: <2050552945.311154.eb44c2f6-8870-42b4-ada5-1ccea76f532b.open-xchange@email.1und1.de>

On Sat, 27 Feb 2016 11:48:45 +0100 (CET)
Stefan Wahren <stefan.wahren@i2se.com> wrote:

> Hi David,
> 
> > "David Rivshin (Allworx)" <drivshin.allworx@gmail.com> hat am 26. Februar 2016
> > um 22:58 geschrieben:
> >
> >
> > On Fri, 26 Feb 2016 10:47:46 +0100
> > Jacek Anaszewski <j.anaszewski@samsung.com> wrote:
> >  
> > > On 02/25/2016 08:12 PM, David Rivshin (Allworx) wrote:  
> > > > On Thu, 25 Feb 2016 11:55:58 +0100
> > > > Jacek Anaszewski <j.anaszewski@samsung.com> wrote:
> > > >  
> > > >> On 02/25/2016 03:24 AM, David Rivshin (Allworx) wrote:  
> > > >>> On Wed, 24 Feb 2016 17:04:58 +0100
> > > >>> Jacek Anaszewski <j.anaszewski@samsung.com> wrote:
> > > >>>  
> > > >>>> Hi David,
> > > >>>>
> > > >>>> Thanks for the patch. Very nice driver. I have few comments
> > > >>>> below.  
> > > >>>
> > > >>> Thanks Jacek, I have responded the comments inline. I also wanted to
> > > >>> double check whether you noticed some questions I had in the cover
> > > >>> letter [1]. As I mentioned in another email to Rob, in hindsight I'm
> > > >>> guessing I should have included them in the patch comments as well (or
> > > >>> instead of).  
> > > >>
> > > >> I saw them. I assumed that the review itself will address those
> > > >> questions.  
> > > >
> > > > Fair enough, thanks for the confirmation.
> > > >  
> > > >>> Your review comments here effectively answered some of the questions,
> > > >>> but
> > > >>> the big one I'm still unsure of is whether it actually makes sense to
> > > >>> have all 4 of these devices supported by a single driver.  
> > > >>
> > > >> It's perfectly fine. Many drivers implement this pattern.  
> > > >
> > > > OK, then I'll assume you think this driver is not yet too complicated
> > > > for it's own good. Out of curiosity, might that view change if the
> > > > 3216 specific features were ever implemented, especially GPIO and HW
> > > > animation support? Gut feel is that would make 3216 specific code
> > > > bigger than the rest of the code combined.  
> > >
> > > I don't think so.  
> >
> > Thanks, that helps calibrate my intuition for the future.
> >  
> > > > Bigger question is what should be done in terms of the overlap in device
> > > > support between this driver and leds-sn3218? If you think I should leave
> > > > the *3218 support in this driver, then I would propose:
> > > > - remove leds-sn3218 and its separate binding doc
> > > > - add the "si-en,sn3218" compatible string to this driver and binding doc
> > > > Note that while I expect this driver to work with the 3218 chips, I do
> > > > not have one to test against. If we go down this route I would definitely
> > > > want Stefan to test so that I don't accidentally break him.  
> > >
> > > I'd prefer to have a single driver for the same hardware. Stefan, would
> > > it be possible for you to test David's driver with the hardware you
> > > have an access to?  
> >
> > Stefan, one thing to note: the existing sn3218 driver/binding uses 0-based
> > 'reg' values, and this driver/binding uses 1-based 'reg' values. So your
> > devicetree(s) would need to be updated for that (as well as the compatible
> > string).
> >
> > I didn't see a final answer from Rob as to which way is most appropriate
> > for these devices yet, so I don't know which way this will end up in the
> > final patch.  
> 
> unfortunately i'm very busy. Yes, i will test it, but i can't promise when.
> 
> Should i apply this version or wait for the next?

Thanks Stefan. I am hoping to have the next version ready in the next day or 
so. To better use your time, it's probably best to wait for that. 

  reply	other threads:[~2016-02-29 18:02 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23 18:17 [PATCH RFC 0/3] leds: Add driver for the ISSI IS31FL32xx family of LED drivers David Rivshin (Allworx)
2016-02-23 18:17 ` [PATCH RFC 1/3] DT: Add vendor prefix for Integrated Silicon Solutions Inc David Rivshin (Allworx)
2016-02-23 23:36   ` Rob Herring
2016-02-23 18:17 ` [PATCH RFC 2/3] DT: leds: Add binding for the ISSI IS31FL32xx family of LED drivers David Rivshin (Allworx)
2016-02-24  1:15   ` Rob Herring
2016-02-24 18:57     ` David Rivshin (Allworx)
2016-02-24 19:45       ` Rob Herring
2016-02-24 23:16         ` David Rivshin (Allworx)
2016-02-25  1:17           ` Rob Herring
2016-02-24 16:04   ` Jacek Anaszewski
2016-02-24 19:34     ` David Rivshin (Allworx)
2016-02-24 19:49       ` Rob Herring
2016-02-26  0:30         ` David Rivshin (Allworx)
2016-02-26  9:56           ` Jacek Anaszewski
2016-02-23 18:17 ` [PATCH RFC 3/3] leds: Add driver " David Rivshin (Allworx)
2016-02-23 18:45   ` Mark Rutland
2016-02-23 22:38     ` David Rivshin (Allworx)
2016-02-24 16:08       ` Jacek Anaszewski
2016-02-24 16:04   ` Jacek Anaszewski
2016-02-25  2:24     ` David Rivshin (Allworx)
2016-02-25 10:55       ` Jacek Anaszewski
2016-02-25 19:12         ` David Rivshin (Allworx)
2016-02-26  9:47           ` Jacek Anaszewski
2016-02-26 21:58             ` David Rivshin (Allworx)
2016-02-27 10:48               ` Stefan Wahren
2016-02-29 18:02                 ` David Rivshin (Allworx) [this message]
2016-02-29 19:40                   ` Stefan Wahren
2016-03-01  1:32                     ` David Rivshin (Allworx)
2016-02-29  9:47               ` Jacek Anaszewski
2016-02-29 18:26                 ` David Rivshin (Allworx)
2016-03-01  8:24                   ` Jacek Anaszewski
2016-03-01 18:45                     ` David Rivshin (Allworx)
2016-03-02  8:15                       ` Jacek Anaszewski

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=20160229130202.1a5bad0d.drivshin.allworx@gmail.com \
    --to=drivshin.allworx@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=j.anaszewski@samsung.com \
    --cc=linux-leds@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=rpurdie@rpsys.net \
    --cc=stefan.wahren@i2se.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).