ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion
specing has quit [Ping timeout: 250 seconds]
specing has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 244 seconds]
kevery1 is now known as kevery
lurchi_ is now known as lurchi__
stikonas has quit [Remote host closed the connection]
macromorgan_ has joined #linux-rockchip
macromorgan has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
Daanct12 has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 265 seconds]
hexdump0815 has joined #linux-rockchip
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-rockchip
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 250 seconds]
kevery1 is now known as kevery
Daanct12 has quit [Quit: Quitting]
Daanct12 has joined #linux-rockchip
specing_ has joined #linux-rockchip
specing has quit [Killed (NickServ (GHOST command used by specing_))]
hexdump0815 has quit [Ping timeout: 252 seconds]
specing_ is now known as specing
hexdump0815 has joined #linux-rockchip
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 268 seconds]
<mriesch> macromorgan: it's alive. got my first pixels out of my mipi display with your series
<mriesch> the content is shifted, though, in similar fashion as you experienced
<mriesch> could you give me a hint what is necessary to get the clocks right?
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
<mriesch> macromorgan: i set the the pll_vpll to 500 mhz and use it as parent of dclk_vop1, as described in your cover letter. content is still shifted, though :-/
Daaanct12 has joined #linux-rockchip
Daanct12 has quit [Ping timeout: 252 seconds]
Daaanct12 has quit [Read error: Connection reset by peer]
Daanct12 has joined #linux-rockchip
macromorgan has quit [Read error: Connection reset by peer]
Daaanct12 has joined #linux-rockchip
Daanct12 has quit [Ping timeout: 268 seconds]
kevery has quit [Ping timeout: 265 seconds]
kevery has joined #linux-rockchip
Daaanct12 has quit [Read error: Connection reset by peer]
ldevulder has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 252 seconds]
kevery1 is now known as kevery
camus1 has joined #linux-rockchip
camus has quit [Read error: Connection reset by peer]
camus1 is now known as camus
Daanct12 has joined #linux-rockchip
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
<mmind00> mriesch: I think the pll rate is somewhat specific to your display ... i.e. first step would be to check what frequency the dsi wants and what it gets in comparison (debugfs/clk/clk_summary and grep for the dclk)
kevery1 has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 265 seconds]
kevery has quit [Ping timeout: 252 seconds]
kevery1 is now known as kevery
hexdump0815 has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 252 seconds]
stikonas has joined #linux-rockchip
hexdump0815 has joined #linux-rockchip
<hanetzer> yeh clocking is fun.
<mmind00> shared baseclocks even more :-D
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 268 seconds]
kevery1 is now known as kevery
Daanct12 has quit [Remote host closed the connection]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
camus1 has joined #linux-rockchip
camus has quit [Ping timeout: 265 seconds]
camus1 is now known as camus
<mriesch> mmind00: ok, i'll have a look at that, thanks!
<mriesch> (later though, i need to be in a playful mood for that :-)
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 265 seconds]
kevery1 is now known as kevery
hanetzer has quit [Ping timeout: 265 seconds]
macromorgan has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 265 seconds]
kevery1 is now known as kevery
<macromorgan> mriesch: what video port are you using for DSI? and what is the speed reported in /sys/kernel/debug/clk/clk_summary for its associated dclk_vop?
<macromorgan> for example if you're using VP0, is dclk_vop0 set to (or very close to) your display's pixel clock?
<macromorgan> pixel shifting was happening to me when it was set to 24MHz instead of the correct pixel clock, which was caused by the HDMI port clobbering my clock settings to set things to its 24MHz reference clock
<macromorgan> since your board is an rk3568 you should be able to use vp0 for HDMI and vp1 for DSI without encountering the null pointer dereference I was getting
<mriesch> macromorgan: i am using the combination vp0 <-> hdmi, vp1 <-> mipi dsi. indeed the npe does not occur
<mriesch> i'll have to check the clock rate later, i don't have the board at hand right now
vagrantc has joined #linux-rockchip
<a1batross> how exactly do you set vpll to 500mhz? I parented vp0 from vpll, though by looking at clk_summary, vpll is set to 24
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #linux-rockchip
hanetzer has joined #linux-rockchip
<macromorgan> I add the following (apologies for multi-lines, but IRC...):
<macromorgan> &cru {
<macromorgan> assigned-clocks = <&cru PLL_GPLL>, <&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
<macromorgan> assigned-clock-rates = <1200000000>, <200000000>, <500000000>;
<macromorgan> };
<macromorgan> that GPLL and PPLL rate come from what's already defined, I just didn't want to clobber it with my definition for the VPLL.
macromorgan has joined #linux-rockchip
macromorgan has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
<a1batross> I enabled reparenting for vop0, it's got parented to GPLL and set up desired rate
<a1batross> I don't see them anyway
psydroid2 has joined #linux-rockchip
macromorgan has quit [Read error: Connection reset by peer]
macromorgan_ has joined #linux-rockchip
macromorgan has quit [Client Quit]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery1 is now known as kevery
macromorgan has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery1 is now known as kevery
psydroid2 has quit [Remote host closed the connection]
kevery has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
shailangsa has quit [Ping timeout: 252 seconds]
stikonas has quit [Ping timeout: 268 seconds]