MIPS: BCM47XX: Enable USB power on Netgear WNDR3400v3
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Sun, 19 Aug 2018 19:20:23 +0000 (22:20 +0300)
committerPaul Burton <paul.burton@mips.com>
Wed, 29 Aug 2018 18:11:00 +0000 (11:11 -0700)
commitfeef7918667b84f9d5653c501542dd8d84ae32af
tree3cd65cb5717b892ee07286803d827f89dffe06ba
parent9475e90f024a622ecee27675b50f5263029bb991
MIPS: BCM47XX: Enable USB power on Netgear WNDR3400v3

Setting GPIO 21 high seems to be required to enable power to USB ports
on the WNDR3400v3. As there is already similar code for WNR3500L,
make the existing USB power GPIO code generic and use that.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20259/
Cc: Rafał Miłecki <zajec5@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
arch/mips/bcm47xx/workarounds.c