From mboxrd@z Thu Jan 1 00:00:00 1970 From: richardcochran@gmail.com (Richard Cochran) Date: Thu, 16 Jul 2015 20:19:08 +0200 Subject: [PATCH 1/2] gpio: dwapb: Use human understandable gpio numbering. In-Reply-To: References: <267A46E7-C5C5-4696-90CC-D44F4130B3EF@smart-africa.com> <20150702142058.GA9349@localhost.localdomain> Message-ID: <20150716181908.GA27856@localhost.localdomain> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.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