ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
ungeskriptet has quit [Ping timeout: 480 seconds]
ungeskriptet has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
juanesf91 has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
ungeskriptet has quit [Ping timeout: 480 seconds]
ungeskriptet has joined #linux-sunxi
ungeskriptet has quit [Ping timeout: 480 seconds]
ungeskriptet has joined #linux-sunxi
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
ungeskriptet has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
ungeskriptet has joined #linux-sunxi
dfas has quit [Ping timeout: 480 seconds]
ungeskriptet has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
apritzel has quit [Ping timeout: 480 seconds]
szemzoa has joined #linux-sunxi
juanesf91 has quit [Quit: Connection closed for inactivity]
warpme has joined #linux-sunxi
Sensu_Be1 has joined #linux-sunxi
Sensu_Be2 has joined #linux-sunxi
Sensu_Be1 has quit [Read error: Connection reset by peer]
Sensu_Bean has quit [Ping timeout: 480 seconds]
gsz has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
chewitt has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
digetx has quit [Remote host closed the connection]
digetx has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
radxanaoki has joined #linux-sunxi
kata has quit [Ping timeout: 480 seconds]
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #linux-sunxi
radxanaoki has quit []
junari has joined #linux-sunxi
digetx has quit [Remote host closed the connection]
loki666 has quit [Ping timeout: 480 seconds]
digetx has joined #linux-sunxi
digetx has joined #linux-sunxi
gsz has joined #linux-sunxi
digetx has quit [Remote host closed the connection]
digetx has joined #linux-sunxi
<junari> apritzel: do you know what RST_BUS_3 refers to?
<junari> usb2 phy, usb3 phy or dwc3?
<junari> usb2 phy is compatible with phy-sun4i-usb, but it doesn't say where the reset for it
<junari> For usb3 to work the only missing part is combophy, which is easily transferred from bsp, dwc3 and usb2-phy are fully compatible
loki666 has joined #linux-sunxi
<apritzel> junari: do you mean for the associated USB2 PHY in the DWC USB3 controller, on the A523?
<apritzel> yeah, the "only missing part" ;-)
<junari> yes
<junari> it works in the mainline, which is good
<apritzel> and no, I don't know what RST_BUS_3 really refers to, I took this name from the BSP, I think
<apritzel> but my money was indeed on either USB3 PHY or DWC
<apritzel> I just verified that the bit exists
<apritzel> and I was wondering if there would be actually a separate USB2 PHY for that port, or if that would be integrated into the USB3 PHY
ungeskriptet has joined #linux-sunxi
kata has joined #linux-sunxi
kata has quit [Quit: ZNC 1.10.1 - https://znc.in]
kata has joined #linux-sunxi
kasesag has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
evgeny_boger has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #linux-sunxi
<junari> I moved this reset to usb2-phy for now, since usb3-phy has its own reset, and for DWC usb3 this option is optional
<junari> Do you know if there is any way to run dwc usb3 controller without usb3 phy only with usb2 phy?
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
wingrime1 has quit [Read error: Connection reset by peer]
Sensu_Bean has joined #linux-sunxi
kasesag has joined #linux-sunxi
kasesag has quit []
kasesag has joined #linux-sunxi
Sensu_Be2 has quit [Ping timeout: 480 seconds]
kasesag has quit []
gsz has quit [Ping timeout: 480 seconds]
<apritzel> do you mean for USB 2.0 operation only?
<junari> yes
<apritzel> I have no clue, but was thinking about this already, for the Radxa board, where we then could use the USB port at least in USB 2.0 setup, alongside the M.2 slot
<apritzel> but I think the D-/D+ pins are port of the muxing ...
Sensu_Be1 has joined #linux-sunxi
Sensu_Bean has quit [Read error: Connection reset by peer]
BroderTuck has joined #linux-sunxi
Sensu_Bean has joined #linux-sunxi
Sensu_Be1 has quit [Read error: Connection reset by peer]
Sensu_Bean has quit [Read error: Connection reset by peer]
Sensu_Bean has joined #linux-sunxi
<BroderTuck> apritzel: in your v2 uboot series, you've been inconsistent in how you describe the wifi for the boards. Nothing major since the aic8800 driver isn't (properly) mainlined anyway, just something that could be improved for a v3.
<apritzel> BroderTuck: what do you mean with WiFi in U-Boot? If you refer to the DTs, that's a verbatim 1:1 cherry-pick of the Linux DTs. Any complaints / patches should go to the Linux lists
<BroderTuck> junari: seems you are closer to having the usb3 code in a shape ready for upstreaming, looking forward to it. Maybe work together with juanesf93 who works on the pcie side of the equation
<BroderTuck> apritzel: Mostly just the description portion of the patches
<apritzel> BroderTuck: what do you mean exactly? The commit messages for the DT patches? Those are done and dusted, in the Linux kernel repository
<BroderTuck> yes, the "this board/box features:" text, but it's no biggie
Daanct12 has quit [Quit: WeeChat 4.6.3]
mripard has joined #linux-sunxi
<BroderTuck> I believe it should be possible to use the pcie in conjuntion with the usb2 part of the usb3 controller
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
swiftgeek has quit [Ping timeout: 480 seconds]
<apritzel> BroderTuck: what makes you say so?
<BroderTuck> 1: the datasheet/manual doesn't seem to show the USB2_DM/P pins as being muxable, and the bsp combophy code from the avaota repository talks about a PHY_USE_BY_PCIE_USB3_U2 mode
digetx has quit [Remote host closed the connection]
kata has quit [Read error: Connection reset by peer]
kata has joined #linux-sunxi
digetx has joined #linux-sunxi
swiftgeek has joined #linux-sunxi
<apritzel> well, AFAICT the USB 2.0 part of the operation is covered by the DWC3 USB3.0 controller (there is apparently no separate EHCI/OHCI pair), so we need to figure out how to limit that to USB 2.0
<apritzel> (or does that happen automatically, since it can't negotiate with any peer on the disconnected USB3.0 wires?)
<BroderTuck> I'd guess "automatically", since the port in that cse should just have the usb2 wires
<BroderTuck> *case
<apritzel> junari: BroderTuck: do you know where that second USB2.0 PHY is? Is it integrated into the existing USB2.0 PHY, so does that actually have three ports instead of the two we assume?
dsimic is now known as Guest22448
dsimic has joined #linux-sunxi
<junari> yes
Guest22448 has quit [Ping timeout: 480 seconds]
<junari> it's part of usbphy: phy@4100400
<apritzel> junari: are you sure? I just found "0xC200 Global USB2 PHY Configuration Register" in the USB3 DRD register description, so is the USB2.0 integrated there?
<BroderTuck> the USB3.1 DRD section of the a527 datasheet says "One USB 2.0 UTMI+ PHY (USB2) \n One USB3.1 PIPE PHY (USB3)"
<apritzel> yes, and the BSP DT and the manual seem to hint at some extra PHY integrated into the DWC IP: @0x4e00000
<junari> no, but I added it in there and it works
wingrime-ww has joined #linux-sunxi
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #linux-sunxi
kata_ has joined #linux-sunxi
kata has quit [Read error: Connection reset by peer]
<apritzel> dlan: do I get this right that the Radxa A5E board connects the two USB1 DP/DM pins to the USB type C connector, next to the USB3.0 SuperSpeed pins? So the USB 2.0 part would be handled by the USB1 EHCI/OCHI controller?
Sensu_Be1 has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
Sensu_Bean has quit [Ping timeout: 480 seconds]
hentai has quit [Read error: Connection reset by peer]
hentai has joined #linux-sunxi
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #linux-sunxi
Sensu_Bean has joined #linux-sunxi
Sensu_Be1 has quit [Read error: Connection reset by peer]
vagrantc has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
<apritzel> libv: looks like the wiki is not feeling alright? I got
<dlan> apritzel: are you talking about the USB type A port (not type C)? the "USB2" in the schematics
<dlan> and I think it's a 'Yes'
<apritzel> libv: ... either gateway timeouts or VERY slow connections (to the main page)
<apritzel> dlan: ah, yeah, sorry, I was just looking at the schematics
<dlan> the type C is "J2" in schematics, next to ethernet port
<apritzel> dlan: I wonder how this works? are the D-/D+ and the two SuperSpeed wire pairs really completely independent?
<dlan> did you check the schematics? page 7
<dlan> the D-/D+ is USB1-DM/DP
<dlan> while superspeed pin shared with PCIe
<dlan> so the GMA340 chip for mux purpose
<apritzel> yes, that's what I mean: the user manual suggests that USB2 D-/D+ are the USB2.0 pins associated with the USB3.0 controller
<apritzel> so using USB1 is at least ... unusual
<apritzel> because an XHCI compliant controller takes care about both USB 2.0 and USB 3.0 transfers
<apritzel> using USB1 means we can use it today already, since that's the pure and well-known USB 2.0 path. But I wonder how this flies once USB 3.0 comes into play here
<dlan> oh, I haven't checked user manual..
<apritzel> I was under the impression that both the HighSpeed and SuperSpeed pins in a USB 3.0 port must be controlled by the same controller - but I could be wrong
apritzel has quit [Ping timeout: 480 seconds]
kasesag has joined #linux-sunxi
<junari> У меня получилось примерно 300 строк кода, чтобы заставить USB3 работать
<junari> Oops, wrong chat
<jakllsch> WHQL (now) insists that the one XHCI controls both the USB 2 and USB 3 lines on one physical USB connector; but there was a time when even PC motherboards routed the USB2 and USB3 lines of one port to different HCIs
<jakllsch> (my M4A87TD/USB3 motherboard is one of those that routed them to seperate HCIs)
kasesag has quit []
kasesag has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
<junari> I will try to send patches for usb3 in the next few days. It turned out to be about 300 lines
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
junari has quit [Quit: Leaving]
gsz has joined #linux-sunxi
colinsane has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
apritzel has joined #linux-sunxi
<apritzel> jakllsch: ah, that's good info, thanks! So is there any kind of handover between USB2.0 and USB3.0? So that the controllers needs to work together at least on the software side? Or can they be completely independent?
wingrime-ww has quit [Read error: Connection reset by peer]
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
wingrime-ww has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.6, revision: 5.2.6+git-7614-6f23368f1, build type: debug, sources date: 20160102, built on: 2025-03-30 13:34:35 UTC 5.2.6+git-7614-]
<jakllsch> apritzel: my understanding is it's up to the device to decide which interface to use
<jakllsch> so the host controllers can be independent
gsz has quit [Ping timeout: 480 seconds]
<libv> apritzel: the wiki seems to have fixed itself?
gnarface has quit [Remote host closed the connection]
gnarface has joined #linux-sunxi
gnarface has quit [Remote host closed the connection]
<apritzel> libv: indeed, looks good again from here as well
hentai has quit [Ping timeout: 480 seconds]
gnarface has joined #linux-sunxi
BroderTuck has quit [Quit: Godnatt!]
<apritzel> ... or not, stalling again ...
ftg has joined #linux-sunxi
dfas has joined #linux-sunxi
barni2000[m] has quit [Ping timeout: 480 seconds]
cyrevolt has quit [Ping timeout: 480 seconds]
exkc has quit [Ping timeout: 480 seconds]
Soupborsh has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
kuba2k2 has quit [Ping timeout: 480 seconds]
Sensu_Be1 has joined #linux-sunxi
Sensu_Bean has quit [Ping timeout: 480 seconds]
digetx has quit [Remote host closed the connection]
digetx has joined #linux-sunxi