[PATCH 2/4] ARM: rdu2: remove USB VBUS GPIO init

Lucas Stach l.stach at pengutronix.de
Tue Jul 18 06:18:35 PDT 2017


This is handled by a fixed regulator in the upstream DT.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 arch/arm/boards/zii-imx6q-rdu2/board.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/arm/boards/zii-imx6q-rdu2/board.c b/arch/arm/boards/zii-imx6q-rdu2/board.c
index ee04517d2985..4176ca79353d 100644
--- a/arch/arm/boards/zii-imx6q-rdu2/board.c
+++ b/arch/arm/boards/zii-imx6q-rdu2/board.c
@@ -122,11 +122,6 @@ static const struct gpio rdu2_front_panel_usb_gpios[] = {
 		.label = "usb-mode1",
 	},
 	{
-		.gpio = IMX_GPIO_NR(3, 22),
-		.flags = GPIOF_OUT_INIT_LOW,
-		.label = "usb-pwr-ctrl-enn",
-	},
-	{
 		.gpio = IMX_GPIO_NR(3, 23),
 		.flags = GPIOF_OUT_INIT_HIGH,
 		.label = "usb-mode2",
-- 
2.11.0




More information about the barebox mailing list