From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH v2 1/1] of: Pass GPIO label down to gpiod_request when using get_gpiod_from_child Date: Tue, 17 Jan 2017 16:07:07 +0100 Message-ID: References: <20170112163924.4414-1-alexander.stein@systec-electronic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-qt0-f171.google.com ([209.85.216.171]:35901 "EHLO mail-qt0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751032AbdAQPHT (ORCPT ); Tue, 17 Jan 2017 10:07:19 -0500 Received: by mail-qt0-f171.google.com with SMTP id k15so161991661qtg.3 for ; Tue, 17 Jan 2017 07:07:08 -0800 (PST) In-Reply-To: <20170112163924.4414-1-alexander.stein@systec-electronic.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Alexander Stein Cc: Alexandre Courbot , Dmitry Torokhov , Richard Purdie , Jacek Anaszewski , Pavel Machek , Bartlomiej Zolnierkiewicz , "linux-gpio@vger.kernel.org" , Linux Input , "linux-leds@vger.kernel.org" , "linux-fbdev@vger.kernel.org" , Andy Shevchenko On Thu, Jan 12, 2017 at 5:39 PM, Alexander Stein wrote: > Currently all users of fwnode_get_named_gpiod() have no way to specify a > label for the GPIO. So GPIOs listed in debugfs are shown with label "?". > With this change a proper label is used. > Also adjust all users so they can pass a label, properly retrieved from > device tree properties. > > Signed-off-by: Alexander Stein > CC: Andy Shevchenko > CC: Jacek Anaszewski > --- > v2: > * Non-RFC > * This patch is rebased on gpio/for-next branch and cherry-picked commit > 2715bbe from https://bitbucket.org/andy-shev/linux.git Patch applied on top of Andy's patch. Let's see if this all builds and works :) Yours, Linus Walleij