[OpenWrt-Devel] [PATCH] apm821xx, ath79, lantiq, ramips: move named gpio exports to generic
dev at kresin.me
Sun Feb 17 03:51:34 EST 2019
13/02/2019 07:14, Petr Štetiar:
> 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
>> 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.
> 1. http://lists.infradead.org/pipermail/openwrt-devel/2019-February/015715.html
> -- ynezz
I'm well aware of your mail and I agree that we need to switch to
libgpiod et al. But I don't feel confident to answer any of the question
I still hope, someone - who has a better idea how/where to integrate the
functionality - picks up your mail.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel