Thread (61 messages) 61 messages, 10 authors, 2022-10-28

Re: [PATCH v1 02/11] drm/tegra: switch to using devm_fwnode_gpiod_get

From: Linus Walleij <hidden>
Date: 2022-09-05 21:03:58
Also in: dri-devel, linux-gpio, linux-pci, linux-tegra, linux-usb, linux-watchdog, lkml

On Mon, Sep 5, 2022 at 9:37 PM Dmitry Torokhov
[off-list ref] wrote:
On Mon, Sep 05, 2022 at 01:57:01PM +0300, Andy Shevchenko wrote:
quoted
On Mon, Sep 5, 2022 at 9:32 AM Dmitry Torokhov
[off-list ref] wrote:
quoted
I would like to limit (or maybe even remove) use of
[devm_]gpiod_get_from_of_node in drivers so that gpiolib can be cleaned
a bit, so let's switch to the generic device property API.
quoted
It may even
help with handling secondary fwnodes when gpiolib is taught to handle
gpios described by swnodes.
I would remove this sentence from all commit messages since it's a
debatable thing and might even not happen, so the above is a pure
speculation.
I have the patches. Granted, I had them since '19 ;) but I'm rebasing
them and going to push them. I need them to convert bunch of input
drivers away from platform data.
That's good news!

Are you referring to this patch set mentioned in a discussion
from 2017 thru 2020?
https://lore.kernel.org/linux-input/20200826161222.GA1665100@dtor-ws/ (local)

I put aside GPIO descriptor conversion for input devices (keys, buttons)
in board files anticipating a swnode mechanism.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help