From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by ozlabs.org (Postfix) with ESMTP id D62ADDDF44 for ; Fri, 18 Jul 2008 15:09:33 +1000 (EST) Received: by wf-out-1314.google.com with SMTP id 24so136881wfg.15 for ; Thu, 17 Jul 2008 22:09:32 -0700 (PDT) Date: Thu, 17 Jul 2008 23:09:30 -0600 From: Grant Likely To: Anton Vorontsov Subject: Re: [PATCH v3] leds: implement OpenFirmare GPIO LED driver Message-ID: <20080718050930.GD9795@secretlab.ca> References: <20080715151917.GA30607@polina.dev.rtsoft.ru> <20080717041531.GA27243@secretlab.ca> <20080717140519.GA32617@polina.dev.rtsoft.ru> <20080717141335.GA2219@polina.dev.rtsoft.ru> <20080717150422.GC31932@secretlab.ca> <20080717152006.GA26120@polina.dev.rtsoft.ru> <20080717234201.GA15745@polina.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20080717234201.GA15745@polina.dev.rtsoft.ru> Sender: Grant Likely Cc: Stephen Rothwell , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Richard Purdie , Trent Piepho List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Jul 18, 2008 at 03:42:01AM +0400, Anton Vorontsov wrote: > > So.. > > Trent, I encourage you to collect your patch snippets into complete patch, > and post it so it could slip into 2.6.27 (the bad thing is that your > approach involves changes to the existing drivers, not just adding new > driver that could slip even into -rc9). > > That is, I have a bunch of patches in my stg queue on which I can work > with more fun, so I'm somewhat glad that somebody will take care of the > notorious OF GPIO LEDs. ;-) Okay. Thank you for all your work; it is *much* appreciated. I'm sorry that these things didn't come up earlier and I feel your pain. :-) Trent, I'd be happy to help and do what I can to expedite getting of gpio-leds support merged in the .27 window. > > I like the first better. It follows the example from the docs about how > > devices with multiple gpios should work too. > > IMO, each LED is a device. So, I would rather define compatible = <> for > each led. If we choose that all gpio-leds will have a common parent, then I'd still argue for the compatible property to be on the parent node because all the children are homogeneous. g.