ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion
naoki has joined #linux-rockchip
naoki has quit [Client Quit]
Tenkawa has quit [Quit: Was I really ever here?]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 268 seconds]
kevery1 is now known as kevery
jaganteki has quit [Quit: Client closed]
<jakllsch> CounterPillow: sounds like it could be timings
<CounterPillow> Yeah, I played around with the timings of the panel driver and those made a difference, but it's weird because this panel driver *should* be the right one and I shouldn't have to mess with timings
<CounterPillow> also it took me a ridiculous horizontal front porch of 1610 pixels (on a 1024 pixel active area!) to get it to line up right
<jakllsch> weird
<jakllsch> sure the FB address is right?
<CounterPillow> in the video output driver you mean? Who knows. I'd expect a different kind of scuffedness if it's wrong though.
<jakllsch> true
<CounterPillow> like a stair stepping effect rather than the whole picture shifted
<jakllsch> i know next to nothing about DSI
<jakllsch> I have this notion to write a NetBSD driver for it though at some point, if i ever find hardware
<CounterPillow> I'm gonna try the same display on my rockpro64 next to see if it's a problem with the mipi output on rk3566 or a problem with the panel
naoki has joined #linux-rockchip
<macromorgan> CounterPillow: The PLL_VPLL clock needs to be set at something extremely close and slightly above whatever your panel's pixel clock is. Otherwise, you get the weirdness you described.
<macromorgan> if you don't provide a clock speed for it then it ends up at 24MHz I think
<CounterPillow> ! thanks
<CounterPillow> time to figure out what my panel's pixel clock is
<macromorgan> presumably if you can find the right divisors and whatnot you can add a new rate if you need it, I guess that's a question for mmind00 though.
<macromorgan> to clarify I mean extremely close to either the value or a divisible value of the pixel clock. For the RG503 which uses a different panel I set the PLL_VPLL at a straight 500MHz. That value gets me very very close to the correct pixel clock for both 50hz and 60hz modes of the panel in question though, which is good enough
<macromorgan> but the OLED panel I have doesn't run anywhere near 500MHz obviously...
<CounterPillow> Ah, thanks
<macromorgan> A dirty trick you can try is to roll back this change, then see what your parent clock is, then use that for your PLL_VPLL clock going forward: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/clk/rockchip/clk-rk3568.c?h=v6.3-rc4&id=ff3187eabb5ce478d15b6ed62eb286756adefac3
<CounterPillow> my pixel clock is 55000kHz so I should be able to use the 110lotsof0here PLL_VPLL rate
<macromorgan> yeah, give that a try and see what happens
<macromorgan> yeah, I struggled with this quite a bit about 6-9 months ago... lol
<macromorgan> ohh, actually I remember reading a comment somewhere, forget if it was in the register descriptions or the BSP kernel but it said something about not using PLL rates above 500Mhz
<macromorgan> so maybe see if you can find a lower rate that works, though if 110+a bunch of zeroes does the trick go for it I guess
<macromorgan> want to say the restriction was for the VPLL and maybe the NPLL?
<macromorgan> mind is a blur
<macromorgan> so try it, but remember I think I saw something that said don't
<CounterPillow> wat
<CounterPillow> >[ 0.000000] clk: couldn't set vpll clk rate to 14 (-22), current rate: 24000000
<CounterPillow> oh
stikonas has quit [Remote host closed the connection]
<CounterPillow> I'm a dummy
<CounterPillow> had a &cru before the rate :D
<CounterPillow> Yep this worked perfectly, thank you very much
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 276 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 268 seconds]
kevery1 is now known as kevery
vagrantc has quit [Quit: leaving]
lurchi__ has joined #linux-rockchip
lurchi_ has quit [Ping timeout: 264 seconds]
jaganteki has joined #linux-rockchip
camus has quit [Remote host closed the connection]
camus has joined #linux-rockchip
<montjoie> Kwiboo: thanks
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 255 seconds]
kevery1 is now known as kevery
digetx has quit [Remote host closed the connection]
digetx has joined #linux-rockchip
digetx has quit [Ping timeout: 252 seconds]
digetx has joined #linux-rockchip
sre5 has joined #linux-rockchip
Perflosopher9 has joined #linux-rockchip
Perflosopher has quit [*.net *.split]
sre has quit [*.net *.split]
Whistler has quit [*.net *.split]
phh has quit [*.net *.split]
lorenzb has quit [*.net *.split]
Perflosopher9 is now known as Perflosopher
sre5 is now known as sre
Whistler has joined #linux-rockchip
phh has joined #linux-rockchip
amstan has quit [Ping timeout: 246 seconds]
shoragan[m] has quit [Ping timeout: 246 seconds]
vulpes2[m] has quit [Ping timeout: 264 seconds]
psydroid has quit [Ping timeout: 260 seconds]
LinuxHackerman has quit [Ping timeout: 260 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 268 seconds]
kevery1 is now known as kevery
hanetzer has quit [Ping timeout: 268 seconds]
hanetzer has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 265 seconds]
kevery1 is now known as kevery
amstan has joined #linux-rockchip
amstan has quit [Quit: Bridge terminating on SIGTERM]
amstan has joined #linux-rockchip
kevery has quit [Ping timeout: 248 seconds]
kevery has joined #linux-rockchip
vulpes2[m] has joined #linux-rockchip
psydroid has joined #linux-rockchip
shoragan[m] has joined #linux-rockchip
LinuxHackerman has joined #linux-rockchip
LinuxHackerman has quit [Ping timeout: 240 seconds]
shoragan[m] has quit [Ping timeout: 246 seconds]
vulpes2[m] has quit [Ping timeout: 246 seconds]
psydroid has quit [Ping timeout: 246 seconds]
amstan has quit [Ping timeout: 256 seconds]
LinuxHackerman has joined #linux-rockchip
kevery has quit [Ping timeout: 265 seconds]
lorenzb has joined #linux-rockchip
shoragan[m] has joined #linux-rockchip
vulpes2[m] has joined #linux-rockchip
psydroid has joined #linux-rockchip
amstan has joined #linux-rockchip
Tenkawa has joined #linux-rockchip
hanetzer has quit [Ping timeout: 260 seconds]
hanetzer has joined #linux-rockchip
hanetzer has quit [Ping timeout: 265 seconds]
hanetzer has joined #linux-rockchip
vagrantc has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
wiagn has joined #linux-rockchip
Stat_headcrabed has quit [Ping timeout: 265 seconds]
wiagn is now known as Stat_headcrabed
rockworld has quit [Ping timeout: 276 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Daanct12 has joined #linux-rockchip
rockworld has joined #linux-rockchip
jelly has quit [Excess Flood]
Danct12 has quit [Ping timeout: 276 seconds]
Stat_headcrabed has joined #linux-rockchip
Stat_headcrabed has quit [Client Quit]
superherointj has joined #linux-rockchip
jelly has joined #linux-rockchip
Daaanct12 has joined #linux-rockchip
Daanct12 has quit [Ping timeout: 248 seconds]
Kwiboo has quit [Quit: .]
Kwiboo has joined #linux-rockchip
Daaanct12 is now known as Danct12
Tenkawa has quit [Quit: Was I really ever here?]
stikonas has joined #linux-rockchip
Tenkawa has joined #linux-rockchip
superherointj has quit [Quit: Leaving]
Daanct12 has joined #linux-rockchip
Danct12 has quit [Ping timeout: 250 seconds]
lurchi__ has quit [Quit: Konversation terminated!]
Daaanct12 has joined #linux-rockchip
lurchi__ has joined #linux-rockchip
Daanct12 has quit [Ping timeout: 265 seconds]
jaganteki has quit [Ping timeout: 260 seconds]
<macromorgan> is there a datasheet floating around for the rk860x regulators?
Daanct12 has joined #linux-rockchip
Daaanct12 has quit [Read error: Connection reset by peer]
Daaanct12 has joined #linux-rockchip
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-rockchip
Daaanct12 has quit [Ping timeout: 250 seconds]
ldevulder has quit [Quit: Leaving]
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #linux-rockchip
macromorgan has quit [Read error: Connection reset by peer]