[OpenWrt-Devel] [PATCH] apm821xx, ath79, lantiq, ramips: move named gpio exports to generic
ynezz at true.cz
Wed Feb 13 01:14:18 EST 2019
Mathias Kresin <dev at kresin.me> [2019-02-12 23:19:24]:
> 12/02/2019 20:49, Daniel Golle:
> > The patch was copied to a bunch of platforms and seems to be a quite
> > useful feature for various things. Move it to generic to avoid code
> > duplication.
> Follow up to the discussion in
> We should rather try to get rid of the patch instead of encourage people of
> using it. Has to be read as soft NAK.
> The patch was a hack for missing kernel functionality and was rejected
> upstream a long time ago. The main use case for the patch is pulling reset
> GPIOs or enable a USB VCC supply. More and more drivers/subsystems are
> getting support to control reset GPIOs or enable the VCC supply on their
> The upstream answer to gpio-exports are gpio-hogs. It is just that nobody
> migrated the devicetree source files to GPIO hogs so far. Even if gpio-hogs
> are still a workaround for drivers not able pull their reset GPIOs/enable
> VCC supply, it seem to me the cleaner workaround.
I've sent RFC about userspace replacement as well.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel