Thread (7 messages) 7 messages, 5 authors, 2017-01-26

Re: [PATCH v2 1/1] of: Pass GPIO label down to gpiod_request when using get_gpiod_from_child

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2017-01-24 11:18:07
Also in: linux-gpio, linux-input, linux-leds

Hi Linus,

On Tue, Jan 17, 2017 at 4:07 PM, Linus Walleij [off-list ref] wrote:
On Thu, Jan 12, 2017 at 5:39 PM, Alexander Stein
[off-list ref] wrote:
quoted
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 <redacted>
CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
CC: Jacek Anaszewski <jacek.anaszewski@gmail.com>
---
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 :)
Yes it does, thanks!

-gpio-780 (?): gpiod_set_debounce: missing set() or set_debounce() operations
+gpio-780 (SW30): gpiod_set_debounce: missing set() or set_debounce() operations

Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help