From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Cochran Subject: Re: [PATCH 1/2] gpio: dwapb: Use human understandable gpio numbering. Date: Thu, 16 Jul 2015 20:19:08 +0200 Message-ID: <20150716181908.GA27856@localhost.localdomain> References: <267A46E7-C5C5-4696-90CC-D44F4130B3EF@smart-africa.com> <20150702142058.GA9349@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org To: Linus Walleij Cc: Michael van der Westhuizen , "linux-arm-kernel@lists.infradead.org" , Alexandre Courbot , "devicetree@vger.kernel.org" , "linux-gpio@vger.kernel.org" , Alan Tull , Sebastian Andrzej Siewior , Dinh Nguyen List-Id: devicetree@vger.kernel.org On Thu, Jul 16, 2015 at 09:57:23AM +0200, Linus Walleij wrote: > So what about making a patch to drivers/gpio/gpio-dwapb.c that adds the > .names property to its GPIO chip? OK, so the user knows that he wants the instance with .name = "gpio0". What should he write into /sys/class/gpio/export? Thanks, Richard