System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
naoki has quit [Ping timeout: 264 seconds]
krei-se- has quit [Ping timeout: 264 seconds]
krei-se has joined #linux-rockchip
naoki has joined #linux-rockchip
<naoki>
otg port should not be host mode for ums and rockusb?
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
<naoki>
Kwiboo: how do you think disabling non-working xhci as a workaround
<naoki>
it's not good idea... :(
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
<naoki>
oh, about ROCK 5B, lower USB3 port is driven by TYPEC1 controller, but it works as HOST mode only (I don't know why). since board rev. v1.46, lower USB3 port can be used as OTG/PERIPHERAL mode.
<naoki>
but I think it's better to use same dts, i.e. lower USB3 port is HOST. Type-C (power) port is OTG port both old/new revision
<naoki>
^this is no relation to "USB host port(USB30_2) is not working on ROCK 5A/5B" issue
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Livio has quit [Ping timeout: 255 seconds]
<qschulz>
naoki: you could also patch the device tree if you can detect the board revision from HW and force it to host mode for old versions?
<Kwiboo>
naoki: thanks, I will take a look and will try to send a new version of ROCK 3B series this weekend, if the board can work in dual role I think it should be marked as such, linux should have working dual-role if I am not mistaken
<Kwiboo>
and for u-boot such port will work in peripheral mode and can then be used for ums and rockusb
System_Error has quit [Remote host closed the connection]
<Kwiboo>
one thing I am not sure how to best handle is an issue on rk3399, where hdmi port typically gets paired with vopl and kernel kms client is not smart enough to try next crtc, result in no display for console
<Kwiboo>
another way could be to have board DTs /delete-node/ the vopl <-> hdmi endpoints defined in soc dtsi, for libreelec we just removed the vopl <-> hdmi connection entirely at soc dtsi
<mmind00>
Kwiboo: though dt is not a config space ;-)
<CounterPillow>
yeah which crtc kms console uses seems more like something people would want to put in their kernel command line?
<mmind00>
also more generally, matching connections between hdmi <-> crtc to reach best utilization is a task for the drm subsystem, not some dt hacks
<naoki>
there is an alias thing for ordering in dt...
<mmind00>
also for rk3399 there is even more so the PLL issue for hdmi frequencies ... ChromeOS hacked up the clock tree so reserve one PLL for this, because while hdmi needs special frequencies, rk3399 doesn't have a dedicated PLL for this
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 264 seconds]
kevery1 is now known as kevery
<CounterPillow>
I feel like I keep hearing of clock tree related hacks for rockchip things a lot, e.g. for rk356x we had to do some PLL shenanigans for DSI displays and video in general needing one clock set to critical. Is the upstream Linux clock framework just too primitive to model these complex sort of requirements?
<CounterPillow>
(I sometimes wish there was a community-run project board to track reoccurring issues like this)
raster has joined #linux-rockchip
mripard has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Spirit532 has quit [Killed (NickServ (GHOST command used by Spirit5327))]
Spirit532 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
<qschulz>
Kwiboo: a35 isn't impacted by the limitation fixed by ARMV8_SET_SMPEN, at least it's not amongst the ones that are listed in the kconfig option help text
<Kwiboo>
mmind00: for rk3399 pll issue there is still same behavior/limitation as exists, driver does best effort to limit and set ref pll also dclk rate is fixup, at least 4k@60hz seem to work with current clock tree
<Kwiboo>
for libreelec we also change / reserver vpll with a special pll rate table to get best use of hdmi on rk3399 (and rk3288)
<robmur01>
heh, hence my qualification of "sensible"
dsimic has quit [Ping timeout: 252 seconds]
Stat_headcrabed has joined #linux-rockchip
dsimic has joined #linux-rockchip
naoki has quit [Quit: naoki]
psydroid2 has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
matthias_bgg has joined #linux-rockchip
Helenah has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
mripard has quit [Quit: mripard]
franoosh has quit [Remote host closed the connection]
franoosh has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
franoosh has quit [Remote host closed the connection]
punit has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
<qschulz>
Kwiboo: FYI, I think we could use an event in U-Boot that gets triggered before and after setting the regulator voltage, and we catch the event in the io-domain driver to adapt it properly
<qschulz>
the benefit is that someone changing the regulator value after the io-domain is bound will work just fine now
<qschulz>
and it would match the Linux kernel driver closer than what we currently have :)
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
linkmauve has left #linux-rockchip [Mise à jour !]
linkmauve has joined #linux-rockchip
stikonas has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #linux-rockchip
Stat_headcrabed has quit [Client Quit]
Stat_headcrabed has joined #linux-rockchip
Stat_headcrabed has quit [Client Quit]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
eballetbo has quit [Quit: Connection closed for inactivity]
naoki has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
System_Error has quit [Remote host closed the connection]