Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1693287 > unrolled thread

[PATCH 1/3] arm64: allwinner: a64: enable USB host controller for BPi M64

Started byIcenowy Zheng <icenowy@aosc.io>
First post2017-07-21 01:10 +0200
Last post2017-07-21 09:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/3] arm64: allwinner: a64: enable USB host controller for BPi M64 Icenowy Zheng <icenowy@aosc.io> - 2017-07-21 01:10 +0200
    Re: [linux-sunxi] [PATCH 1/3] arm64: allwinner: a64: enable USB host  controller for BPi M64 Chen-Yu Tsai <wens@csie.org> - 2017-07-21 09:40 +0200

#1693287 — [PATCH 1/3] arm64: allwinner: a64: enable USB host controller for BPi M64

FromIcenowy Zheng <icenowy@aosc.io>
Date2017-07-21 01:10 +0200
Subject[PATCH 1/3] arm64: allwinner: a64: enable USB host controller for BPi M64
Message-ID<u5sJX-5s5-9@gated-at.bofh.it>
Banana Pi M64 connects the USB host-only controller on A64 SoC to a USB
hub, which provided the two USB Type-A ports on the board.

Enable the USB host controller.

The OTG function of the Micro-USB port needs the drivevbus function of
the AXP803 driver implemented, so it's not enabled now.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
index 0d1f026d831a..829922d077fb 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
@@ -67,6 +67,10 @@
 	};
 };
 
+&ehci1 {
+	status = "okay";
+};
+
 &emac {
 	pinctrl-names = "default";
 	pinctrl-0 = <&rgmii_pins>;
@@ -122,6 +126,10 @@
 	status = "okay";
 };
 
+&ohci1 {
+	status = "okay";
+};
+
 &uart0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart0_pins_a>;
@@ -133,3 +141,7 @@
 	pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
 	status = "okay";
 };
+
+&usbphy {
+	status = "okay";
+};
-- 
2.13.0

[toc] | [next] | [standalone]


#1693451 — Re: [linux-sunxi] [PATCH 1/3] arm64: allwinner: a64: enable USB host controller for BPi M64

FromChen-Yu Tsai <wens@csie.org>
Date2017-07-21 09:40 +0200
SubjectRe: [linux-sunxi] [PATCH 1/3] arm64: allwinner: a64: enable USB host controller for BPi M64
Message-ID<u5AHv-1QX-13@gated-at.bofh.it>
In reply to#1693287
On Fri, Jul 21, 2017 at 7:07 AM, Icenowy Zheng <icenowy@aosc.io> wrote:
> Banana Pi M64 connects the USB host-only controller on A64 SoC to a USB
> hub, which provided the two USB Type-A ports on the board.
>
> Enable the USB host controller.
>
> The OTG function of the Micro-USB port needs the drivevbus function of
> the AXP803 driver implemented, so it's not enabled now.
>
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

Reviewed-by: Chen-Yu Tsai <wens@csie.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web