From: qianfan <qianfanguijin@163.com> To: Icenowy Zheng <icenowy@aosc.io>, linux-sunxi@lists.linux.dev Cc: Andre Przywara <andre.przywara@arm.com>, Evgeny Boger <boger@wirenboard.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/2] ARM: sun8i-r40: Enable usb otg support Date: Tue, 24 May 2022 17:15:40 +0800 [thread overview] Message-ID: <12833b83-59a9-a808-4d62-60658df8d628@163.com> (raw) In-Reply-To: <a50307f826e8e5f4218bd2bfde23add8a26af0dc.camel@aosc.io> 在 2022/5/23 21:11, Icenowy Zheng 写道: > 在 2022-05-18星期三的 18:17 +0800,qianfanguijin@163.com写道: >> From: qianfan Zhao <qianfanguijin@163.com> >> >> History: >> ======= >> >> v4(2022-05-18): >> - Enable both musb and OHCI/EHCI support >> >> Tests: >> ====== >> >> All test cases were tested on bananapi-m2-ultra. >> >> 1. USB DEVICE(ping test) >> >> Enable usb gadget rndis network, ping m2u on ubuntu host: > Interestingly musb previous totally fail when I initially work on R40. > Maybe some phy-sun4i-usb patches fixed it by accident? Hi, could you please try this patch again? > >> ➜ ~ ping 192.168.200.2 >> PING 192.168.200.2 (192.168.200.2) 56(84) bytes of data. >> 64 bytes from 192.168.200.2: icmp_seq=1 ttl=64 time=0.544 ms >> 64 bytes from 192.168.200.2: icmp_seq=2 ttl=64 time=0.269 ms >> 64 bytes from 192.168.200.2: icmp_seq=3 ttl=64 time=0.300 ms >> 64 bytes from 192.168.200.2: icmp_seq=4 ttl=64 time=0.295 ms >> 64 bytes from 192.168.200.2: icmp_seq=5 ttl=64 time=0.283 ms >> 64 bytes from 192.168.200.2: icmp_seq=6 ttl=64 time=0.226 ms >> 64 bytes from 192.168.200.2: icmp_seq=7 ttl=64 time=0.246 ms >> 64 bytes from 192.168.200.2: icmp_seq=8 ttl=64 time=0.204 ms >> 64 bytes from 192.168.200.2: icmp_seq=9 ttl=64 time=0.302 ms >> 64 bytes from 192.168.200.2: icmp_seq=10 ttl=64 time=0.249 ms >> 64 bytes from 192.168.200.2: icmp_seq=11 ttl=64 time=0.459 ms >> 64 bytes from 192.168.200.2: icmp_seq=12 ttl=64 time=0.232 ms >> 64 bytes from 192.168.200.2: icmp_seq=13 ttl=64 time=0.275 ms >> 64 bytes from 192.168.200.2: icmp_seq=14 ttl=64 time=0.243 ms >> >> 2. USB HOST(OHCI) >> >> Connect an usb serial port on OTG port, nex t is the kernel log: >> >> [ 27.824137] usb 2-1: new full-speed USB device number 2 using >> ohci-platform >> [ 28.865504] cdc_acm 2-1:1.0: ttyACM0: USB ACM device >> [ 29.565509] cdc_acm 2-1:1.2: ttyACM1: USB ACM device >> >> 3. USB HOST(EHCI) >> >> Connect an usb storage on OTG port, next is the kernel log: >> >> [ 17.754147] usb 1-1: new high-speed USB device number 2 using >> ehci-platform >> [ 17.955995] usb-storage 1-1:1.0: USB Mass Storage device detected >> [ 18.024497] scsi host1: usb-storage 1-1:1.0 >> [ 19.035091] scsi 1:0:0:0: Direct-Access General USB Flash >> Disk 1.0 PQ: 0 ANSI: 2 >> [ 19.049717] sd 1:0:0:0: [sda] 7831552 512-byte logical blocks: >> (4.01 GB/3.73 GiB) >> [ 19.060873] sd 1:0:0:0: [sda] Write Protect is off >> [ 19.071018] sd 1:0:0:0: [sda] No Caching mode page found >> [ 19.076437] sd 1:0:0:0: [sda] Assuming drive cache: write through >> [ 19.093566] sda: sda1 >> [ 19.103492] sd 1:0:0:0: [sda] Attached SCSI removable disk >> >> issues: >> ======= >> >> The system power often turned off when I plugged an usb device into >> the OTG port. >> It's not clear why. >> >> qianfan Zhao (2): >> ARM: dts: sun8i-r40: Add USB0_OTG/HOST support >> ARM: dts: bananapi-m2-ultra: Enable USB0_OTG and HOST support >> >> .../boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 39 >> +++++++++++++++++++ >> arch/arm/boot/dts/sun8i-r40.dtsi | 34 ++++++++++++++++ >> 2 files changed, 73 insertions(+) >>
WARNING: multiple messages have this Message-ID (diff)
From: qianfan <qianfanguijin@163.com> To: Icenowy Zheng <icenowy@aosc.io>, linux-sunxi@lists.linux.dev Cc: Andre Przywara <andre.przywara@arm.com>, Evgeny Boger <boger@wirenboard.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/2] ARM: sun8i-r40: Enable usb otg support Date: Tue, 24 May 2022 17:15:40 +0800 [thread overview] Message-ID: <12833b83-59a9-a808-4d62-60658df8d628@163.com> (raw) In-Reply-To: <a50307f826e8e5f4218bd2bfde23add8a26af0dc.camel@aosc.io> 在 2022/5/23 21:11, Icenowy Zheng 写道: > 在 2022-05-18星期三的 18:17 +0800,qianfanguijin@163.com写道: >> From: qianfan Zhao <qianfanguijin@163.com> >> >> History: >> ======= >> >> v4(2022-05-18): >> - Enable both musb and OHCI/EHCI support >> >> Tests: >> ====== >> >> All test cases were tested on bananapi-m2-ultra. >> >> 1. USB DEVICE(ping test) >> >> Enable usb gadget rndis network, ping m2u on ubuntu host: > Interestingly musb previous totally fail when I initially work on R40. > Maybe some phy-sun4i-usb patches fixed it by accident? Hi, could you please try this patch again? > >> ➜ ~ ping 192.168.200.2 >> PING 192.168.200.2 (192.168.200.2) 56(84) bytes of data. >> 64 bytes from 192.168.200.2: icmp_seq=1 ttl=64 time=0.544 ms >> 64 bytes from 192.168.200.2: icmp_seq=2 ttl=64 time=0.269 ms >> 64 bytes from 192.168.200.2: icmp_seq=3 ttl=64 time=0.300 ms >> 64 bytes from 192.168.200.2: icmp_seq=4 ttl=64 time=0.295 ms >> 64 bytes from 192.168.200.2: icmp_seq=5 ttl=64 time=0.283 ms >> 64 bytes from 192.168.200.2: icmp_seq=6 ttl=64 time=0.226 ms >> 64 bytes from 192.168.200.2: icmp_seq=7 ttl=64 time=0.246 ms >> 64 bytes from 192.168.200.2: icmp_seq=8 ttl=64 time=0.204 ms >> 64 bytes from 192.168.200.2: icmp_seq=9 ttl=64 time=0.302 ms >> 64 bytes from 192.168.200.2: icmp_seq=10 ttl=64 time=0.249 ms >> 64 bytes from 192.168.200.2: icmp_seq=11 ttl=64 time=0.459 ms >> 64 bytes from 192.168.200.2: icmp_seq=12 ttl=64 time=0.232 ms >> 64 bytes from 192.168.200.2: icmp_seq=13 ttl=64 time=0.275 ms >> 64 bytes from 192.168.200.2: icmp_seq=14 ttl=64 time=0.243 ms >> >> 2. USB HOST(OHCI) >> >> Connect an usb serial port on OTG port, nex t is the kernel log: >> >> [ 27.824137] usb 2-1: new full-speed USB device number 2 using >> ohci-platform >> [ 28.865504] cdc_acm 2-1:1.0: ttyACM0: USB ACM device >> [ 29.565509] cdc_acm 2-1:1.2: ttyACM1: USB ACM device >> >> 3. USB HOST(EHCI) >> >> Connect an usb storage on OTG port, next is the kernel log: >> >> [ 17.754147] usb 1-1: new high-speed USB device number 2 using >> ehci-platform >> [ 17.955995] usb-storage 1-1:1.0: USB Mass Storage device detected >> [ 18.024497] scsi host1: usb-storage 1-1:1.0 >> [ 19.035091] scsi 1:0:0:0: Direct-Access General USB Flash >> Disk 1.0 PQ: 0 ANSI: 2 >> [ 19.049717] sd 1:0:0:0: [sda] 7831552 512-byte logical blocks: >> (4.01 GB/3.73 GiB) >> [ 19.060873] sd 1:0:0:0: [sda] Write Protect is off >> [ 19.071018] sd 1:0:0:0: [sda] No Caching mode page found >> [ 19.076437] sd 1:0:0:0: [sda] Assuming drive cache: write through >> [ 19.093566] sda: sda1 >> [ 19.103492] sd 1:0:0:0: [sda] Attached SCSI removable disk >> >> issues: >> ======= >> >> The system power often turned off when I plugged an usb device into >> the OTG port. >> It's not clear why. >> >> qianfan Zhao (2): >> ARM: dts: sun8i-r40: Add USB0_OTG/HOST support >> ARM: dts: bananapi-m2-ultra: Enable USB0_OTG and HOST support >> >> .../boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 39 >> +++++++++++++++++++ >> arch/arm/boot/dts/sun8i-r40.dtsi | 34 ++++++++++++++++ >> 2 files changed, 73 insertions(+) >> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-05-24 9:16 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-05-18 10:17 [PATCH v4 0/2] ARM: sun8i-r40: Enable usb otg support qianfanguijin 2022-05-18 10:17 ` qianfanguijin 2022-05-18 10:17 ` [PATCH v4 1/2] ARM: dts: sun8i-r40: Add USB0_OTG/HOST support qianfanguijin 2022-05-18 10:17 ` qianfanguijin 2022-07-05 1:55 ` Samuel Holland 2022-07-05 1:55 ` Samuel Holland 2022-05-18 10:17 ` [PATCH v4 2/2] ARM: dts: bananapi-m2-ultra: Enable USB0_OTG and HOST support qianfanguijin 2022-05-18 10:17 ` qianfanguijin 2022-07-05 2:38 ` Samuel Holland 2022-07-05 2:38 ` Samuel Holland 2022-05-19 10:04 ` [PATCH v4 0/2] ARM: sun8i-r40: Enable usb otg support qianfan 2022-05-19 10:04 ` qianfan 2022-05-19 20:54 ` Evgeny Boger 2022-05-19 20:54 ` Evgeny Boger 2022-05-21 4:26 ` qianfan 2022-05-21 4:26 ` qianfan 2022-05-21 11:10 ` Evgeny Boger 2022-05-21 11:10 ` Evgeny Boger 2022-07-05 4:05 ` Samuel Holland 2022-07-05 4:05 ` Samuel Holland 2022-05-23 13:10 ` Icenowy Zheng 2022-05-23 13:10 ` Icenowy Zheng 2022-05-23 13:11 ` Icenowy Zheng 2022-05-23 13:11 ` Icenowy Zheng 2022-05-24 9:15 ` qianfan [this message] 2022-05-24 9:15 ` qianfan 2022-07-05 4:15 ` Samuel Holland 2022-07-05 4:15 ` Samuel Holland
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=12833b83-59a9-a808-4d62-60658df8d628@163.com \ --to=qianfanguijin@163.com \ --cc=andre.przywara@arm.com \ --cc=boger@wirenboard.com \ --cc=devicetree@vger.kernel.org \ --cc=icenowy@aosc.io \ --cc=jernej.skrabec@gmail.com \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-sunxi@lists.linux.dev \ --cc=robh+dt@kernel.org \ --cc=samuel@sholland.org \ --cc=wens@csie.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.