ath79: restore gpio-export on TL-WDR3600/4300
authorLech Perczak <[email protected]>
Sun, 8 Dec 2019 14:23:54 +0000 (15:23 +0100)
committerAdrian Schmutzler <[email protected]>
Thu, 19 Dec 2019 14:40:49 +0000 (15:40 +0100)
commitb1e8a390ea7bde59eb47bdd729228cb377aa6f6f
treeb637df9c9c7bcb30d59403e1ec3d0a7facbe432e
parent60de1fdbb4492b5270edf49d634979c0cfd1e743
ath79: restore gpio-export on TL-WDR3600/4300

This partially reverts commit 32144ba275d163ce6e7d93546ab4414f03f508fb.

This commit replaced gpio-exports in favor of gpio-hogs for enabling USB
power at boot, but this rids the user of control of the USB port power
present on this device for a long time. It was agreed on a mailing list
[1] that this is not the way to go, and this patch breaks a very common
use-case of WWAN modem reset by power cycle, used on a lot USB equipped
routers, hence revert this change until a better solution can be found.

[1] http://lists.infradead.org/pipermail/openwrt-devel/2019-November/020151.html

Tested-by: Sungbo Eo <[email protected]>
Signed-off-by: Lech Perczak <[email protected]>
[adjusted commit title]
Signed-off-by: Adrian Schmutzler <[email protected]>
target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi