Hi, > -----Original Message----- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On > Behalf Of Bjørn Mork > Sent: Dienstag, 5. November 2019 17:38 > To: Adrian Schmutzler <freif...@adrianschmutzler.de> > Cc: openwrt-devel@lists.openwrt.org; Birger Koblitz <m...@birger-koblitz.de> > Subject: Re: [OpenWrt-Devel] [PATCH v2] ath79: use gpio_hog instead of gpio- > export > > Adrian Schmutzler <freif...@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@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel
openpgp-digital-signature.asc
Description: PGP signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel