Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752842AbYGREod (ORCPT ); Fri, 18 Jul 2008 00:44:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751129AbYGREoZ (ORCPT ); Fri, 18 Jul 2008 00:44:25 -0400 Received: from wf-out-1314.google.com ([209.85.200.172]:3513 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751047AbYGREoZ (ORCPT ); Fri, 18 Jul 2008 00:44:25 -0400 Date: Thu, 17 Jul 2008 22:44:20 -0600 From: Grant Likely To: Anton Vorontsov , linuxppc-dev@ozlabs.org, Richard Purdie , linux-kernel@vger.kernel.org Subject: Re: [PATCH] leds: implement OpenFirmare GPIO LED driver Message-ID: <20080718044420.GB9795@secretlab.ca> References: <20080714164114.GA18784@polina.dev.rtsoft.ru> <20080717110730.GA24775@polina.dev.rtsoft.ru> <20080717150715.GD31932@secretlab.ca> <20080718033512.GC18748@yookeroo.seuss> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080718033512.GC18748@yookeroo.seuss> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 875 Lines: 21 On Fri, Jul 18, 2008 at 01:35:12PM +1000, David Gibson wrote: > This brings us back to the issue we also have with DCR controlled > devices. Possibly we should have two ways of representing these > connections: for "pure" GPIO-only or DCR-only devices, they appear > under the relevant controller with the addresses encoded with 'reg'. > For devices on other busses which also have a few GPIO lines / DCR > registers, they would appear on the other bus with 'gpios' or > 'dcr-reg' properties (or some new, generalized 'other-bus-reg' > property). On the other hand; it's just LEDs. I think a single scheme is enough. :-) g. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/