BTW, being able to toggle on and off USB power is essential in some cases. Can this be done with hog? Thanks! E
> Il giorno 5 nov 2019, alle ore 17:44, Adrian Schmutzler > <[email protected]> ha scritto: > > Hi, > >> -----Original Message----- >> From: openwrt-devel [mailto:[email protected]] On >> Behalf Of Bjørn Mork >> Sent: Dienstag, 5. November 2019 17:38 >> To: Adrian Schmutzler <[email protected]> >> Cc: [email protected]; Birger Koblitz <[email protected]> >> Subject: Re: [OpenWrt-Devel] [PATCH v2] ath79: use gpio_hog instead of gpio- >> export >> >> Adrian Schmutzler <[email protected]> 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 >> [email protected] >> https://lists.openwrt.org/mailman/listinfo/openwrt-devel > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
