ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
field^Mop has quit [Ping timeout: 256 seconds]
stikonas has joined #linux-rockchip
robmur01 has joined #linux-rockchip
robmur01 has quit [Ping timeout: 240 seconds]
tkv53 has joined #linux-rockchip
kevery has joined #linux-rockchip
robmur01 has joined #linux-rockchip
robmur01 has quit [Ping timeout: 264 seconds]
stikonas has quit [Ping timeout: 272 seconds]
kevery has quit [Ping timeout: 272 seconds]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
camus1 is now known as kaspter
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-rockchip
vstehle has quit [Ping timeout: 260 seconds]
chewitt has quit [Quit: Zzz..]
vstehle has joined #linux-rockchip
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 264 seconds]
chewitt has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
DuClare has quit [Ping timeout: 272 seconds]
chewitt has quit [Quit: Zzz..]
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-rockchip
DuClare has joined #linux-rockchip
chewitt has joined #linux-rockchip
ldevulder_ is now known as ldevulder
matthias_bgg has quit [Ping timeout: 256 seconds]
jlanda has quit [Quit: jlanda]
jlanda has joined #linux-rockchip
chewitt has quit [Quit: Adios!]
matthias_bgg has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
camus1 has joined #linux-rockchip
camus1 is now known as kaspter
ldevulder has quit [Quit: Leaving]
ldevulder has joined #linux-rockchip
kevery has joined #linux-rockchip
vicencb has joined #linux-rockchip
alpernebbi has joined #linux-rockchip
stikonas has joined #linux-rockchip
camus1 has joined #linux-rockchip
stikonas_ has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
camus1 is now known as kaspter
stikonas has quit [Ping timeout: 240 seconds]
<topi`> I understand there are some issues with the OTG controller in rk3288. Anything that gets connected to usb1 (dwc2) acts sometimes funny
<topi`> worst of all, I can't get a LTE modem to work in the internal usb slot (mini-pcie)
<topi`> does not even identify. Is there anything I can do? force the dwc2 to act as a Host permanently?
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-rockchip
stikonas_ has quit [Remote host closed the connection]
stikonas_ has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 240 seconds]
kevery1 is now known as kevery
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Read error: Connection reset by peer]
robmur01 has joined #linux-rockchip
robmur01 has quit [Ping timeout: 258 seconds]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 246 seconds]
camus1 is now known as kaspter
robmur01 has joined #linux-rockchip
<robmur01> topi`: yes, see the "dr_mode" DT property
<topi`> dr_mode is now "Host" if I look at /sys/firmware/devicetree
<topi`> usb@ff500000 usb@ff540000 usb@ff580000 usb@ff5c0000
<topi`> several nodes to choose from. The internal modem bay seems to be at 54000000
<topi`> Why 4? I thought there are only 2 usb controllers on the rk3288. The host one and the dwc2
<robmur01> the upstream DTSI shows at least 5 - two DWC2s, the EHCI/OHCI pair, plus an additional EHCI (likely intended for some mildly-specialised purpose)
<robmur01> yup, datasheet says two hosts, one OTG and one USIC, whatever that is
stikonas_ is now known as stikonas
<Net147> vicencb: Did you ever try 1280x800 on RK3399? I haven’t been able to get it to work even after applying your latest patch set.
<topi`> usb 1-1.2: new high-speed USB device number 7 using dwc2
<topi`> it seems things like USB sticks work just fine with dwc2
<topi`> robmur01: if I understand correctly, dwc2 is just one kind of USB2.0 controller silicon. The other usb (host) is not dw (DesignWare) then?
<topi`> anything I connect to it, just works.
<robmur01> well, technically it might be - Synopsys do license boring "standard" EHCI/OHCI IP as well as their fancy DWC controllers
<robmur01> note that you have one dual-role DWC2 and one host-only DWC2, which in most board designs are likely to be used for "general-purpose" USB ports
<topi`> dwc2 ff540000.usb: dwc2_hc_chhltd_intr_dma: Channel 15 - ChHltd set, but reason is unknown
<topi`> this is likely the cause of my problems with this port
<topi`> or maybe a symptom
<robmur01> in the reference design the EHCI port tends to be for stuff like soldered-down wifi modules
<topi`> yeah, the dual-role DWC2 also supplies the OTG port (micro-usb) on the back of the deice
<topi`> this device has a M.2 slot for a usb-based wifi, and a miniPCIe slot for LTE module
<topi`> I wish I had the schematics, to be able to peek at which lead goes where
<robmur01> IIRC on my 3288 the OTG runs one of the type-A ports, the DWC2 host drives the other three via an on-board hub, and the EHCI is unused
<robmur01> are there any jumpers/switches/etc. on the board to physically mux the USB connection between slots? (i.e. does the board explicitly support using both at the same time or are they just giving you an either/or option of form factors) Sometimes board vendors do that when the number of host interfaces is relatively limited
<robmur01> otherwise, most weird USB behaviour I would be inclined to attribute to "phy stuff"
<robmur01> that's pretty much my level of expertise there ;)
<robmur01> beyond carefully checking regulator/io-domain setup and poking with a meter/scope to check that power is where power should be, of course
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
<vicencb> Net147: no, but i've tested 1280x720@50 and it works fine on my 2560x1440 monitor
<vicencb> in any case, my patch is for enabling resolutions beyond FHD, 1280x800 is less than FHD, so, if it works, it should also work without patches
<robmur01> vicencb: plenty of "small" resolutions also require odd pixel clocks that don't match those for the standard TV resolutions that upstream currently supports ;)
<vicencb> i thought that different resolutions had a minimum bandwidth required and not an exact bandwidth, so, any clock speed higher than that odd value should work. Isn't it this way?
<robmur01> maybe I should dig out the old 1680x1050 monitor where that (and its 1280x1024 mode) were also prominent offenders...
<vicencb> the patchset i've sent out is stalled because it breaks other SoCs, it would be great if somebody with a variety of HW to test could move it forward
<robmur01> in terms of the phy configuration alone that's probably true, however I guess that relaxing the existing restrictions there exposes fragility elsewhere in the pipeline
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 272 seconds]
camus1 is now known as kaspter
<robmur01> yeah, if I can find time I'll try to see if https://patchwork.kernel.org/project/linux-rockchip/list/?series=362565 helps for RK3328
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
field^Mop has joined #linux-rockchip
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 264 seconds]
camus1 is now known as kaspter
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 272 seconds]
camus1 is now known as kaspter
ldevulder_ is now known as ldevulder
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
<Net147> robmur01: my HDMI monitor can handle a variety of resolutions that are not in its EDID because the scaler is quite flexible. I just override the EDID with another that has the resolutions I want to test by writing it to /sys/kernel/debug/dri/0/HDMI-A-1/edid_override and then use modetest from Mesa drm git to list and test the different modes supported by the EDID. Clear EDID override afterwards with echo -n reset > /sys/kernel/debug/dri/0/HDMI-A
<robmur01> Net147: ah, Mesa modetest sounds like exactly the tool I was thinking I'd have to go look for - thanks for the tip!
<robmur01> last time I tried testing specific modes I was just rebooting the kernel with different "video=..." arguments and seeing how well the console worked :)
kevery1 has joined #linux-rockchip
mrueg has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
kevery has quit [Remote host closed the connection]
kevery1 is now known as kevery
mrueg has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
JohnDoe_71Rus has joined #linux-rockchip
hipboi_ has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 240 seconds]
ldevulder_ is now known as ldevulder
kaspter has quit [Ping timeout: 272 seconds]
kaspter has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 272 seconds]
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-rockchip
mx08 has quit [Ping timeout: 244 seconds]
mx08 has joined #linux-rockchip
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #linux-rockchip
niceplace has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
vicencb has quit [Quit: Leaving.]
vicencb has joined #linux-rockchip
tkv53 has quit [Ping timeout: 260 seconds]
matthias_bgg has joined #linux-rockchip
tkv53 has joined #linux-rockchip
robmur01 has quit [Ping timeout: 246 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
matthias_bgg has quit [Ping timeout: 260 seconds]
robmur01 has joined #linux-rockchip
tkv53 has quit [Read error: Connection reset by peer]
j45 has quit [Read error: Connection reset by peer]
fncapkle has quit [Ping timeout: 258 seconds]
j45 has joined #linux-rockchip
robmur01 has quit [Ping timeout: 272 seconds]
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
damex has quit [Remote host closed the connection]
alpernebbi has quit [Quit: alpernebbi]
damex has joined #linux-rockchip
fncapkle has joined #linux-rockchip
tkv53 has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
camus1 has joined #linux-rockchip
kaspter has quit [Read error: Connection reset by peer]
camus1 is now known as kaspter
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 272 seconds]
camus1 is now known as kaspter
vicencb has quit [Quit: Leaving.]
mraynal has quit [Remote host closed the connection]
mraynal has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Read error: Connection reset by peer]
anarsoul has quit [Remote host closed the connection]
anarsoul has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
damex has quit [Ping timeout: 256 seconds]
kaspter has quit [Ping timeout: 256 seconds]
hramrach has quit [Ping timeout: 265 seconds]
j45 has quit [Remote host closed the connection]
kaspter has joined #linux-rockchip
leming has quit [Ping timeout: 258 seconds]
j45 has joined #linux-rockchip
leming has joined #linux-rockchip
hramrach has joined #linux-rockchip
field^Mop has quit [Ping timeout: 240 seconds]