[OpenWrt-Devel] [PATCH v2] ath79: use gpio_hog instead of gpio-export

Adrian Schmutzler mail at adrianschmutzler.de
Tue Nov 5 11:44:21 EST 2019


Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org] On
> Behalf Of Bjørn Mork
> Sent: Dienstag, 5. November 2019 17:38
> To: Adrian Schmutzler <freifunk at adrianschmutzler.de>
> Cc: openwrt-devel at lists.openwrt.org; Birger Koblitz <mail at birger-koblitz.de>
> Subject: Re: [OpenWrt-Devel] [PATCH v2] ath79: use gpio_hog instead of gpio-
> export
> 
> Adrian Schmutzler <freifunk at adrianschmutzler.de> writes:
> 
> > This patch converts all DTS files with settings that normally do
> > not need user interaction, e.g. power for external USB ports, to
> > gpio_hog.
> 
> Wouldn't it be better to map these as fixed regulators?  Then you could
> eventually link them to the connected ports/controllers, and allow them
> to be automatically turned off when not needed.

I'm no expert for this stuff.

But, based on the discussion here, the opposite has been identified as superior solution (discussing nand subtarget):
https://github.com/openwrt/openwrt/pull/2184#discussion_r342136635

Despite, I remember a comment that fixed regulators won't be available on all SOCs...

Best

Adrian


> 
> 
> Bjørn
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20191105/0a9162f4/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list