ARM: dts: meson: add the gadget mode properties to the USB0 controller
diff mbox series

Message ID 20200504195105.2909711-1-martin.blumenstingl@googlemail.com
State Mainlined
Commit 9530dcf1082da23438ee557291c07d475128f63a
Headers show
Series
  • ARM: dts: meson: add the gadget mode properties to the USB0 controller
Related show

Commit Message

Martin Blumenstingl May 4, 2020, 7:51 p.m. UTC
Testing with a USB RNDIS connection and iperf3 gives the following
results:
- From the host computer to the device at ~250Mbit/s
- From the device to the host computer at ~76Mbit/s

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 arch/arm/boot/dts/meson.dtsi | 3 +++
 1 file changed, 3 insertions(+)

Comments

Kevin Hilman May 19, 2020, 11:11 p.m. UTC | #1
On Mon, 4 May 2020 21:51:05 +0200, Martin Blumenstingl wrote:
> Testing with a USB RNDIS connection and iperf3 gives the following
> results:
> - From the host computer to the device at ~250Mbit/s
> - From the device to the host computer at ~76Mbit/s

Applied, thanks!

[1/1] ARM: dts: meson: add the gadget mode properties to the USB0 controller
      commit: 9530dcf1082da23438ee557291c07d475128f63a

Best regards,
patchwork-bot+linux-amlogic@kernel.org May 20, 2020, 12:01 a.m. UTC | #2
Hello:

This patch was applied to khilman/linux-amlogic.git (refs/heads/for-next).

On Mon,  4 May 2020 21:51:05 +0200 you wrote:
> Testing with a USB RNDIS connection and iperf3 gives the following
> results:
> - From the host computer to the device at ~250Mbit/s
> - From the device to the host computer at ~76Mbit/s
> 
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> 
> [...]


Here is a summary with links:
  - ARM: dts: meson: add the gadget mode properties to the USB0 controller
    https://git.kernel.org/khilman/linux-amlogic/c/9530dcf1082da23438ee557291c07d475128f63a

You are awesome, thank you!

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi
index 5d198309058a..ae89deaa8c9c 100644
--- a/arch/arm/boot/dts/meson.dtsi
+++ b/arch/arm/boot/dts/meson.dtsi
@@ -229,6 +229,9 @@  usb0: usb@c9040000 {
 			interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
 			phys = <&usb0_phy>;
 			phy-names = "usb2-phy";
+			g-rx-fifo-size = <512>;
+			g-np-tx-fifo-size = <500>;
+			g-tx-fifo-size = <256 192 128 128 128>;
 			dr_mode = "host";
 			status = "disabled";
 		};