* [PATCH v3] ARM: sun8i: v40: enable USB host ports for Banana Pi M2 Berry
@ 2018-04-06 14:03 Icenowy Zheng
[not found] ` <20180406140344.9457-1-icenowy-h8G6r0blFSE@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Icenowy Zheng @ 2018-04-06 14:03 UTC (permalink / raw)
To: Maxime Ripard, Chen-Yu Tsai
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Icenowy Zheng
Banana Pi M2 Berry has an on-board USB Hub that provides 4 USB Type-A
ports, and it's connected to the USB1 port of the SoC.
Enable it.
Signed-off-by: Icenowy Zheng <icenowy-h8G6r0blFSE@public.gmane.org>
---
Changes in v3:
- Dropped OHCI node and added hub model comment in EHCI.
arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
index a26d72c3f9b5..35859d8f3267 100644
--- a/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
+++ b/arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts
@@ -87,6 +87,11 @@
};
};
+&ehci1 {
+ /* Terminus Tech FE 1.1s 4-port USB 2.0 hub here */
+ status = "okay";
+};
+
&i2c0 {
status = "okay";
@@ -170,3 +175,8 @@
pinctrl-0 = <&uart0_pb_pins>;
status = "okay";
};
+
+&usbphy {
+ usb1_vbus-supply = <®_vcc5v0>;
+ status = "okay";
+};
--
2.15.1
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <20180406140344.9457-1-icenowy-h8G6r0blFSE@public.gmane.org>]
* Re: [PATCH v3] ARM: sun8i: v40: enable USB host ports for Banana Pi M2 Berry [not found] ` <20180406140344.9457-1-icenowy-h8G6r0blFSE@public.gmane.org> @ 2018-04-09 7:33 ` Chen-Yu Tsai 2018-04-11 7:48 ` [linux-sunxi] " Maxime Ripard 0 siblings, 1 reply; 3+ messages in thread From: Chen-Yu Tsai @ 2018-04-09 7:33 UTC (permalink / raw) To: Icenowy Zheng Cc: Maxime Ripard, devicetree, linux-arm-kernel, linux-kernel, linux-sunxi On Fri, Apr 6, 2018 at 10:03 PM, Icenowy Zheng <icenowy-h8G6r0blFSE@public.gmane.org> wrote: > Banana Pi M2 Berry has an on-board USB Hub that provides 4 USB Type-A > ports, and it's connected to the USB1 port of the SoC. > > Enable it. > > Signed-off-by: Icenowy Zheng <icenowy-h8G6r0blFSE@public.gmane.org> Verified against public schematics. Reviewed-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org> ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-sunxi] [PATCH v3] ARM: sun8i: v40: enable USB host ports for Banana Pi M2 Berry 2018-04-09 7:33 ` Chen-Yu Tsai @ 2018-04-11 7:48 ` Maxime Ripard 0 siblings, 0 replies; 3+ messages in thread From: Maxime Ripard @ 2018-04-11 7:48 UTC (permalink / raw) To: Chen-Yu Tsai Cc: Icenowy Zheng, devicetree, linux-arm-kernel, linux-kernel, linux-sunxi [-- Attachment #1: Type: text/plain, Size: 590 bytes --] On Mon, Apr 09, 2018 at 03:33:34PM +0800, Chen-Yu Tsai wrote: > On Fri, Apr 6, 2018 at 10:03 PM, Icenowy Zheng <icenowy@aosc.io> wrote: > > Banana Pi M2 Berry has an on-board USB Hub that provides 4 USB Type-A > > ports, and it's connected to the USB1 port of the SoC. > > > > Enable it. > > > > Signed-off-by: Icenowy Zheng <icenowy@aosc.io> > > Verified against public schematics. > > Reviewed-by: Chen-Yu Tsai <wens@csie.org> Applied for 4.18 Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-11 7:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-06 14:03 [PATCH v3] ARM: sun8i: v40: enable USB host ports for Banana Pi M2 Berry Icenowy Zheng
[not found] ` <20180406140344.9457-1-icenowy-h8G6r0blFSE@public.gmane.org>
2018-04-09 7:33 ` Chen-Yu Tsai
2018-04-11 7:48 ` [linux-sunxi] " Maxime Ripard
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).