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: Received: from mail-wi0-f182.google.com ([209.85.212.182]:33619 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752055AbbGPSTN (ORCPT ); Thu, 16 Jul 2015 14:19:13 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@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 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