All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: marvell: fix USB3 regulator definition on MacchiatoBin
@ 2017-06-23 15:40 Thomas Petazzoni
  2017-06-23 15:40 ` [PATCH 2/2] arm64: defconfig: enable nop-xceiv PHY driver Thomas Petazzoni
  2017-06-23 16:08 ` [PATCH 1/2] arm64: dts: marvell: fix USB3 regulator definition on MacchiatoBin Russell King - ARM Linux
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-06-23 15:40 UTC (permalink / raw)
  To: linux-arm-kernel

Due to the lack of GPIO support, the USB3 regulator definition was
left unfinished in the MacchiatoBin DT description. Now that GPIO
support is available, this commit adjusts the Device Tree to properly
describe the USB3 regulator.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
index 015b58b..dfced8c 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
@@ -46,6 +46,8 @@
 
 #include "armada-8040.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
+
 / {
 	model = "Marvell 8040 MACHIATOBin";
 	compatible = "marvell,armada8040-mcbin", "marvell,armada8040",
@@ -80,8 +82,9 @@
 		regulator-name = "v_5v0_usb3_hst_vbus";
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		/* actually GPIO controlled, but 8k has no GPIO support yet */
+		gpio = <&cpm_gpio2 15 GPIO_ACTIVE_HIGH>;
 		regulator-always-on;
+		enable-active-high;
 		status = "okay";
 	};
 
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-12 16:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-23 15:40 [PATCH 1/2] arm64: dts: marvell: fix USB3 regulator definition on MacchiatoBin Thomas Petazzoni
2017-06-23 15:40 ` [PATCH 2/2] arm64: defconfig: enable nop-xceiv PHY driver Thomas Petazzoni
2017-07-12 16:56   ` Gregory CLEMENT
2017-06-23 16:08 ` [PATCH 1/2] arm64: dts: marvell: fix USB3 regulator definition on MacchiatoBin Russell King - ARM Linux

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.