PKGBUILDs/core/linux-aarch64/0005-arm64-dts-rockchip-Fix-vcc_host1_5v-GPIO-polarity-on.patch
2019-03-08 17:09:41 -07:00

30 lines
1 KiB
Diff

From 227725c79d73765e22a50e5b00f063f2714139bf Mon Sep 17 00:00:00 2001
From: Tomohiro Mayama <parly-gh@iris.mystia.org>
Date: Fri, 8 Mar 2019 01:18:33 +0900
Subject: [PATCH 5/5] arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on
rk3328-rock64
This patch makes USB ports functioning again.
Signed-off-by: Tomohiro Mayama <parly-gh@iris.mystia.org>
---
arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
index e37f5f4141ab..870d472bdec5 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
@@ -46,8 +46,7 @@
vcc_host1_5v: vcc_otg_5v: vcc-host1-5v-regulator {
compatible = "regulator-fixed";
- enable-active-high;
- gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
+ gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&usb20_host_drv>;
regulator-name = "vcc_host1_5v";
--
2.21.0